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
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
netdev_iob.c
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
netdev_txnotify.c
netdev_unregister.c
netdev_verify.c
netdev.h
netdown_notifier.c