packet.7: Minor changes to Daniel Borkmann's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-23 08:34:33 +01:00
parent 2203837f14
commit a4edbc603b
1 changed files with 8 additions and 5 deletions

View File

@ -437,11 +437,14 @@ integer option before creating the ring.
By default, packets sent through packet sockets pass through the kernel's By default, packets sent through packet sockets pass through the kernel's
qdisc (traffic control) layer, which is fine for the vast majority of use qdisc (traffic control) layer, which is fine for the vast majority of use
cases. cases.
For traffic generator appliances using packet socket that intend to flood For traffic generator appliances using packet sockets
the network with brute force i.e., to test devices under load in a similar that intend to brute-force flood the network\(emfor example,
fashion to pktgen, this layer can be bypassed by setting this integer option to test devices under load in a similar
to 1. Side-effects are that packet buffering in qdisc layer is avoided fashion to pktgen\(emthis layer can be bypassed by setting
which will lead to increased drops when net device transmit queues are busy; this integer option to 1.
A side-effects is that packet buffering in the qdisc layer is avoided,
which will lead to increased drops when network
device transmit queues are busy;
therefore, use at your own risk. therefore, use at your own risk.
.SS Ioctls .SS Ioctls
.B SIOCGSTAMP .B SIOCGSTAMP