Searched refs:sopt (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/net/ipv4/ |
D | ip_options.c | 91 const struct ip_options *sopt) in __ip_options_echo() argument 99 if (sopt->optlen == 0) in __ip_options_echo() 105 if (sopt->rr) { in __ip_options_echo() 106 optlen = sptr[sopt->rr+1]; in __ip_options_echo() 107 soffset = sptr[sopt->rr+2]; in __ip_options_echo() 109 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo() 110 if (sopt->rr_needaddr && soffset <= optlen) { in __ip_options_echo() 119 if (sopt->ts) { in __ip_options_echo() 120 optlen = sptr[sopt->ts+1]; in __ip_options_echo() 121 soffset = sptr[sopt->ts+2]; in __ip_options_echo() [all …]
|
D | ip_output.c | 1540 const struct ip_options *sopt, in ip_send_unicast_reply() argument 1554 if (__ip_options_echo(&replyopts.opt.opt, skb, sopt)) in ip_send_unicast_reply()
|
/linux-4.4.14/net/sched/ |
D | sch_gred.c | 339 struct tc_gred_sopt *sopt; in gred_change_table_def() local 345 sopt = nla_data(dps); in gred_change_table_def() 347 if (sopt->DPs > MAX_DPs || sopt->DPs == 0 || sopt->def_DP >= sopt->DPs) in gred_change_table_def() 351 table->DPs = sopt->DPs; in gred_change_table_def() 352 table->def = sopt->def_DP; in gred_change_table_def() 353 table->red_flags = sopt->flags; in gred_change_table_def() 362 if (sopt->grio) { in gred_change_table_def() 528 struct tc_gred_sopt sopt = { in gred_dump() local 538 if (nla_put(skb, TCA_GRED_DPS, sizeof(sopt), &sopt)) in gred_dump()
|
/linux-4.4.14/include/net/ |
D | ip.h | 183 const struct ip_options *sopt, 534 const struct ip_options *sopt);
|
/linux-4.4.14/tools/perf/util/ |
D | parse-options.h | 228 void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag);
|