Lines Matching refs:TC
30 $TC = "/usr/src/iproute2-current/tc/tc";
53 print "$TC qdisc add $DEV handle 1:0 root dsmark indices 64 set_tc_index\n";
54 print "$TC filter add $DEV parent 1:0 protocol ip prio 1 tcindex mask 0xfc " .
57 print "$TC qdisc add $DEV parent 1:0 handle 2:0 cbq bandwidth $linerate ".
59 print "$TC filter add $DEV parent 2:0 protocol ip prio 1 tcindex ".
64 print "$TC class add $DEV parent 2:0 classid 2:$class cbq ".
67 print "$TC filter add $DEV parent 2:0 protocol ip prio 1 handle $class ".
69 print "$TC qdisc add $DEV parent 2:$class gred setup DPs 3 default 2 ".
78 print "$TC filter add $DEV parent 1:0 protocol ip prio 1 ".
83 print "$TC qdisc change $DEV parent 2:$class gred limit 60KB min 15KB ".
88 print "$TC qdisc change $DEV parent 2:$class gred limit 60KB min 15KB ".
97 print "$TC filter add $DEV parent 1:0 protocol ip prio 2 ".
99 print "$TC class add $DEV parent 2:0 classid 2:$beclass cbq ".
102 print "$TC filter add $DEV parent 2:0 protocol ip prio 1 handle 0 tcindex ".
104 print "$TC qdisc add $DEV parent 2:5 red limit 60KB min 15KB max 45KB ".