This commit is contained in:
Michael Kerrisk 2007-10-04 16:02:10 +00:00
parent 654cc098eb
commit 69afed5173
3 changed files with 7 additions and 7 deletions

View File

@ -176,7 +176,7 @@ for
and and
.B SOCK_RAW .B SOCK_RAW
socket. socket.
The argument is an pointer to an interface index (see The argument is a pointer to an interface index (see
.BR netdevice (7)) .BR netdevice (7))
in an integer. in an integer.
.TP .TP
@ -233,7 +233,7 @@ for details.
Argument is a pointer to boolean. Argument is a pointer to boolean.
.TP .TP
.B IPV6_ROUTER_ALERT .B IPV6_ROUTER_ALERT
Pass all forwarded packets containing an router alert option to Pass all forwarded packets containing a router alert option to
this socket. this socket.
Only allowed for datagram sockets and for root. Only allowed for datagram sockets and for root.
Argument is a pointer to boolean. Argument is a pointer to boolean.

View File

@ -759,7 +759,7 @@ have nesting limitations.
All content macros All content macros
are capable of recognizing and properly handling punctuation, are capable of recognizing and properly handling punctuation,
provided each punctuation character is separated by a leading space. provided each punctuation character is separated by a leading space.
If an request is given: If a request is given:
.Pp .Pp
.Dl \&.Li sptr, ptr), .Dl \&.Li sptr, ptr),
.Pp .Pp
@ -1746,7 +1746,7 @@ Produces
Another example of Another example of
.Ql \&.Xo .Ql \&.Xo
and using enclosure macros: and using enclosure macros:
Test the value of an variable. Test the value of a variable.
.Bd -literal -offset indent .Bd -literal -offset indent
\&.It Xo \&.It Xo
\&.Ic .ifndef \&.Ic .ifndef

View File

@ -35,13 +35,13 @@ datagrams can now be sent using
.BR send (2) .BR send (2)
or or
.BR write (2) .BR write (2)
without specifying an destination address. without specifying a destination address.
It is still possible to send to other destinations by passing an It is still possible to send to other destinations by passing an
address to address to
.BR sendto (2) .BR sendto (2)
or or
.BR sendmsg (2). .BR sendmsg (2).
In order to receive packets the socket can be bound to an local In order to receive packets the socket can be bound to a local
address first by using address first by using
.BR bind (2). .BR bind (2).
Otherwise the socket layer will automatically assign Otherwise the socket layer will automatically assign
@ -67,7 +67,7 @@ See
When the When the
.B MSG_DONTROUTE .B MSG_DONTROUTE
flag is set on sending the destination address must refer to an local flag is set on sending the destination address must refer to a local
interface address and the packet is only sent to that interface. interface address and the packet is only sent to that interface.
By default Linux UDP does path MTU (Maximum Transmission Unit) discovery. By default Linux UDP does path MTU (Maximum Transmission Unit) discovery.