2003-04-24 23:38:24 +00:00
|
|
|
#ifndef _IFADDRS_H
|
|
|
|
#include <inet/ifaddrs.h>
|
2003-06-10 08:58:05 +00:00
|
|
|
#include <stdbool.h>
|
2006-04-20 06:27:35 +00:00
|
|
|
#include <stdint.h>
|
2003-04-24 23:38:24 +00:00
|
|
|
|
|
|
|
libc_hidden_proto (getifaddrs)
|
|
|
|
libc_hidden_proto (freeifaddrs)
|
|
|
|
|
2006-04-16 21:34:32 +00:00
|
|
|
struct in6addrinfo
|
|
|
|
{
|
|
|
|
enum {
|
|
|
|
in6ai_deprecated = 1,
|
|
|
|
in6ai_temporary = 2
|
|
|
|
} flags;
|
|
|
|
uint32_t addr[4];
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6,
|
|
|
|
struct in6addrinfo **in6ai, size_t *in6ailen)
|
|
|
|
attribute_hidden;
|
2003-06-10 08:58:05 +00:00
|
|
|
|
2003-04-24 23:38:24 +00:00
|
|
|
#endif /* ifaddrs.h */
|