mdoc(7) police
Submitted by: ru
This commit is contained in:
parent
95f803fb72
commit
e9a675dec9
@ -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 ,
|
||||
|
@ -144,7 +144,7 @@ command appeared in
|
||||
.Bx 4.2 .
|
||||
.Pp
|
||||
In
|
||||
.Fx 5.2 ,
|
||||
.Fx 5.3 ,
|
||||
the default behaviour of
|
||||
.Nm
|
||||
was changed to treat local-to-local talk requests as originating
|
||||
|
Loading…
x
Reference in New Issue
Block a user