Network emulator (NETEM)

modulename: sch_netem.ko

configname: CONFIG_NET_SCH_NETEM

Linux Kernel Configuration
└─>Networking support
└─>Networking options
└─>QoS and/or fair queueing
└─>Network emulator (NETEM)
In linux kernel since version 2.6.12  
Say Y if you want to emulate network delay, loss, and packet
re-ordering. This is often useful to simulate networks when
testing applications or protocols.

To compile this driver as a module, choose M here: the module
will be called sch_netem.

If unsure, say N.

source code: