b595430578
Add basic functions for NAT (NAPT), remaining some logic unimplemented (UDP, ICMP, port assignment, etc). NAT for TCP can work now (unless port conflicts). Outbound: LAN -> Forward -> NAT(only if targeting at WAN) -> WAN Inbound: WAN -> NAT(only from WAN, change dest) -> Forward -> LAN Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> |
||
---|---|---|
.. | ||
devif_callback.c | ||
devif_cansend.c | ||
devif_forward.c | ||
devif_initialize.c | ||
devif_iobsend.c | ||
devif_loopback.c | ||
devif_pktsend.c | ||
devif_poll.c | ||
devif_send.c | ||
devif.h | ||
ipv4_input.c | ||
ipv6_input.c | ||
Make.defs |