wlan_lwip_if.h 549 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2010-2011 Espressif System
  3. *
  4. */
  5. #ifndef _WLAN_LWIP_IF_H_
  6. #define _WLAN_LWIP_IF_H_
  7. #define LWIP_IF0_PRIO 28
  8. #define LWIP_IF1_PRIO 29
  9. enum {
  10. SIG_LWIP_RX = 0,
  11. };
  12. struct netif * eagle_lwip_if_alloc(struct ieee80211_conn *conn, const uint8 *macaddr, struct ip_info *info);
  13. struct netif * eagle_lwip_getif(uint8 index);
  14. #ifndef IOT_SIP_MODE
  15. sint8 ieee80211_output_pbuf(struct netif *ifp, struct pbuf* pb);
  16. #else
  17. sint8 ieee80211_output_pbuf(struct ieee80211_conn *conn, esf_buf *eb);
  18. #endif
  19. #endif /* _WLAN_LWIP_IF_H_ */