mirror of https://github.com/mkerrisk/man-pages
packet.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
40df3d0039
commit
ffd045656f
|
@ -327,8 +327,8 @@ Create a memory-mapped ring buffer for asynchronous packet reception.
|
|||
The packet socket reserves a contiguous region of application address
|
||||
space, lays it out into an array of packet slots and copies packets
|
||||
(up to
|
||||
.IR tp_snaplen
|
||||
) into subsequent slots.
|
||||
.IR tp_snaplen )
|
||||
into subsequent slots.
|
||||
Each packet is preceded by a metadata structure similar to
|
||||
.IR tpacket_auxdata .
|
||||
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
|
||||
.BR sendto (2)
|
||||
or
|
||||
.BR sendmsg (2) ,
|
||||
.BR sendmsg (2),
|
||||
then that overrides the socket default.
|
||||
On successful transmission, the socket resets the slot to
|
||||
.BR TP_STATUS_AVAILABLE .
|
||||
|
|
Loading…
Reference in New Issue