The netinet/in.h header file contains definitions for the internet
protocol family.
The following structure definition is supported for IPv6:
The following functions are supported for IPv6:
- bind2addrsel()
- inet6_is_srcaddr()
- inet6_rth_space()
- inet6_rth_init()
- inet6_rth_add()
- inet6_rth_reverse()
- inet6_rth_segments()
- inet6_rth_getaddr()
- inet6_opt_init()
- inet6_opt_append()
- inet6_opt_finish()
- inet6_opt_set_val()
- inet6_opt_next()
- inet6_opt_find()
- inet6_opt_get_val()
The following macros are supported for IPv6:
- IN6_IS_ADDR_LINKLOCAL
- IN6_IS_ADDR_LOOPBACK
- IN6_IS_ADDR_MC_GLOBAL
- IN6_IS_ADDR_MC_LINKLOCAL
- IN6_IS_ADDR_MC_NODELOCAL
- IN6_IS_ADDR_MC_ORGLOCAL
- IN6_IS_ADDR_MC_SITELOCAL
- IN6_IS_ADDR_MULTICAST
- IN6_IS_ADDR_SITELOCAL
- IN6_IS_ADDR_UNSPECIFIED
- IN6_IS_ADDR_V4COMPAT
- IN6_IS_ADDR_V4MAPPED
Structures:
struct ip_mreq{
struct in_addr imr_multiaddr;
struct in_addr imr_interface;
};
Socket options:
- MCAST_INCLUDE
- MCAST_EXCLUDE
- IP_BLOCK_SOURCE
- IP_UNBLOCK_SOURCE
- IP_ADD_SOURCE_MEMBERSHIP
- IP_DROP_SOURCE_MEMBERSHIP
- IPV6_ADDR_PREFERENCES
- MCAST_JOIN_GROUP
- MCAST_LEAVE_GROUP
- MCAST_BLOCK_SOURCE
- MCAST_UNBLOCK_SOURCE
- MCAST_JOIN_SOURCE_GROUP
- MCAST_LEAVE_SOURCE_GROUP
Structure: Multicast filter support is accessed
by defining feature test macro _OPEN_SYS_SOCKET_EXT3. The feature
test also exposes symbols in sys/socket.h
struct ip_mreq{}
struct ip_mreq_source {};
struct group_req {};
struct group_source_req {};
setipv4sourcefilter()
getipv4sourcefilter()
setsourcefilter()
getsourcefilter()