Searched defs:sopt (Results 1 - 3 of 3) sorted by relevance

/net/ipv4/
H A Dip_options.c82 * Provided (sopt, skb) points to received options,
91 const struct ip_options *sopt)
99 if (sopt->optlen == 0)
105 if (sopt->rr) {
106 optlen = sptr[sopt->rr+1];
107 soffset = sptr[sopt->rr+2];
109 memcpy(dptr, sptr+sopt->rr, optlen);
110 if (sopt->rr_needaddr && soffset <= optlen) {
119 if (sopt->ts) {
120 optlen = sptr[sopt
90 __ip_options_echo(struct ip_options *dopt, struct sk_buff *skb, const struct ip_options *sopt) argument
[all...]
H A Dip_output.c1526 const struct ip_options *sopt,
1540 if (__ip_options_echo(&replyopts.opt.opt, skb, sopt))
1525 ip_send_unicast_reply(struct net *net, struct sk_buff *skb, const struct ip_options *sopt, __be32 daddr, __be32 saddr, const struct ip_reply_arg *arg, unsigned int len) argument
/net/sched/
H A Dsch_gred.c338 struct tc_gred_sopt *sopt; local
344 sopt = nla_data(dps);
346 if (sopt->DPs > MAX_DPs || sopt->DPs == 0 || sopt->def_DP >= sopt->DPs)
350 table->DPs = sopt->DPs;
351 table->def = sopt->def_DP;
352 table->red_flags = sopt->flags;
361 if (sopt
513 struct tc_gred_sopt sopt = { local
[all...]

Completed in 53 milliseconds