Open System Services System Calls Reference Manual (G06.25+, H06.03+)

setsockopt(2) OSS System Calls Reference Manual
IPV6_LEAVE_GROUP
Disables IPv6 multicast UDP datagrams on a specied interface.
IPV6_MULTICAST_IF
Species the interface (subnet) to use for outbound multicast
UDP datagrams. option_value is an unsigned int.
IPV6_MULTICAST_HOPS
Species 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 that the default value should be used
All other values cause an error and errno is set to [EINVAL].
IPV6_MULTICAST_LOOP
Species that the host belongs to the multicast group that it is
sending to, and a copy of the datagram should be sent by loop-
back to the originating host. This is the default behavior.
option_value is an unsigned int.
IPV6_UNICAST_HOPS
Species 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
Species 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 IP multicast UDP datagrams on a specied interface.
IP_DROP_MEMBERSHIP
Disables IP multicast UDP datagrams on a specied interface.
IP_MULTICAST_IF
Species the interface (subnet) to use for outbound multicast
UDP datagrams. option_value is an unsigned int.
738 Hewlett-Packard Company 527186-003