Searched refs:gopt (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/
H A Dq_htb.c240 struct tc_htb_glob *gopt; local
286 gopt = RTA_DATA(tb[TCA_HTB_INIT]);
287 if (RTA_PAYLOAD(tb[TCA_HTB_INIT]) < sizeof(*gopt)) return -1;
290 gopt->rate2quantum,gopt->defcls,gopt->direct_pkts);
292 fprintf(f," ver %d.%d",gopt->version >> 16,gopt->version & 0xffff);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dsch_htb.c1069 struct tc_htb_glob *gopt; local
1073 RTA_PAYLOAD(tb[TCA_HTB_INIT - 1]) < sizeof(*gopt)) {
1077 gopt = RTA_DATA(tb[TCA_HTB_INIT - 1]);
1078 if (gopt->version != HTB_VER >> 16) {
1081 HTB_VER >> 16, HTB_VER & 0xffff, gopt->version);
1105 if ((q->rate2quantum = gopt->rate2quantum) < 1)
1107 q->defcls = gopt->defcls;
1117 struct tc_htb_glob gopt; local
1119 gopt.direct_pkts = q->direct_pkts;
1121 gopt
[all...]

Completed in 54 milliseconds