commit | 435ccdbc49f729bdfeff2a48489af9fccd36da22 | [log] [tgz] |
---|---|---|
author | Andrew Zaborowski <andrew.zaborowski@intel.com> | Sat May 14 00:46:57 2022 +0200 |
committer | Denis Kenzior <denkenz@gmail.com> | Wed May 18 13:30:15 2022 -0500 |
tree | 0afda47565dfcfdf902f34d96adf767e92727369 | |
parent | eae16fd59cd8d95b834b6e72ab9d121e177762f2 [diff] |
net: Add net_prefix_from_ipv6 utility Add function that zeroes bits after prefix_len'th bit in an address. Put it in net-private.h so it can be used by both netconfig.c and icmp6.c, potentially others.