Home
last modified time | relevance | path

Searched refs:sopt (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dip_options.c91 struct sk_buff *skb, 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 …]
Dip_output.c1675 const struct ip_options *sopt, in ip_send_unicast_reply() argument
1689 if (__ip_options_echo(net, &replyopts.opt.opt, skb, sopt)) in ip_send_unicast_reply()
/kernel/linux/linux-5.10/net/sched/
Dsch_gred.c405 struct tc_gred_sopt *sopt; in gred_change_table_def() local
412 sopt = nla_data(dps); in gred_change_table_def()
414 if (sopt->DPs > MAX_DPs) { in gred_change_table_def()
418 if (sopt->DPs == 0) { in gred_change_table_def()
423 if (sopt->def_DP >= sopt->DPs) { in gred_change_table_def()
427 if (sopt->flags && gred_per_vq_red_flags_used(table)) { in gred_change_table_def()
433 table->DPs = sopt->DPs; in gred_change_table_def()
434 table->def = sopt->def_DP; in gred_change_table_def()
435 red_flags_changed = table->red_flags != sopt->flags; in gred_change_table_def()
436 table->red_flags = sopt->flags; in gred_change_table_def()
[all …]
/kernel/linux/linux-5.10/include/net/
Dip.h279 const struct ip_options *sopt,
708 struct sk_buff *skb, const struct ip_options *sopt);
/kernel/linux/linux-5.10/tools/lib/subcmd/
Dparse-options.h242 void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag);