Home
last modified time | relevance | path

Searched refs:sopt (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dip_options.c82 * Provided (sopt, skb) points to received options,
91 struct sk_buff *skb, const struct ip_options *sopt) in __ip_options_echo()
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 in __ip_options_echo()
90 __ip_options_echo(struct net *net, struct ip_options *dopt, struct sk_buff *skb, const struct ip_options *sopt) __ip_options_echo() argument
[all...]
H A Dip_output.c1685 const struct ip_options *sopt, in ip_send_unicast_reply()
1699 if (__ip_options_echo(net, &replyopts.opt.opt, skb, sopt)) in ip_send_unicast_reply()
1684 ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb, const struct ip_options *sopt, __be32 daddr, __be32 saddr, const struct ip_reply_arg *arg, unsigned int len, u64 transmit_time) ip_send_unicast_reply() argument
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_options.c69 * Provided (sopt, skb) points to received options,
78 struct sk_buff *skb, const struct ip_options *sopt) in __ip_options_echo()
86 if (sopt->optlen == 0) in __ip_options_echo()
92 if (sopt->rr) { in __ip_options_echo()
93 optlen = sptr[sopt->rr+1]; in __ip_options_echo()
94 soffset = sptr[sopt->rr+2]; in __ip_options_echo()
96 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo()
97 if (sopt->rr_needaddr && soffset <= optlen) { in __ip_options_echo()
106 if (sopt->ts) { in __ip_options_echo()
107 optlen = sptr[sopt in __ip_options_echo()
77 __ip_options_echo(struct net *net, struct ip_options *dopt, struct sk_buff *skb, const struct ip_options *sopt) __ip_options_echo() argument
[all...]
H A Dip_output.c1581 const struct ip_options *sopt, in ip_send_unicast_reply()
1595 if (__ip_options_echo(net, &replyopts.opt.opt, skb, sopt)) in ip_send_unicast_reply()
1580 ip_send_unicast_reply(struct sock *sk, struct sk_buff *skb, const struct ip_options *sopt, __be32 daddr, __be32 saddr, const struct ip_reply_arg *arg, unsigned int len, u64 transmit_time, u32 txhash) ip_send_unicast_reply() argument
/kernel/linux/linux-5.10/net/sched/
H A 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 in gred_change_table_def()
763 struct tc_gred_sopt sopt = { gred_dump() local
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_gred.c412 struct tc_gred_sopt *sopt; in gred_change_table_def() local
419 sopt = nla_data(dps); in gred_change_table_def()
421 if (sopt->DPs > MAX_DPs) { in gred_change_table_def()
425 if (sopt->DPs == 0) { in gred_change_table_def()
430 if (sopt->def_DP >= sopt->DPs) { in gred_change_table_def()
434 if (sopt->flags && gred_per_vq_red_flags_used(table)) { in gred_change_table_def()
440 table->DPs = sopt->DPs; in gred_change_table_def()
441 table->def = sopt->def_DP; in gred_change_table_def()
442 red_flags_changed = table->red_flags != sopt in gred_change_table_def()
774 struct tc_gred_sopt sopt = { gred_dump() local
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dip.h282 const struct ip_options *sopt,
711 struct sk_buff *skb, const struct ip_options *sopt);
/kernel/linux/linux-6.6/include/net/
H A Dip.h289 const struct ip_options *sopt,
739 struct sk_buff *skb, const struct ip_options *sopt);
/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dparse-options.h242 void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag);
/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dparse-options.h239 void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag);

Completed in 11 milliseconds