summaryrefslogtreecommitdiff
path: root/libc/inet/ifaddrs.h
diff options
context:
space:
mode:
authorRicard Wanderlof <ricard.wanderlof@axis.com>2008-06-27 15:38:41 +0000
committerRicard Wanderlof <ricard.wanderlof@axis.com>2008-06-27 15:38:41 +0000
commit0546f7ccc64bd8ea536c300dfac2c6efec7eeaa8 (patch)
tree45d839762cc9598fe4bd318af77d8ae235441073 /libc/inet/ifaddrs.h
parentf2f6143a40186b4998559c76b71aef3d04459a63 (diff)
Removed include/ifaddrs.h and put contents in libc/inet/ifaddrs.h, as we do not
need the file outside of uClibc anyway.
Diffstat (limited to 'libc/inet/ifaddrs.h')
-rw-r--r--libc/inet/ifaddrs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/inet/ifaddrs.h b/libc/inet/ifaddrs.h
index ba6a1554b..2cc06ec86 100644
--- a/libc/inet/ifaddrs.h
+++ b/libc/inet/ifaddrs.h
@@ -22,6 +22,8 @@
#include <features.h>
#include <sys/socket.h>
+#include <stdbool.h>
+#include <stdint.h>
__BEGIN_DECLS
@@ -71,4 +73,17 @@ extern void freeifaddrs (struct ifaddrs *__ifa) __THROW;
__END_DECLS
+struct in6addrinfo
+{
+ enum {
+ in6ai_deprecated = 1,
+ in6ai_temporary = 2,
+ in6ai_homeaddress = 4
+ } flags;
+ uint32_t addr[4];
+};
+
+extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6)
+ attribute_hidden;
+
#endif /* ifaddrs.h */