From 0d9a111face4f3629bcae8e52af843792af3b453 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Thu, 13 Sep 2012 10:41:16 -0400 Subject: Moving into firmwares directory. --- firmwares/wifishield/wifiHD/src/lwip_setup.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 firmwares/wifishield/wifiHD/src/lwip_setup.h (limited to 'firmwares/wifishield/wifiHD/src/lwip_setup.h') diff --git a/firmwares/wifishield/wifiHD/src/lwip_setup.h b/firmwares/wifishield/wifiHD/src/lwip_setup.h new file mode 100644 index 0000000..7a3ec6f --- /dev/null +++ b/firmwares/wifishield/wifiHD/src/lwip_setup.h @@ -0,0 +1,21 @@ +#ifndef _LWIP_SETUP_H +#define _LWIP_SETUP_H + +struct net_cfg { + struct netif *netif; /* lwip network interface */ + uint8_t dhcp_enabled; + uint8_t dhcp_running; +}; + +/*! 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 */ -- cgit v1.2.3-18-g5258