aboutsummaryrefslogtreecommitdiff
path: root/firmwares/wifishield/wifiHD/src/lwip_setup.h
diff options
context:
space:
mode:
authorDavid Madison <dmadison@users.noreply.github.com>2019-02-15 13:00:46 -0500
committerGitHub <noreply@github.com>2019-02-15 13:00:46 -0500
commit7d65dd08142eda767eb822bf2d92c3a1bd9f8b8f (patch)
tree5609dee433e7d089e6c4f974fa1d870b4068d613 /firmwares/wifishield/wifiHD/src/lwip_setup.h
parent2663be17272e19f00c55f3f2d8f1ebfac47158d6 (diff)
parent91e267bcc42442d4e9da09aab30065ad5d44025a (diff)
Merge pull request #1 from dmadison/forking
Forking
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/lwip_setup.h')
-rw-r--r--firmwares/wifishield/wifiHD/src/lwip_setup.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/firmwares/wifishield/wifiHD/src/lwip_setup.h b/firmwares/wifishield/wifiHD/src/lwip_setup.h
deleted file mode 100644
index 7edf2b5..0000000
--- a/firmwares/wifishield/wifiHD/src/lwip_setup.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef _LWIP_SETUP_H
-#define _LWIP_SETUP_H
-
-#define INIT_IP_CONFIG 0xff
-#define STATIC_IP_CONFIG 0
-#define DYNAMIC_IP_CONFIG 1
-
-struct net_cfg {
- struct netif *netif; /* lwip network interface */
- uint8_t dhcp_enabled;
- uint8_t dhcp_running;
-};
-
-struct ctx_server {
- struct net_cfg net_cfg;
- uint8_t wl_init_complete;
-};
-
-/*! Start the IP stack.
- * If cfg->netif must have been allocated and lwip_init()
- * must have been called before this function is called
- * (since the IP stack may have to be polled before this
- * function can be called).
- */
-int start_ip_stack(struct net_cfg *cfg,
- struct ip_addr ipaddr,
- struct ip_addr netmask,
- struct ip_addr gw);
-
-#endif /* _LWIP_SETUP_H */