summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-03-24 22:18:23 -0700
committerMichael Pavone <pavone@retrodev.com>2018-03-24 22:18:23 -0700
commit371d5418e6b1bfba88b55382b0a1b91d97023ae5 (patch)
tree26e75e6766ec3f43284b90f3ba5acbf72d78d646 /net.h
parent484e97a4e318d18b867acea7773853dfc7616a30 (diff)
parent15af9462392967b6adf7ba6ff4f7ff778cf10eb3 (diff)
Merge
--HG-- branch : nuklear_ui
Diffstat (limited to 'net.h')
-rw-r--r--net.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net.h b/net.h
new file mode 100644
index 0000000..bcd5ca6
--- /dev/null
+++ b/net.h
@@ -0,0 +1,12 @@
+#ifndef NET_H_
+#define NET_H_
+#include <stdint.h>
+
+typedef struct {
+ uint8_t ip[4];
+ uint8_t net_mask[4];
+} iface_info;
+
+uint8_t get_host_address(iface_info *out);
+
+#endif //NET_H_