Note that send(2) is no longer applicable to divert(4) sockets.
Noticed by: Dmitry Dvoinikov Wording by: cperciva MFC after: 3 days
This commit is contained in:
parent
6fab81df23
commit
3335b3bcac
@ -57,13 +57,11 @@ if it fits.
|
||||
.Sh WRITING PACKETS
|
||||
Writing to a divert socket is similar to writing to a raw IP socket;
|
||||
the packet is injected ``as is'' into the normal kernel IP packet
|
||||
processing and minimal error checking is done.
|
||||
Packets are written as either incoming or outgoing:
|
||||
if
|
||||
.Xr write 2
|
||||
or
|
||||
.Xr send 2
|
||||
is used to deliver the packet, or if
|
||||
processing using
|
||||
.Xr sendto 2
|
||||
and minimal error checking is done.
|
||||
Packets are distinguished as either incoming or outgoing.
|
||||
If
|
||||
.Xr sendto 2
|
||||
is used with a destination IP address of
|
||||
.Dv INADDR_ANY ,
|
||||
|
Loading…
Reference in New Issue
Block a user