Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/
Dip_options.c86 struct ip_options *sopt; in ip_options_echo() local
96 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 …]
/linux-2.4.37.9/net/sched/
Dsch_gred.c329 struct tc_gred_sopt *sopt; in gred_change() local
345 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() local
488 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()