summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ip.4
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-06-15 16:48:42 +0000
committerbms <bms@FreeBSD.org>2004-06-15 16:48:42 +0000
commite9a675dec93533b916fcec5ceb92adf7e44b22cb (patch)
treee059890285da857d3aa14ebdef81a0879ad8b4c6 /share/man/man4/ip.4
parent95f803fb726f85cd750e1186046460d636ecbb33 (diff)
downloadFreeBSD-src-e9a675dec93533b916fcec5ceb92adf7e44b22cb.zip
FreeBSD-src-e9a675dec93533b916fcec5ceb92adf7e44b22cb.tar.gz
mdoc(7) police
Submitted by: ru
Diffstat (limited to 'share/man/man4/ip.4')
-rw-r--r--share/man/man4/ip.420
1 files changed, 14 insertions, 6 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 1377941..647ebfa 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -529,13 +529,20 @@ ip->ip_id = 0; /* 0 means kernel set appropriate value */
ip->ip_off = offset;
.Ed
.Pp
-The ip_len and ip_off fields
-.Em must be provided in host byte order .
+The
+.Va ip_len
+and
+.Va ip_off
+fields
+.Em must
+be provided in host byte order .
All other fields must be provided in network byte order.
See
.Xr byteorder 4
for more information on network byte order.
-If the ip_id field is set to 0, then the kernel will choose an
+If the
+.Va ip_id
+field is set to 0 then the kernel will choose an
appopriate value.
If the header source address is set to
.Dv INADDR_ANY ,
@@ -582,12 +589,13 @@ The following errors may occur when attempting to send
datagrams via a
.Dq raw socket
with the
-.Em IP_HDRINCL
+.Dv IP_HDRINCL
option set:
.Bl -tag -width Er
.It Bq Er EINVAL
-The user-supplied ip_len field was not equal to the length of the datagram
-written to the socket.
+The user-supplied
+.Va ip_len
+field was not equal to the length of the datagram written to the socket.
.El
.Sh SEE ALSO
.Xr getsockopt 2 ,
OpenPOWER on IntegriCloud