Home
last modified time | relevance | path

Searched refs:IPV6_ADDR_BITS (Results 1 – 3 of 3) sorted by relevance

/system/netd/libnetdutils/include/netdutils/
DNetworkConstants.h26 constexpr int IPV6_ADDR_BITS = 128; variable
DInternetAddresses.h140 : mData({AF_INET6, IPV6_ADDR_BITS, 0U, 0U, {.v6 = ipv6}}) {} in IPAddress()
143 IPV6_ADDR_BITS, in IPAddress()
183 mData.cidrlen = IPV6_ADDR_BITS; in IPAddress()
/system/netd/libnetdutils/
DInternetAddressesTest.cpp447 {EQ, IPPrefix(IPAddress(IPV6_ANY), IPV6_ADDR_BITS), IPPrefix(IPAddress(IPV6_ANY))}, in TEST()
449 {EQ, IPPrefix(IPAddress(FE80_1)), IPPrefix(IPAddress(FE80_1, 0), IPV6_ADDR_BITS)}, in TEST()
473 {LT, IPPrefix(IPAddress(IPV6_ANY), 1), IPPrefix(IPAddress(IPV6_ANY), IPV6_ADDR_BITS)}, in TEST()
476 {LT, IPPrefix(IPAddress(IPV6_ONES), 1), IPPrefix(IPAddress(IPV6_ONES), IPV6_ADDR_BITS)}, in TEST()
536 EXPECT_EQ(IPV6_ADDR_BITS, IPPrefix(linkLocalPrefix.ip()).length()); in TEST()