ifaddrs.h 336 B

12345678910111213141516171819
  1. #ifndef _IFADDRS_H
  2. #include <libc/inet/ifaddrs.h>
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. struct in6addrinfo
  6. {
  7. enum {
  8. in6ai_deprecated = 1,
  9. in6ai_temporary = 2,
  10. in6ai_homeaddress = 4
  11. } flags;
  12. uint32_t addr[4];
  13. };
  14. extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6)
  15. attribute_hidden;
  16. #endif /* ifaddrs.h */