Added some FIXMEs

This commit is contained in:
Michael Kerrisk 2005-12-05 16:16:07 +00:00
parent 26905f6a55
commit bf71d57c68
1 changed files with 41 additions and 36 deletions

View File

@ -113,10 +113,39 @@ The socket option level for IPv6 is
.BR IPPROTO_IPV6 .
A boolean integer flag is zero when it is false, otherwise true.
.TP
.B IPV6_UNICAST_HOPS
Set the unicast hop limit for the socket. Argument is an pointer to an
integer. \-1 in the value means use the route default, otherwise it should be
between 0 and 255.
.B IPV6_ADDRFORM
Turn an
.I AF_INET6
socket into a socket of a different address family. Only
.I AF_INET
is currently supported for that. It is only allowed for IPv6 sockets
that are connected and bound to a v4-mapped-on-v6 address. The argument
is a pointer to a integer containing
.BR AF_INET .
This is useful to pass v4-mapped sockets as file descriptors to
programs that don't know how to deal with the IPv6 API.
.TP
.B IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP
Control membership in multicast groups. Argument is a pointer to a
.I struct ipv6_mreq
structure.
.\" FIXME IPV6_CHECKSUM is not documented, and probably should be
.\" FIXME IPV6_JOIN_ANYCAST is not documented, and probably should be
.\" FIXME IPV6_LEAVE_ANYCAST is not documented, and probably should be
.\" FIXME there are probably many other IPV6_* socket options that
.\" should be documented
.TP
.B IPV6_MTU
Set the MTU to be used for the socket. The MTU is limited by the device
MTU or the path mtu when path mtu discovery is enabled.
Argument is a pointer to integer.
.TP
.B IPV6_MTU_DISCOVER
Control path mtu discovery on the socket. See
.I IP_MTU_DISCOVER
in
.BR ip (7)
for details.
.TP
.B IPV6_MULTICAST_HOPS
Set the multicast hop limit for the socket. Argument is a pointer to an
@ -135,17 +164,9 @@ The argument is an pointer to an interface index (see
.BR netdevice (7))
in an integer.
.TP
.B IPV6_ADDRFORM
Turn an
.I AF_INET6
socket into a socket of a different address family. Only
.I AF_INET
is currently supported for that. It is only allowed for IPv6 sockets
that are connected and bound to a v4-mapped-on-v6 address. The argument
is a pointer to a integer containing
.BR AF_INET .
This is useful to pass v4-mapped sockets as file descriptors to
programs that don't know how to deal with the IPv6 API.
.B IPV6_MULTICAST_LOOP
Control whether the socket sees multicast packets that it has send itself.
Argument is a pointer to boolean.
.TP
.B IPV6_PKTINFO
Set delivery of the
@ -183,27 +204,6 @@ or
.B SOCK_RAW
sockets. Argument is a pointer to a boolean value.
.TP
.B IPV6_MULTICAST_LOOP
Control whether the socket sees multicast packets that is has send itself.
Argument is a pointer to boolean.
.TP
.B IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP
Control membership in multicast groups. Argument is a pointer to a
.I struct ipv6_mreq
structure.
.TP
.B IPV6_MTU
Set the MTU to be used for the socket. The MTU is limited by the device
MTU or the path mtu when path mtu discovery is enabled.
Argument is a pointer to integer.
.TP
.B IPV6_MTU_DISCOVER
Control path mtu discovery on the socket. See
.I IP_MTU_DISCOVER
in
.BR ip (7)
for details.
.TP
.B IPV6_RECVERR
Control receiving of asynchronous error options. See
.I IP_RECVERR
@ -216,6 +216,11 @@ Argument is a pointer to boolean.
Pass all forwarded packets containing an router alert option to this socket.
Only allowed for datagram sockets and for root. Argument is a pointer to
boolean.
.TP
.B IPV6_UNICAST_HOPS
Set the unicast hop limit for the socket. Argument is an pointer to an
integer. \-1 in the value means use the route default, otherwise it should be
between 0 and 255.
.\" FLOWLABEL_MGR, FLOWINFO_SEND
.SH VERSIONS
The older