summaryrefslogtreecommitdiffstats
path: root/share/man/man4/divert.4
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2004-12-17 11:24:33 +0000
committerglebius <glebius@FreeBSD.org>2004-12-17 11:24:33 +0000
commit3335b3bcacd4c123ccdb02b68a032b1655d872e9 (patch)
treeb70940ee26633f1f148eb42bdfec3efc9d632579 /share/man/man4/divert.4
parent6fab81df234a298ebb1225bde680a2160d3c6f94 (diff)
downloadFreeBSD-src-3335b3bcacd4c123ccdb02b68a032b1655d872e9.zip
FreeBSD-src-3335b3bcacd4c123ccdb02b68a032b1655d872e9.tar.gz
Note that send(2) is no longer applicable to divert(4) sockets.
Noticed by: Dmitry Dvoinikov Wording by: cperciva MFC after: 3 days
Diffstat (limited to 'share/man/man4/divert.4')
-rw-r--r--share/man/man4/divert.412
1 files changed, 5 insertions, 7 deletions
diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4
index 420bcc5..30397bf 100644
--- a/share/man/man4/divert.4
+++ b/share/man/man4/divert.4
@@ -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 ,
OpenPOWER on IntegriCloud