Searched refs:sopt (Results 1 – 2 of 2) sorted by relevance
86 struct ip_options *sopt; in ip_options_echo() local96 sopt = &(IPCB(skb)->opt); in ip_options_echo()98 if (sopt->optlen == 0) { in ip_options_echo()111 if (sopt->rr) { in ip_options_echo()112 optlen = sptr[sopt->rr+1]; in ip_options_echo()113 soffset = sptr[sopt->rr+2]; in ip_options_echo()115 memcpy(dptr, sptr+sopt->rr, optlen); in ip_options_echo()116 if (sopt->rr_needaddr && soffset <= optlen) { in ip_options_echo()125 if (sopt->ts) { in ip_options_echo()126 optlen = sptr[sopt->ts+1]; in ip_options_echo()[all …]
329 struct tc_gred_sopt *sopt; in gred_change() local345 sopt = RTA_DATA(tb2[TCA_GRED_DPS-1]); in gred_change()346 table->DPs=sopt->DPs; in gred_change()347 table->def=sopt->def_DP; in gred_change()348 table->grio=sopt->grio; in gred_change()474 struct tc_gred_sopt *sopt; in gred_init() local488 sopt = RTA_DATA(tb2[TCA_GRED_DPS-1]); in gred_init()489 table->DPs=sopt->DPs; in gred_init()490 table->def=sopt->def_DP; in gred_init()491 table->grio=sopt->grio; in gred_init()