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 Remove #warning if the code already return the error code or value 2023-05-18 15:44:28 +03:00
net_cmsg.c net/net_cmsg.c: Fix warning about using void* arithmetics 2023-05-10 17:58:25 +08:00
net_dsec2tick.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_dsec2timeval.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
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/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
net_incr32.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_iob_concat.c net: Rename tcp_dataconcat to net_iob_concat 2023-07-18 10:51:45 +08:00
net_ipchksum.c Remove redundant length checking 2022-12-14 21:20:14 +08:00
net_ipv6_maskcmp.c NuttX: Gregory Nutt: update licenses to Apache 2021-04-03 04:20:31 -07:00
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: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_timeval2dsec.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_udpchksum.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
utils.h net: Optimize TCP/UDP port selection 2024-04-12 15:46:29 +08:00