Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
setsockopt(2) OSS System Calls Reference Manual
IPV6_LEAVE_GROUP
Disables the receipt of IPv6 multicast UDP datagrams for a
specific group.
IPV6_MULTICAST_IF
Specifies the interface (subnet) to use for outbound multicast
UDP datagrams. option_value is an unsigned int.
IPV6_MULTICAST_HOPS
Specifies the hop limit for outbound multicast UDP datagrams.
option_value is an int that is either:
• Between 0 and 255 to indicate the maximum number of
hops allowed
• -1 to indicate a limit of 255 hops
The default maximum number of hops allowed is 1. All other
values cause an error and errno is set to [EINVAL].
IPV6_MULTICAST_LOOP
Enables or disables multicast messages sent to loopback for
applications that have joined the same group on the same inter-
face. This option is enabled by default. option_value is an
unsigned int.
IPV6_UNICAST_HOPS
Specifies the hop limit for outbound unicast UDP datagrams.
option_value is an int that is either:
• Between 0 and 255 to indicate the maximum number of
hops allowed
• -1 to indicate that the default value should be used
All other values cause an error and errno is set to [EINVAL].
IPV6_V6ONLY
Specifies that AF_INET6 sockets are restricted to IPv6-only
communication.
The IPPROTO_IP (IP protocol-level IPv4) options are:
IP_OPTIONS Sets IP options for each outgoing packet. The option_value
parameter is a pointer to a list of IP options and values that con-
forms with RFC 791.
IP_ADD_MEMBERSHIP
Enables the receipt of IP multicast UDP datagrams for a specific
group.
IP_DROP_MEMBERSHIP
Disables the receipt of IP multicast UDP datagrams for a specific
group.
7−70 Hewlett-Packard Company 527186-023