]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/ifaddrs.h
Avoid parallel GCC install in build-many-glibcs.py.
[thirdparty/glibc.git] / include / ifaddrs.h
CommitLineData
ff479b9b
UD
1#ifndef _IFADDRS_H
2#include <inet/ifaddrs.h>
47755784
ZW
3
4# ifndef _ISOMAC
5
1dc869d1 6#include <stdbool.h>
86e05449 7#include <stdint.h>
ff479b9b
UD
8
9libc_hidden_proto (getifaddrs)
10libc_hidden_proto (freeifaddrs)
11
3af48b5b
UD
12struct in6addrinfo
13{
14 enum {
15 in6ai_deprecated = 1,
773e79b3 16 in6ai_homeaddress = 2
c1600ce3
UD
17 } flags:8;
18 uint8_t prefixlen;
19 uint16_t :16;
773e79b3 20 uint32_t index;
3af48b5b
UD
21 uint32_t addr[4];
22};
23
24extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6,
25 struct in6addrinfo **in6ai, size_t *in6ailen)
26 attribute_hidden;
3a2c0242 27extern void __free_in6ai (struct in6addrinfo *in6ai) attribute_hidden;
773e79b3
UD
28extern void __check_native (uint32_t a1_index, int *a1_native,
29 uint32_t a2_index, int *a2_native)
30 attribute_hidden;
1dc869d1 31
85f36372 32#if IS_IN (nscd)
3a2c0242
UD
33extern uint32_t __bump_nl_timestamp (void) attribute_hidden;
34#endif
35
47755784 36# endif /* !_ISOMAC */
ff479b9b 37#endif /* ifaddrs.h */