walnux/net/nat
Zhe Weng 8d401db5b9 net/nat: Add ICMP ECHO (REQUEST & REPLY) support
Support ICMP ECHO REQUEST & REPLY. Id of ICMP is processed like port of TCP in NAT. However, our ICMP stack doesn't have a method to manage id allocation like tcp_selectport(), the id is set by apps (like icmp_ping.c) without conflict avoidance, so not adding such conflict avoidance logic to ICMP stack when implementing NAT.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2022-11-11 14:36:55 +08:00
..
ipv4_nat.c net/nat: Add ICMP ECHO (REQUEST & REPLY) support 2022-11-11 14:36:55 +08:00
ipv4_nat_entry.c net/nat: Add ICMP ECHO (REQUEST & REPLY) support 2022-11-11 14:36:55 +08:00
Kconfig net/nat: Add ICMP ECHO (REQUEST & REPLY) support 2022-11-11 14:36:55 +08:00
Make.defs
nat.h net: select NAT external port by tcp_selectport for TCP 2022-11-11 14:36:55 +08:00