IPv6 advanced socket API options

You can control access for the IPv6 advanced socket API options that influence outbound packets.

For the IPV6_NEXTHOP, IPV6_TCLASS, IPV6_RTHDR, IPV6_HOPOPTS, IPV6_DSTOPTS, IPV6_RTHDRDSTOPTS, and IPV6_PKTINFO socket options, to set the socket option on setsockopt() or to use the corresponding ancillary data item on sendmsg(), an application must meet one of the following criteria:

Table 1. Socket option resource names
Socket option/Ancillary data item Resource name
IPV6_NEXTHOP EZB.SOCKOPT.sysname.tcpname.IPV6_NEXTHOP
IPV6_TCLASS EZB.SOCKOPT.sysname.tcpname.IPV6_TCLASS
IPV6_RTHDR EZB.SOCKOPT.sysname.tcpname.IPV6_RTHDR
IPV6_HOPOPTS EZB.SOCKOPT.sysname.tcpname.IPV6_HOPOPTS
IPV6_DSTOPTS EZB.SOCKOPT.sysname.tcpname.IPV6_DSTOPTS
IPV6_RTHDRDSTOPTS EZB.SOCKOPT.sysname.tcpname.IPV6_RTHDRDSTOPTS
IPV6_PKTINFO EZB.SOCKOPT.sysname.tcpname.IPV6_PKTINFO
IPV6_HOPLIMIT EZB.SOCKOPT.sysname.tcpname.IPV6_HOPLIMIT

For the IPV6_HOPLIMIT socket option, to set a hop limit greater than the default using either the IPV6_UNICAST_HOPS or IPV6_MULTICAST_HOPS socket option on setsockopt() or the IPV6_HOPLIMIT ancillary data item on sendmsg(), an application must meet one of the following criteria: