/
NetIPv6_GetAddrMatchingLen
NetIPv6_GetAddrMatchingLen
Description
Compute the number of identical most significant bits of two IPv6 addresses.
Files
net_ipv6.h/net_ipv6.c
Prototype
CPU_INT08U NetIPv6_GetAddrMatchingLen(NET_IPv6_ADDR *p_addr_1, NET_IPv6_ADDR *p_addr_2);
Arguments
p_addr_1
First IPv6 address for comparison.
p_addr_2
Second IPv6 address for comparison.
Returned Value
Number of matching bits, if any.
0, otherwise.
Required Configuration
None.
Notes / Warnings
None.
, multiple selections available,
Related content
NetIPv6_GetAddrSrc
NetIPv6_GetAddrSrc
More like this
NetIPv6_GetAddrHost
NetIPv6_GetAddrHost
More like this
NetIPv6_IsAddrHostCfgd
NetIPv6_IsAddrHostCfgd
More like this
NetIPv6_CfgAddrAdd
NetIPv6_CfgAddrAdd
More like this
NetIPv6_IsAddrUnspecified
NetIPv6_IsAddrUnspecified
More like this
NetASCII_IPv6_to_Str
NetASCII_IPv6_to_Str
More like this