esp-idf/components/esp_netif/lwip
David Cermak 64f4f0ac1e esp_netif/lwip: Use netif-client-data to store esp_netif ptr
lwip/netif struct has two places to store user's data
* netif->state (1 void*) but that might be occupied in special cases
* netif->client_dtat (n void*s) but that must be enabled in opts.h
This commit stores esp_netif_t* primarily in state, but if any special
netif is enabled in menuconfig (bridgeif, pppos), it uses netif->client_data.
This commit also fixes incorrect esp_netif that is attached to
IP_EVENT_GOT_IP6 event posted by pppos interfaces in:
c585618b97/components/esp_netif/lwip/esp_netif_lwip_ppp.c (L114)

Closes https://github.com/espressif/esp-idf/issues/9345
2022-07-27 11:55:18 +00:00
..
netif esp_netif/lwip: Use netif-client-data to store esp_netif ptr 2022-07-27 11:55:18 +00:00
esp_netif_br_glue.c esp_netif: added support for LwIP bridge 2022-06-14 15:29:44 +02:00
esp_netif_lwip_defaults.c esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers" 2022-07-20 14:59:07 +02:00
esp_netif_lwip_internal.h esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers" 2022-07-20 14:59:07 +02:00
esp_netif_lwip_ppp.c esp_netif/lwip: Use netif-client-data to store esp_netif ptr 2022-07-27 11:55:18 +00:00
esp_netif_lwip_ppp.h esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL) 2022-05-18 17:10:42 +02:00
esp_netif_lwip_slip.c esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers" 2022-07-20 14:59:07 +02:00
esp_netif_lwip_slip.h esp-netif: Fix SLIP interface to start with correct IPv6 addr 2020-09-03 18:11:09 +00:00
esp_netif_lwip.c esp_netif/lwip: Use netif-client-data to store esp_netif ptr 2022-07-27 11:55:18 +00:00