nuttx/net/utils
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 netlink: Explicitly set ip address for netlink notify 2023-11-07 19:30:36 +08:00
Kconfig
Make.defs netlink: Explicitly set ip address for netlink notify 2023-11-07 19:30:36 +08:00
net_chksum.c
net_cmsg.c
net_dsec2tick.c
net_dsec2timeval.c
net_getrandom.c net/tcp: Take out get random process as common function 2023-11-06 09:04:09 +08:00
net_icmpchksum.c
net_incr32.c
net_iob_concat.c
net_ipchksum.c
net_ipv6_maskcmp.c
net_ipv6_pref2mask.c net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
net_lock.c
net_mask2pref.c net/netdev: Support multiple IPv6 addresses per device 2023-11-07 19:30:36 +08:00
net_snoop.c refine: set file mode when oflags contains O_CREAT 2023-09-23 15:20:51 +08:00
net_tcpchksum.c
net_timeval2dsec.c
net_udpchksum.c
utils.h net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00