Lines Matching full:handle

19 	local handle=$1; shift
23 h=$(qdisc_stats_get $h1 "$handle" .handle)
24 [[ $h == '"'$handle'"' ]]
25 check_err $? "Qdisc with handle $handle does not exist"
27 offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
29 check_fail $? "Qdisc with handle $handle offloaded, but should not be"
34 local handle=$1; shift
36 if [[ ! -z $handle ]]; then
37 local offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded)
39 check_err $? "Qdisc with handle $handle not offloaded"
54 local handle=$1; shift
57 tc qdisc add dev $h1 $locus handle $handle \
65 local handle=$1; shift
68 tc qdisc add dev $h1 $locus handle $handle \
76 local handle=$1; shift
79 tc qdisc add dev $h1 $locus handle $handle \
87 local handle=$1; shift
90 tc qdisc add dev $h1 $locus handle $handle \
98 local handle=$1; shift
101 tc qdisc add dev $h1 $locus handle $handle pfifo limit 100K
108 local handle=$1; shift
111 tc qdisc add dev $h1 $locus handle $handle bfifo limit 100K
118 local handle=$1; shift
121 tc qdisc add dev $h1 $locus handle $handle drr
128 local handle=$1; shift
131 local next_handle=$((handle * 2))
144 with_$kind $(printf %x: $handle) "$locus" \
145 with_qdiscs $next_handle $handle "$@"
166 local handle=$1; shift
170 with_qdiscs $handle $parent "$@" -- check_all_offloaded
176 local handle=$1; shift
183 with_qdiscs $handle $parent "$@" -- check_not_offloaded
189 local handle=$1; shift
202 do_test_offloaded $handle $parent \
210 do_test_nooffload $handle $parent $cont red tbf $leaf
211 do_test_nooffload $handle $parent $cont tbf red $leaf
214 do_test_nooffload $handle $parent $cont $leaf
218 do_test_nooffload $handle $parent drr