nuttx/net/nat
Zhe Weng e543a8086e net: Optimize TCP/UDP port selection
Optimize TCP/UDP port selection, and fix possibly dead loop.

Finish discussion in https://github.com/apache/nuttx/pull/12116#discussion_r1560851977

Note:
Linux also uses EADDRINUSE for failing in finding a portno, according to https://man7.org/linux/man-pages/man2/bind.2.html

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-04-12 15:46:29 +08:00
..
CMakeLists.txt net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00
ipv4_nat_entry.c net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00
ipv4_nat.c net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00
ipv6_nat_entry.c net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00
ipv6_nat.c net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00
Kconfig net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00
Make.defs net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00
nat.c net: Optimize TCP/UDP port selection 2024-04-12 15:46:29 +08:00
nat.h net/nat: Support IPv6 Masquerading (NAT66) 2024-04-11 22:23:29 +08:00