|
@@ -185,6 +185,20 @@
|
|
|
*/
|
|
*/
|
|
|
#define IP_REASS_MAX_PBUFS 10
|
|
#define IP_REASS_MAX_PBUFS 10
|
|
|
|
|
|
|
|
|
|
+/**
|
|
|
|
|
+ * IP_FORWARD==1: Enables the ability to forward IP packets across network
|
|
|
|
|
+ * interfaces. If you are going to run lwIP on a device with only one network
|
|
|
|
|
+ * interface, define this to 0.
|
|
|
|
|
+ */
|
|
|
|
|
+#define IP_FORWARD CONFIG_LWIP_IP_FORWARD
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * IP_NAPT==1: Enables IPv4 Network Address and Port Translation.
|
|
|
|
|
+ * Note that both CONFIG_LWIP_IP_FORWARD and CONFIG_LWIP_L2_TO_L3_COPY options
|
|
|
|
|
+ * need to be enabled in system configuration for the NAPT to work on ESP platform
|
|
|
|
|
+ */
|
|
|
|
|
+#define IP_NAPT CONFIG_LWIP_IPV4_NAPT
|
|
|
|
|
+
|
|
|
/*
|
|
/*
|
|
|
----------------------------------
|
|
----------------------------------
|
|
|
---------- ICMP options ----------
|
|
---------- ICMP options ----------
|