1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

new network feature: NAPT (widely known as NAT) (#6360)

* lwIP: napt patches (enabled with lwip2 w/o IPv6 w/ features)
This commit is contained in:
david gauchard
2019-08-28 17:51:14 +02:00
committed by GitHub
parent 7436f3802a
commit 06f1865628
18 changed files with 497 additions and 8 deletions

View File

@ -387,6 +387,9 @@ struct netif {
u16_t loop_cnt_current;
#endif /* LWIP_LOOPBACK_MAX_PBUFS */
#endif /* ENABLE_LOOPBACK */
#if LWIP_IPV4 && IP_NAPT
u8_t napt;
#endif
};
#if LWIP_CHECKSUM_CTRL_PER_NETIF