diff options
-rw-r--r-- | share/man/man4/ip.4 | 20 | ||||
-rw-r--r-- | usr.bin/talk/talk.1 | 2 |
2 files changed, 15 insertions, 7 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 , diff --git a/usr.bin/talk/talk.1 b/usr.bin/talk/talk.1 index bbd5084..3dab5e6 100644 --- a/usr.bin/talk/talk.1 +++ b/usr.bin/talk/talk.1 @@ -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 |