summaryrefslogtreecommitdiff
path: root/net_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'net_win.c')
-rw-r--r--net_win.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net_win.c b/net_win.c
new file mode 100644
index 0000000..2abae16
--- /dev/null
+++ b/net_win.c
@@ -0,0 +1,14 @@
+#include "net.h"
+
+uint8_t get_host_address(iface_info *out)
+{
+ out->ip[0] = 127;
+ out->ip[1] = 0;
+ out->ip[2] = 0;
+ out->ip[3] = 1;
+ out->net_mask[0] = 255;
+ out->net_mask[0] = 255;
+ out->net_mask[0] = 255;
+ out->net_mask[0] = 0;
+ return 1;
+}