aboutsummaryrefslogtreecommitdiff
path: root/firmwares/wifishield/wifiHD/src/lwip_setup.h
diff options
context:
space:
mode:
authorMimmo La Fauci <mlafauci@metodo2.it>2013-03-21 09:24:07 +0100
committerMimmo La Fauci <mlafauci@metodo2.it>2013-03-21 09:24:07 +0100
commite43ed7d47d9b2c37ccff6dc75d6bfe4c8a55ac86 (patch)
tree527a1af8acb5cb1cf64bb02567c6e29df7f7cec9 /firmwares/wifishield/wifiHD/src/lwip_setup.h
parentf0ba738a71ec8dafe4705ddd02c07a2eb880655c (diff)
Added API to set static IP and DNS server
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/lwip_setup.h')
-rw-r--r--firmwares/wifishield/wifiHD/src/lwip_setup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmwares/wifishield/wifiHD/src/lwip_setup.h b/firmwares/wifishield/wifiHD/src/lwip_setup.h
index 7a3ec6f..d149174 100644
--- a/firmwares/wifishield/wifiHD/src/lwip_setup.h
+++ b/firmwares/wifishield/wifiHD/src/lwip_setup.h
@@ -7,6 +7,11 @@ struct net_cfg {
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