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 wireless/bluetooth: add interrupt_context hander for netsnoop 2023-01-10 18:08:22 +08:00
Make.defs net: modify find device logic 2023-02-12 01:25:34 +08:00
net_chksum.c net/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
net_dsec2tick.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_dsec2timeval.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_icmpchksum.c net/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
net_incr32.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_ipchksum.c Remove redundant length checking 2022-12-14 21:20:14 +08:00
net_ipv6_mask2pref.c net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
net_ipv6_maskcmp.c NuttX: Gregory Nutt: update licenses to Apache 2021-04-03 04:20:31 -07:00
net_ipv6_pref2mask.c NuttX: Gregory Nutt: update licenses to Apache 2021-04-03 04:20:31 -07:00
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: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_timeval2dsec.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
net_udpchksum.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
utils.h net: modify find device logic 2023-02-12 01:25:34 +08:00