packet.7: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
David Prévot 2014-01-30 12:08:02 -04:00 committed by Michael Kerrisk
parent 40df3d0039
commit ffd045656f
1 changed files with 3 additions and 3 deletions

View File

@ -327,8 +327,8 @@ Create a memory-mapped ring buffer for asynchronous packet reception.
The packet socket reserves a contiguous region of application address The packet socket reserves a contiguous region of application address
space, lays it out into an array of packet slots and copies packets space, lays it out into an array of packet slots and copies packets
(up to (up to
.IR tp_snaplen .IR tp_snaplen )
) into subsequent slots. into subsequent slots.
Each packet is preceded by a metadata structure similar to Each packet is preceded by a metadata structure similar to
.IR tpacket_auxdata . .IR tpacket_auxdata .
The protocol fields encode the offset to the data The protocol fields encode the offset to the data
@ -409,7 +409,7 @@ fields of this call are ignored.
If an address is passed using If an address is passed using
.BR sendto (2) .BR sendto (2)
or or
.BR sendmsg (2) , .BR sendmsg (2),
then that overrides the socket default. then that overrides the socket default.
On successful transmission, the socket resets the slot to On successful transmission, the socket resets the slot to
.BR TP_STATUS_AVAILABLE . .BR TP_STATUS_AVAILABLE .