00001 00016 #ifndef CONFIG_TYPES_H 00017 #define CONFIG_TYPES_H 00018 00019 struct hostapd_ip_addr { 00020 union { 00021 struct in_addr v4; 00022 #ifdef CONFIG_IPV6 00023 struct in6_addr v6; 00024 #endif /* CONFIG_IPV6 */ 00025 } u; 00026 int af; /* AF_INET / AF_INET6 */ 00027 }; 00028 00029 #endif /* CONFIG_TYPES_H */ 00030