nuttx/net/utils
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 net: modify find device logic 2023-02-12 01:25:34 +08:00
net_chksum.c
net_dsec2tick.c
net_dsec2timeval.c
net_icmpchksum.c
net_incr32.c
net_ipchksum.c
net_ipv6_mask2pref.c
net_ipv6_maskcmp.c
net_ipv6_pref2mask.c
net_lock.c add holder for mutex 2023-01-31 12:08:05 +09:00
net_snoop.c nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems() 2023-02-09 20:05:44 +08:00
net_tcpchksum.c
net_timeval2dsec.c
net_udpchksum.c
utils.h net: modify find device logic 2023-02-12 01:25:34 +08:00