One more bug in ldconfig -r handling.
[glibc.git] / include / ifaddrs.h
blob50e4c48e82c485e93a4c0033ea098f03bf4517df
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_homeaddress = 2
14 } flags:8;
15 uint8_t prefixlen;
16 uint16_t :16;
17 uint32_t index;
18 uint32_t addr[4];
21 extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6,
22 struct in6addrinfo **in6ai, size_t *in6ailen)
23 attribute_hidden;
24 extern void __check_native (uint32_t a1_index, int *a1_native,
25 uint32_t a2_index, int *a2_native)
26 attribute_hidden;
28 #endif /* ifaddrs.h */