8b211128f1
This commit is for later ICMP error types processing, and does not change any current logic. Reason for supporting both side of modification is that an inbound ICMP Error MSG may carry original packet like this: | IP HDR: SRC = Peer IP, DST = External IP | | ICMP HDR: ERROR MSG | | <Origin> IP HDR: SRC = External IP, DST = Peer IP | | <Origin> L4 HDR: SRC = External Port, DST = Peer Port | So we need to support inbound translation (External -> Local) on SRC or DST of each header. And so do the outbound direction. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> |
||
---|---|---|
.. | ||
ipv4_nat_entry.c | ||
ipv4_nat.c | ||
Kconfig | ||
Make.defs | ||
nat.h |