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
Make.defs
udp_callback.c
udp_close.c
udp_conn.c
udp_devpoll.c
udp_finddev.c net: modify find device logic 2023-02-12 01:25:34 +08:00
udp_input.c
udp_ioctl.c
udp_ipselect.c
udp_netpoll.c
udp_notifier.c
udp_recvfrom.c
udp_send.c
udp_sendto_buffered.c
udp_sendto_unbuffered.c
udp_setsockopt.c
udp_txdrain.c
udp_wrbuffer_dump.c
udp_wrbuffer.c
udp.h