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:
Gleb Smirnoff 2004-12-17 11:24:33 +00:00
parent d6fc8c994a
commit 85432d4065

View File

@ -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 ,