2 # Copyright (C) 2010 VideoLAN
4 #----------------------------------------------------------------------------
5 # Traffic shaping for HTTP Live Streaming client tests.
6 #----------------------------------------------------------------------------
8 #----------------------------------------------------------------------------
9 #qdisc pfifo_fast 0: root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
21 function traffic_shaping() {
34 # tc qdisc add dev eth2 root tbf rate 50kbit burst 2kbit latency 70ms peakrate 52kbit mtu 1500
37 if ! test "${RESULT}" = "0"; then