summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/process.h
diff options
context:
space:
mode:
authorMichael Brown2010-07-20 21:52:08 +0200
committerMichael Brown2010-07-20 21:58:10 +0200
commit9f2e76ea614a77e8fd314065f2019bb4d5c8fe60 (patch)
treea0323b6471153a60af39e403559af1816dab49e4 /src/include/ipxe/process.h
parent[virtio] Replace virtio-net with native iPXE driver (diff)
downloadipxe-9f2e76ea614a77e8fd314065f2019bb4d5c8fe60.tar.gz
ipxe-9f2e76ea614a77e8fd314065f2019bb4d5c8fe60.tar.xz
ipxe-9f2e76ea614a77e8fd314065f2019bb4d5c8fe60.zip
[netdevice] Provide a test mechanism for discarding packets at random
Setting NETDEV_DISCARD_RATE to a non-zero value will cause one in every NETDEV_DISCARD_RATE packets to be discarded at random on both the transmit and receive datapaths, allowing the robustness of upper-layer network protocols to be tested even in simulation environments that provide wholly reliable packet transmission. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/process.h')
0 files changed, 0 insertions, 0 deletions