1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
9 element {struct in_addr} in_addr_t s_addr
11 type {struct sockaddr_in}
13 element {struct sockaddr_in} sa_family_t sin_family
14 element {struct sockaddr_in} in_port_t sin_port
15 element {struct sockaddr_in} {struct in_addr} sin_addr
16 element {struct sockaddr_in} {unsigned char} sin_zero [8]
18 type {struct in6_addr}
20 element {struct in6_addr} uint8_t s6_addr [16]
22 type {struct sockaddr_in6}
24 element {struct sockaddr_in6} sa_family_t sin6_family
25 element {struct sockaddr_in6} in_port_t sin6_port
26 element {struct sockaddr_in6} uint32_t sin6_flowinfo
27 element {struct sockaddr_in6} {struct in6_addr} sin6_addr
28 element {struct sockaddr_in6} uint32_t sin6_scope_id
30 variable {const struct in6_addr} in6addr_any
32 // constant IN6ADDR_ANY_INIT
33 macro IN6ADDR_ANY_INIT
35 variable {const struct in6_addr} in6addr_loopback
37 // constant IN6ADDR_LOOPBACK_INIT
38 macro IN6ADDR_LOOPBACK_INIT
40 type {struct ipv6_mreq}
42 element {struct ipv6_mreq} {struct in6_addr} ipv6mr_multiaddr
43 element {struct ipv6_mreq} {unsigned int} ipv6mr_interface
52 macro INADDR_BROADCAST
54 constant INET_ADDRSTRLEN == 16
56 function uint32_t htonl (uint32_t)
57 function uint16_t htons (uint16_t)
58 function uint32_t ntohl (uint32_t)
59 function uint16_t ntohs (uint16_t)
61 allow-header inttypes.h
62 allow-header sys/socket.h
64 constant INET6_ADDRSTRLEN == 46
67 macro IPV6_LEAVE_GROUP
68 macro IPV6_MULTICAST_HOPS
69 macro IPV6_MULTICAST_IF
70 macro IPV6_MULTICAST_LOOP
71 macro IPV6_UNICAST_HOPS
73 macro IN6_IS_ADDR_UNSPECIFIED
74 macro IN6_IS_ADDR_LOOPBACK
75 macro IN6_IS_ADDR_MULTICAST
76 macro IN6_IS_ADDR_LINKLOCAL
77 macro IN6_IS_ADDR_SITELOCAL
78 macro IN6_IS_ADDR_V4MAPPED
79 macro IN6_IS_ADDR_V4COMPAT
80 macro IN6_IS_ADDR_MC_NODELOCAL
81 macro IN6_IS_ADDR_MC_LINKLOCAL
82 macro IN6_IS_ADDR_MC_SITELOCAL
83 macro IN6_IS_ADDR_MC_ORGLOCAL
84 macro IN6_IS_ADDR_MC_GLOBAL