Home | History | Annotate | Download | only in examples

Lines Matching refs:RATE

107 #	  - PEAK parameter for setting TBF's burst peak rate
126 # differentiate RATE throughout the whole day. Time overlapping is
135 # So, between 00:00 and 19:00 the RATE will be 64Kbit.
223 # RATE=<speed> mandatory
224 # RATE=5Mbit
227 # shaped to conform to specified rate. You can use Kbit, Mbit or bps,
234 # Tuning parameter that should be proportional to RATE. As a rule
235 # of thumb, use WEIGHT ~= RATE / 10.
300 # Maximal peak rate for short-term burst traffic. This allows you
301 # to control the absolute peak rate the class can send at, because
302 # single TBF that allows 256Kbit/s would of course allow rate of
406 # TIME=[<dow>,<dow>, ...,<dow>/]<from>-<till>;<rate>/<weight>[/<peak>]
413 # the times overlap, last match is taken. The fields <rate>, <weight>
414 # and <peak> correspond to parameters RATE, WEIGHT and PEAK (which
426 # RATE=128Kbit
434 # processed with priority 5 and shaped to rate of 128Kbit.
452 # RATE=28Kbit
461 # RATE=128Kbit
499 CBQ_WORDS="DEVICE|RATE|WEIGHT|PRIO|PARENT|LEAF|BOUNDED|ISOLATED"
612 RATE=""; WEIGHT=""; PARENT=""; PRIO=5
623 ### Require RATE/WEIGHT
624 [ -z "$RATE" -o -z "$WEIGHT" ] &&
625 cbq_fail_off "missing RATE or WEIGHT in $2!"
771 bandwidth $BANDWIDTH rate $RATE weight $WEIGHT prio $PRIO \
778 rate $RATE buffer $BUFFER limit $LIMIT mtu $MTU $PEAK
916 ### Get current RATE of CBQ class
918 "/cbq 1:$CLASS / { s/.*rate //; s/ .*//; p; q; }"`
924 ### Check if there is any change in class RATE
932 ### Match not found, reset to default RATE if necessary
933 elif [ "$RATE_NOW" != "$RATE" ]; then
935 NEW_RATE="$RATE"
945 bandwidth $BANDWIDTH rate $NEW_RATE weight $NEW_WGHT prio $PRIO \
951 rate $NEW_RATE buffer $BUFFER limit $LIMIT mtu $MTU $NEW_PEAK
954 cbq_message "$TIME_NOW: class $CLASS on $DEVICE changed rate ($RATE_NOW -> $NEW_RATE)"