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_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
net_snoop.c
net_tcpchksum.c
net_timeval2dsec.c
net_udpchksum.c
utils.h