2.9
[glibc/nacl-glibc.git] / conform / data / netinet / in.h-data
blob391e1a551cb5a5971f559298bbbb8dfb45658fea
1 #ifndef ISO
2 type in_port_t
3 type in_addr_t
5 type sa_family_t
7 type {struct in_addr}
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
45 macro IPPROTO_IP
46 macro IPPROTO_IPV6
47 macro IPPROTO_ICMP
48 macro IPPROTO_TCP
49 macro IPPROTO_UDP
51 macro INADDR_ANY
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
66 macro IPV6_JOIN_GROUP
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
86 allow IMPLINK_*
87 allow IN_*
88 allow IN6_*
89 allow INADDR_*
90 allow IP_*
91 allow IPV6_*
92 allow IPPORT_*
93 allow IPPROTO_*
94 allow SOCK_*
95 #endif