nuttx/net/netdev
Zhe Weng 4c99ad1ba9 net/utils: Switch argument order of net_ipv6_pref2mask
When implementing IPv6-related logic, we found the `net_ipv6_pref2mask`
and `net_ipv6addr_copy` are using different argument order:
```
net_ipv6addr_copy(ifaddr->addr, addr);
net_ipv6_pref2mask(preflen, ifaddr->mask);
```
Change the order to:
```
net_ipv6addr_copy(ifaddr->addr, addr);
net_ipv6_pref2mask(ifaddr->mask, preflen);
```

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-11-07 19:30:36 +08:00
..
CMakeLists.txt net/netdev: Support multiple IPv6 addresses per device 2023-11-07 19:30:36 +08:00
Kconfig net/netdev: Support multiple IPv6 addresses per device 2023-11-07 19:30:36 +08:00
Make.defs net/netdev: Support multiple IPv6 addresses per device 2023-11-07 19:30:36 +08:00
netdev_carrier.c Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00
netdev_count.c
netdev_default.c
netdev_findbyaddr.c net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
netdev_findbyindex.c netdev: remove ASSERT when ifindex is invalid 2023-06-13 13:32:03 +08:00
netdev_findbyname.c
netdev_foreach.c
netdev_ifconf.c net/netdev: Support managing multiple IPv6 addresses by ioctl 2023-11-07 19:30:36 +08:00
netdev_input.c mm/iob: Support negative offset when copyin/out. 2023-01-31 00:39:15 +08:00
netdev_iob.c net/netdev: Avoid hardcoded guardsize when using d_iob 2023-01-18 14:41:07 +08:00
netdev_ioctl.c net/netdev: Support managing multiple IPv6 addresses by ioctl 2023-11-07 19:30:36 +08:00
netdev_ipv6.c net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
netdev_lladdrsize.c
netdev_register.c Add Cellular link layer support 2022-10-15 18:34:07 +08:00
netdev_txnotify.c net/tcp: reuse common api to replace some ip select code 2023-01-30 11:25:10 +08:00
netdev_unregister.c
netdev_verify.c
netdev.h net/l2/l3/l4: add support of iob offload 2022-12-03 11:47:04 +08:00
netdown_notifier.c