Home | History | Annotate | Download | only in examples

Lines Matching refs:WEIGHT

208 # DEVICE=<ifname>,<bandwidth>[,<weight>]	mandatory
215 # <weight> is tuning parameter that should be proportional to
216 # <bandwidth>. As a rule of thumb: <weight> = <bandwidth> / 10
219 # <bandwidth> [and <weight>] only once, therefore in other files you only
232 # WEIGHT=<speed> mandatory
233 # WEIGHT=500Kbit
236 # of thumb, use WEIGHT ~= RATE / 10.
407 # TIME=[<dow>,<dow>, ...,<dow>/]<from>-<till>;<rate>/<weight>[/<peak>]
414 # the times overlap, last match is taken. The fields <rate>, <weight>
415 # and <peak> correspond to parameters RATE, WEIGHT and PEAK (which
428 # WEIGHT=10Kbit
454 # WEIGHT=2Kbit
463 # WEIGHT=10Kbit
500 CBQ_WORDS="DEVICE|RATE|WEIGHT|PRIO|PARENT|LEAF|BOUNDED|ISOLATED"
613 RATE=""; WEIGHT=""; PARENT=""; PRIO=5
624 ### Require RATE/WEIGHT
625 [ -z "$RATE" -o -z "$WEIGHT" ] &&
626 cbq_fail_off "missing RATE or WEIGHT in $2!"
735 ### Retrieve device bandwidth and, optionally, weight
758 ### Set weight of the root class if set
760 tc class change dev $dev root cbq weight $DEVWGHT allot 1514
772 bandwidth $BANDWIDTH rate $RATE weight $WEIGHT prio $PRIO \
935 NEW_WGHT="$WEIGHT"
946 bandwidth $BANDWIDTH rate $NEW_RATE weight