Properly handle forced elision in pthread_mutex_trylock (bug 16657)
[glibc.git] / include / ifaddrs.h
blob2787f2111568e004c809ed94d8004e8250e52265
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 __free_in6ai (struct in6addrinfo *in6ai) attribute_hidden;
25 extern void __check_native (uint32_t a1_index, int *a1_native,
26 uint32_t a2_index, int *a2_native)
27 attribute_hidden;
29 #if IS_IN (nscd)
30 extern uint32_t __bump_nl_timestamp (void) attribute_hidden;
31 #endif
33 #endif /* ifaddrs.h */