incubator-nuttx/net/udp
zhanghongyu a2097cfb71 net: modify find device logic
The priorities for finding a network adapter are as follows:
1. if laddr is not ANY, use laddr to find device;
2. if laddr is ANY, and bound index is not 0, use bound index
   to find device;
3. if laddr is ANY and no device is bound, use raddr to find
   device.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-02-12 01:25:34 +08:00
..
Kconfig net/udp: NET_BROADCAST shouldn't configurable if NET_UDP_NO_STACK enable 2022-11-22 20:45:26 +09:00
Make.defs
udp.h net/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
udp_callback.c net/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
udp_close.c net/udp: correct linger timeout 2023-01-18 02:47:12 +08:00
udp_conn.c net/udp: Support binding to same addr/port if SO_REUSEADDR is specified. 2023-02-10 10:01:08 +01: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: modify find device logic 2023-02-12 01:25:34 +08:00
udp_input.c net: move device buffer define to common header 2022-10-28 00:32:16 -04:00
udp_ioctl.c net: Align the prototype of sock_intf_s::si_ioctl with file_operations::ioctl 2022-09-06 22:46:37 +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: add poll_notify() api and call it in all drivers 2022-09-26 12:06:32 +08:00
udp_notifier.c
udp_recvfrom.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
udp_send.c support ipv4 ToS and ipv6 TrafficClass 2023-01-29 13:43:44 +08:00
udp_sendto_buffered.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
udp_sendto_unbuffered.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
udp_setsockopt.c
udp_txdrain.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
udp_wrbuffer.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
udp_wrbuffer_dump.c