]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PKT_SCHED] netem: packet corruption option
authorStephen Hemminger <shemminger@osdl.org>
Thu, 22 Dec 2005 03:03:44 +0000 (19:03 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 3 Jan 2006 21:11:05 +0000 (13:11 -0800)
commitc865e5d99e25a171e8262fc0f7ba608568633c64
tree5d8cd6a5a4623d3497f2eb0c14e80511f5b2ef73
parent8cbb512e50fb702b5b1d444f76ebcdb53577b2ec
[PKT_SCHED] netem: packet corruption option

Here is a new feature for netem in 2.6.16. It adds the ability to
randomly corrupt packets with netem. A version was done by
Hagen Paul Pfeifer, but I redid it to handle the cases of backwards
compatibility with netlink interface and presence of hardware checksum
offload. It is useful for testing hardware offload in devices.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pkt_sched.h
net/sched/sch_netem.c