incubator-nuttx/net/utils
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/utils: Add net_ipv6_payload to get IPv6 L4 payload 2024-04-11 22:23:29 +08:00
Kconfig net: Rename tcp_dataconcat to net_iob_concat 2023-07-18 10:51:45 +08:00
Make.defs net/utils: Add net_ipv6_payload to get IPv6 L4 payload 2024-04-11 22:23:29 +08:00
net_chksum.c
net_cmsg.c
net_dsec2tick.c
net_dsec2timeval.c
net_getrandom.c net/tcp: Take out get random process as common function 2023-11-06 09:04:09 +08:00
net_icmpchksum.c
net_incr32.c
net_iob_concat.c net: Rename tcp_dataconcat to net_iob_concat 2023-07-18 10:51:45 +08:00
net_ipchksum.c
net_ipv6_maskcmp.c
net_ipv6_payload.c net/utils: Add net_ipv6_payload to get IPv6 L4 payload 2024-04-11 22:23:29 +08:00
net_ipv6_pref2mask.c net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
net_lock.c net: remove [enter|leave]_critical_section and sched_[un]lock 2023-08-10 12:24:30 +03:00
net_mask2pref.c net/netdev: Support multiple IPv6 addresses per device 2023-11-07 19:30:36 +08:00
net_snoop.c refine: set file mode when oflags contains O_CREAT 2023-09-23 15:20:51 +08:00
net_tcpchksum.c
net_timeval2dsec.c
net_udpchksum.c
utils.h net: Optimize TCP/UDP port selection 2024-04-12 15:46:29 +08:00