Lines Matching refs:DEVICE
54 # - faster initial scanning of DEVICE fields
208 # DEVICE=<ifname>,<bandwidth>[,<weight>] mandatory
209 # DEVICE=eth0,10Mbit,1Mbit
220 # need to set DEVICE=<ifname>.
426 # DEVICE=eth0,10Mbit,1Mbit
452 # DEVICE=eth1,10Mbit,1Mbit
461 # DEVICE=eth0,10Mbit,1Mbit
500 CBQ_WORDS="DEVICE|RATE|WEIGHT|PRIO|PARENT|LEAF|BOUNDED|ISOLATED"
587 ### Gather all DEVICE fields from $1/cbq-*
590 s/[[:space:]]//g; /^DEVICE=[^,]*,[^,]*\(,[^,]*\)\?/ \
593 cbq_failure "no DEVICE field found in $1/cbq-*!"
595 ### Check for different DEVICE fields for the same device
598 cbq_failure "different DEVICE fields for single device!\n$DEVFIELDS"
629 DEVICE=${DEVICE%%,*}
630 [ -z "$DEVICE" ] && cbq_fail_off "missing DEVICE field in $2!"
632 BANDWIDTH=`echo "$DEVFIELDS"| sed -n "/^$DEVICE,/ \
743 cbq_failure "please set up the DEVICE fields properly!"
771 tc class add dev $DEVICE parent 1:$PARENT classid 1:$CLASS cbq \
774 cbq_fail_off "failed to add class $CLASS with parent $PARENT on $DEVICE!"
778 tc qdisc add dev $DEVICE parent 1:$CLASS handle $CLASS tbf \
781 tc qdisc add dev $DEVICE parent 1:$CLASS handle $CLASS sfq \
789 tc filter add dev $DEVICE parent 1:0 protocol ip \
803 tc filter add dev $DEVICE parent 1:0 protocol ip \
847 tc filter add dev $DEVICE parent 1:0 protocol ip \
918 RATE_NOW=`tc class show dev $DEVICE| sed -n \
945 tc class replace dev $DEVICE classid 1:$CLASS cbq \
951 tc qdisc replace dev $DEVICE handle $CLASS tbf \
955 cbq_message "$TIME_NOW: class $CLASS on $DEVICE changed rate ($RATE_NOW -> $NEW_RATE)"