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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dsch_htb.c71 #define HTB_HSIZE 16 /* classid hash size */ macro
72 #define HTB_EWMAC 2 /* rate average over HTB_EWMAC*HTB_HSIZE sec */
170 struct hlist_head hash[HTB_HSIZE]; /* hashed by classid */
209 /* compute hash of size HTB_HSIZE for given handle */
212 #if HTB_HSIZE != 16
213 #error "Declare new hash for your HTB_HSIZE"
697 if (++q->recmp_bucket >= HTB_HSIZE)
1037 for (i = 0; i < HTB_HSIZE; i++) {
1086 for (i = 0; i < HTB_HSIZE; i++)
1179 cl->rate_est.bps = cl->rate_bytes / (HTB_EWMAC * HTB_HSIZE);
[all...]

Completed in 107 milliseconds