incubator-nuttx/net/udp
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 build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig net/usrsock: Can enable TCP/UDP IP stack with Usrsock enabled 2023-09-21 01:08:11 +08:00
Make.defs
udp.h net: Optimize TCP/UDP port selection 2024-04-12 15:46:29 +08:00
udp_callback.c udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
udp_close.c udp: modify ipv4 multicast to allow different conn to join simultaneously 2023-11-04 17:56:06 +08:00
udp_conn.c net: Optimize TCP/UDP port selection 2024-04-12 15:46:29 +08:00
udp_devpoll.c net/devif_poll: optimize device buffer alloc in txpoll 2023-01-13 16:41:10 +08:00
udp_finddev.c net: allow icmpv6 and udp to find the dev by the ifindex with s_boundto. 2023-10-11 23:34:01 +08:00
udp_input.c net/udp: Deliver data into multiple UDP conn bound to same port 2024-03-29 11:52:24 +08:00
udp_ioctl.c net: Simplify getting value for different domain 2023-11-03 22:23:50 +08:00
udp_ipselect.c net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
udp_netpoll.c poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
udp_notifier.c net/udp: Change conn->readahead to I/O buffer chain 2023-07-18 10:51:45 +08:00
udp_recvfrom.c udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
udp_send.c net/udp: Support deliver multicast packets back to local apps 2024-03-29 11:52:24 +08:00
udp_sendto_buffered.c net: Optimize TCP/UDP port selection 2024-04-12 15:46:29 +08:00
udp_sendto_unbuffered.c net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
udp_setsockopt.c net/sockopt: move BINDTODEVICE to socket level 2022-08-25 17:56:52 +08:00
udp_txdrain.c net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
udp_wrbuffer.c net/xx/wrbuffer: Do not use SEM_INITIALIZER for buffers 2023-08-25 00:02:07 +08:00
udp_wrbuffer_dump.c