incubator-nuttx/net/nat
Zhe Weng 5a10367312 net/nat: Fix ICMP Error MSG Processing
1. Don't assert on IGMP inside ICMP, just ignore it.
2. Check we have full IP header inside ICMP payload before accessing it.
3. `inner_l4hdrbak` need to be `L4_MAXHDRLEN`, not `L4_MAXHDRLEN/2`.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-02-05 19:36:59 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig net/nat: Add auto reclaim logic for NAT entries. 2022-12-22 20:20:12 +08:00
Make.defs
ipv4_nat.c net/nat: Fix ICMP Error MSG Processing 2024-02-05 19:36:59 +08:00
ipv4_nat_entry.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
nat.h net/nat: Clear entries when NAT will be disabled 2022-12-24 12:05:20 +08:00