History log of /external/iproute2/tc/q_netem.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
14a1c164d12e32415acc44ef566fcf52ff4dd113 20-Jan-2012 Vijay Subramanian <subramanian.vijay@gmail.com> netem: Fail cleanly if user input is wrong

(Resending patch since it looks like my earlier mail did not make it to
netdev).

netem reordering requires that the delay parameter be given. Currently, if no
delay is given, tc prints the error message but still installs the qdisc. Fix
this by printing the usage and failing cleanly.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
/external/iproute2/tc/q_netem.c
6b8dc4deea219d6c4392707bb647cc49cdc46da7 19-Jan-2012 Hagen Paul Pfeifer <hagen@jauu.net> tc: netem rate shaping and cell extension

This patch add rate shaping as well as cell support. The link-rate can be
specified via rate options. Three optional arguments control the cell
knobs: packet-overhead, cell-size, cell-overhead. To ratelimit eth0 root
queue to 5kbit/s, with a 20 byte packet overhead, 100 byte cell size and
a 5 byte per cell overhead:

tc qdisc add dev eth0 root netem rate 5kbit 20 100 5

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
/external/iproute2/tc/q_netem.c
d060de7f8da283fcd410b16f687cd6b33382c316 24-Dec-2011 Eric Dumazet <eric.dumazet@gmail.com> netem: fix a typo in explain()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
/external/iproute2/tc/q_netem.c
3c7950af598beab378a291ee0540da438978a4b2 23-Dec-2011 Stephen Hemminger <shemminger@vyatta.com> netem: add support for 4 state and GE loss model

Incorporate support for new loss models.
/external/iproute2/tc/q_netem.c
fcbd0165fcf6d0efdfb02220ac77342ce0c0e224 23-Nov-2011 Thomas Jarosch <thomas.jarosch@intra2net.com> tc: Use correct variable type for get_distribution() result

get_distribution() returns an int.

cppcheck reported:
[tc/q_netem.c:243]: (style) Checking if unsigned variable 'dist_size' is less than zero.

The mismatch actually rendered the error checking
after get_distribution() ineffective.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
/external/iproute2/tc/q_netem.c
59a935d2045b233539a2d0be00310d355a9e0ebd 23-Mar-2011 Stephen Hemminger <shemminger@vyatta.com> Update email address of netem
/external/iproute2/tc/q_netem.c
8d8de1139c95d79bc1b5ac1ec301a30ef5e6ee50 12-Jan-2010 Florian Westphal <fw@strlen.de> tc: remove stale code

remove unused #define and "ok" statements.

Signed-off-by: Florian Westphal <fwestphal@astaro.com>
/external/iproute2/tc/q_netem.c
985f4578c6f14bb85100613776c36cecd26e0d2b 26-Dec-2009 Stephen Hemminger <stephen.hemminger@vyatta.com> Fix warning about strtod() return value
/external/iproute2/tc/q_netem.c
c1b81cb5fe92aa938e52071c89e1c8812f6d75e3 13-Dec-2007 Stephen Hemminger <shemminger@linux-foundation.org> netem potential dist table overflow

Fix possible stack overflow when given distribution table that is
too large.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_netem.c
aa27f88c8444ad6a87ebb563d6ffacb4fe95d87c 21-Jun-2007 Stephen Hemminger <shemminger@linux-foundation.org> Add TC_LIB_DIR environment variable.

Don't hardcode /usr/lib/tc as a path

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_netem.c
bd29e35d9de9dc0b9015dd3a178ee2c716ce8301 04-Mar-2007 Patrick McHardy <kaber@trash.net> Add sprint_ticks() function and use in CBQ

[IPROUTE]: Add sprint_ticks() function and use in CBQ

Add helper function to print ticks to avoid assumptions about clock
resolution in CBQ.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_netem.c
8f34caafbdbc8f87d228d577872591e138caadb1 04-Mar-2007 Patrick McHardy <kaber@trash.net> Replace "usec" by "time" in function names

[IPROUTE]: Replace "usec" by "time" in function names

Rename functions containing "usec" since they don't necessarily return
usec units anymore.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_netem.c
40076f622e0aacb2b792d3ac1b5d12aa97c4da9c 10-Jan-2007 Stephen Hemminger <shemminger@osdl.org> netem parameters to change command

When using tc to change netem attributes, only those values
on the command line should be passed down, others should
remain unchanged.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/q_netem.c
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/q_netem.c
fa56513034c839e444ab7ca986ddb178dece86c7 19-Oct-2006 Stephen Hemminger <shemminger@osdl.org> Trap possible overflow in usec values to netem
If user asks for large usec value it could overflow 32 bits.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/q_netem.c
e9bc3c40d0c96fff2236b404dc93de511ac1a301 10-Dec-2005 shemminger <shemminger> Always send reorder message (for compatiablity)
and parse response correctly with netem.
/external/iproute2/tc/q_netem.c
a31a5d5904dd35d6a5839e66845f236e3284bb45 10-Dec-2005 shemminger <shemminger> Add corrupt option for netem
/external/iproute2/tc/q_netem.c
ea8fc1047d2b88ae1d123e3f79dbffbc2a3fa70c 22-Jun-2005 shemminger <shemminger> Netem support for reorder
Update include files and add support for TCP_CONG
/external/iproute2/tc/q_netem.c
1d2d1cb52255b01a764aa59cd17876cf87685f34 10-Mar-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch thomas.1

(Logical change 1.147)
/external/iproute2/tc/q_netem.c
fb9b1d0f6a9f355bceae435ea43f1c8f3635b2df 07-Feb-2005 osdl.net!shemminger <osdl.net!shemminger> fix potential memory corruption

(Logical change 1.136)
/external/iproute2/tc/q_netem.c
1a1d22a72284acf43f7aff5210db018076e66194 18-Jan-2005 17!tgraf <17!tgraf> Use NLMSG_TAIL

(Logical change 1.127)
/external/iproute2/tc/q_netem.c
95812b56a5a66e7e9a21744cfe8bc0bb9791ea98 28-Sep-2004 net[shemminger]!kaber <net[shemminger]!kaber> : prevent tc crashes

(Logical change 1.81)
/external/iproute2/tc/q_netem.c
f2f99e2eefdbd9cb6a750b19a7b3036db351b983 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> no longer need xstats stub

(Logical change 1.77)
/external/iproute2/tc/q_netem.c
2e21655e39099e6a9645483bdeeebbd9e24e2345 30-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Use getline() and nested attributes.

(Logical change 1.73)
/external/iproute2/tc/q_netem.c
b7be3d0cd2bd699c1bdaef960e7c7bf3ad5036d3 23-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Cleanup cli for new version.

2004/08/09 16:46:47-07:00 osdl.net!shemminger
Add distribution table loading (undebugged as yet).

(Logical change 1.71)
/external/iproute2/tc/q_netem.c
025dc69a25f016c3035212517bae481dafbb2651 09-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Fix errors in netem scheduler when using PSCHED_CLOCK_CPU,
correct value before passing to kernel.

(Logical change 1.63)
/external/iproute2/tc/q_netem.c
31fa60e00f6299328c4ae13a543c2e764b9379b7 12-Jul-2004 osdl.net!shemminger <osdl.net!shemminger> Replace rate with jitter

(Logical change 1.55)
/external/iproute2/tc/q_netem.c
7b9868343a36bdf330a7d73d5da9321bde44fec4 02-Jul-2004 osdl.net!shemminger <osdl.net!shemminger> Fix netem display of rate and limit.

(Logical change 1.50)
/external/iproute2/tc/q_netem.c
ffb79d06915fe3b1ee5d2e4e37c1db67c3c06cdf 01-Jul-2004 osdl.net!shemminger <osdl.net!shemminger> Add new rate and duplicate arguments.

(Logical change 1.41)
/external/iproute2/tc/q_netem.c
309a4c90a5d4f648653de32807cd4146763913e9 28-Jun-2004 osdl.net!shemminger <osdl.net!shemminger> Rename netsim to netem in latest code.

2004/06/28 13:39:57-07:00 osdl.net!shemminger
Rename: tc/q_netsim.c -> tc/q_netem.c

(Logical change 1.39)
/external/iproute2/tc/q_netem.c
d3bc14fba87a0cab86d91126b869a3620fd9721a 28-Jun-2004 osdl.net!shemminger <osdl.net!shemminger> Initial revision
/external/iproute2/tc/q_netem.c