Displaying 1 result from an estimated 1 matches for "hnum".
Did you mean:
enum
2004 Jan 19
0
problem with wrr+prio
...sid 8000:1 htb \
rate ${RATE}kbit prio 2
# add wrr for correct direction, matching ip, # classes, no proxy
# remap
tc qdisc add dev $DEV parent 8000:1 handle 8001: \
wrr $WRR_DIRECTION ip $WRR_MAX_CLASSES 0
declare -i NUM=$WRR_MAX_CLASSES;
while [ $NUM -ge 1 ]; do
HNUM=$(printf %X $NUM)
tc qdisc add dev $DEV parent 8001:$HNUM handle $HNUM: prio
NUM=$NUM-1
done
tc class add dev $DEV parent 8000:0 classid 8000:2 htb prio 1 \
rate ${RATE}kbit
tc filter add dev $DEV parent 8000: protocol ip pref 10 \
u32 match ip src $LOCAL_ADDR flow...