summaryrefslogtreecommitdiffstats
path: root/contrib/hostapd/config_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hostapd/config_types.h')
-rw-r--r--contrib/hostapd/config_types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/hostapd/config_types.h b/contrib/hostapd/config_types.h
new file mode 100644
index 0000000..12b57cb
--- /dev/null
+++ b/contrib/hostapd/config_types.h
@@ -0,0 +1,14 @@
+#ifndef CONFIG_TYPES_H
+#define CONFIG_TYPES_H
+
+struct hostapd_ip_addr {
+ union {
+ struct in_addr v4;
+#ifdef CONFIG_IPV6
+ struct in6_addr v6;
+#endif /* CONFIG_IPV6 */
+ } u;
+ int af; /* AF_INET / AF_INET6 */
+};
+
+#endif /* CONFIG_TYPES_H */
OpenPOWER on IntegriCloud