Displaying 1 result from an estimated 1 matches for "nb_class".
Did you mean:
fb_class
2006 Sep 21
0
layer7 http
...class add dev $INTER_OUT parent 1: classid 1:1 htb rate $LINK_RATE_UP
$TC_BIN filter add dev $INTER_OUT parent 1:0 protocol all u32 match u32 0 0 classid 1:1
## BuildInChains
$TC_BIN class add dev $INTER_OUT parent 1:1 classid 1:11 htb rate $LINK_RATE_UP ceil $LINK_RATE_UP quantum 1532
NUM_file=12
NB_class=$NB_file
while [ $NB_class -ge 0 ]
do
PRIO=$((5-$NB_class))
case $NUM_file in
12)
RATE_PIPE=$RATE_12
;;
13)
RATE_PIPE=$RATE_13
;;
14)
RATE_PIPE=$RATE_14
;;
esac
$TC_BIN class add dev $INTER_OUT parent 1:11 classid 1:$NUM_file ht...