sopt 280 include/net/ip.h const struct ip_options *sopt, sopt 701 include/net/ip.h struct sk_buff *skb, const struct ip_options *sopt); sopt 91 net/ipv4/ip_options.c struct sk_buff *skb, const struct ip_options *sopt) sopt 99 net/ipv4/ip_options.c if (sopt->optlen == 0) sopt 105 net/ipv4/ip_options.c if (sopt->rr) { sopt 106 net/ipv4/ip_options.c optlen = sptr[sopt->rr+1]; sopt 107 net/ipv4/ip_options.c soffset = sptr[sopt->rr+2]; sopt 109 net/ipv4/ip_options.c memcpy(dptr, sptr+sopt->rr, optlen); sopt 110 net/ipv4/ip_options.c if (sopt->rr_needaddr && soffset <= optlen) { sopt 119 net/ipv4/ip_options.c if (sopt->ts) { sopt 120 net/ipv4/ip_options.c optlen = sptr[sopt->ts+1]; sopt 121 net/ipv4/ip_options.c soffset = sptr[sopt->ts+2]; sopt 123 net/ipv4/ip_options.c memcpy(dptr, sptr+sopt->ts, optlen); sopt 125 net/ipv4/ip_options.c if (sopt->ts_needaddr) { sopt 131 net/ipv4/ip_options.c if (sopt->ts_needtime) { sopt 156 net/ipv4/ip_options.c if (sopt->srr) { sopt 157 net/ipv4/ip_options.c unsigned char *start = sptr+sopt->srr; sopt 185 net/ipv4/ip_options.c dopt->is_strictroute = sopt->is_strictroute; sopt 188 net/ipv4/ip_options.c if (sopt->cipso) { sopt 189 net/ipv4/ip_options.c optlen = sptr[sopt->cipso+1]; sopt 191 net/ipv4/ip_options.c memcpy(dptr, sptr+sopt->cipso, optlen); sopt 1657 net/ipv4/ip_output.c const struct ip_options *sopt, sopt 1671 net/ipv4/ip_output.c if (__ip_options_echo(net, &replyopts.opt.opt, skb, sopt)) sopt 405 net/sched/sch_gred.c struct tc_gred_sopt *sopt; sopt 412 net/sched/sch_gred.c sopt = nla_data(dps); sopt 414 net/sched/sch_gred.c if (sopt->DPs > MAX_DPs) { sopt 418 net/sched/sch_gred.c if (sopt->DPs == 0) { sopt 423 net/sched/sch_gred.c if (sopt->def_DP >= sopt->DPs) { sopt 427 net/sched/sch_gred.c if (sopt->flags && gred_per_vq_red_flags_used(table)) { sopt 433 net/sched/sch_gred.c table->DPs = sopt->DPs; sopt 434 net/sched/sch_gred.c table->def = sopt->def_DP; sopt 435 net/sched/sch_gred.c red_flags_changed = table->red_flags != sopt->flags; sopt 436 net/sched/sch_gred.c table->red_flags = sopt->flags; sopt 445 net/sched/sch_gred.c if (sopt->grio) { sopt 763 net/sched/sch_gred.c struct tc_gred_sopt sopt = { sopt 776 net/sched/sch_gred.c if (nla_put(skb, TCA_GRED_DPS, sizeof(sopt), &sopt)) sopt 240 tools/lib/subcmd/parse-options.h void set_option_flag(struct option *opts, int sopt, const char *lopt, int flag);