--> |
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. |
IPV6_MULTICAST_HOPS |
| Set the multicast hop limit for the socket. Argument is a pointer to an integer. -1 in the value means use the route default, otherwise it should be between 0 and 255. |
IPV6_MULTICAST_IF |
| Set the device for outgoing multicast packets on the socket. This is only allowed for SOCK_DGRAM and SOCK_RAW socket. The argument is an pointer to an interface index (see netdevice(7)) in an integer. |
IPV6_ADDRFORM |
| Turn an AF_INET6 socket into a socket of a different address family. Only 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 AF_INET. This is useful to pass v4-mapped sockets as filedescriptors to programs that dont know how to deal with the IPv6 API. |
IPV6_PKTINFO |
| Set delivery of the IPV6_PKTINFO control message on incoming datagrams. Only allowed for SOCK_DGRAM or SOCK_RAW sockets. Argument is a pointer to a boolean value in an integer. |
IPV6_RTHDR, IPV6_AUTHHDR, IPV6_DSTOPS, IPV6_HOPOPTS, IPV6_FLOWINFO, IPV6_HOPLIMIT | Set delivery of control messages for incoming datagrams containing extension headers from the received packet. IPV6_RTHDR delivers the routing header, IPV6_AUTHHDR delivers the authentication header, IPV6_DSTOPTS delivers the destination options, IPV6_HOPOPTS delivers the hop options, IPV6_FLOWINFO delivers an integer containing the flow id, IPV6_HOPLIMIT delivers an integer containing the hop count of the packet. The control messages have the same type as the socket option. All these header options can also be set for outgoing packets by putting the appropriate control message into the control buffer of sendmsg(2). Only allowed for SOCK_DGRAM or SOCK_RAW sockets. Argument is a pointer to a boolean value. |
IPV6_MULTICAST_LOOP |
| Control whether the socket sees multicast packets that is has send itself. Argument is a pointer to boolean. |
IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP |
| Control membership in multicast groups. Argument is a pointer to a struct ipv6_mreq structure. |
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. |
IPV6_MTU_DISCOVER |
| Control path mtu discovery on the socket. See IP_MTU_DISCOVER in ip(7) for details. |
IPV6_RECVERR |
| Control receiving of asynchronous error options. See IP_RECVERR in ip(7) for details. Argument is a pointer to boolean. |
IPV6_ROUTER_ALERT |
| 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. |
|