.
[glibc/history.git] / include / ifaddrs.h
blob71bdaeb1801f2e7ec4b21d71c1de1bc6e431221c
1 #ifndef _IFADDRS_H
2 #include <inet/ifaddrs.h>
3 #include <stdbool.h>
4 #include <stdint.h>
6 libc_hidden_proto (getifaddrs)
7 libc_hidden_proto (freeifaddrs)
9 struct in6addrinfo
11 enum {
12 in6ai_deprecated = 1,
13 in6ai_temporary = 2,
14 in6ai_homeaddress = 4
15 } flags;
16 uint32_t addr[4];
19 extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6,
20 struct in6addrinfo **in6ai, size_t *in6ailen)
21 attribute_hidden;
23 #endif /* ifaddrs.h */