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.h27 constexpr int IPV6_ADDR_BITS = 128; variable
DInternetAddresses.h130 : mData({AF_INET6, IPV6_ADDR_BITS, 0U, 0U, {.v6 = ipv6}}) {} in IPAddress()
133 IPV6_ADDR_BITS, in IPAddress()
173 mData.cidrlen = IPV6_ADDR_BITS; in IPAddress()
/system/netd/libnetdutils/
DInternetAddressesTest.cpp410 {EQ, IPPrefix(IPAddress(IPV6_ANY), IPV6_ADDR_BITS), IPPrefix(IPAddress(IPV6_ANY))}, in TEST()
412 {EQ, IPPrefix(IPAddress(FE80_1)), IPPrefix(IPAddress(FE80_1, 0), IPV6_ADDR_BITS)}, in TEST()
436 {LT, IPPrefix(IPAddress(IPV6_ANY), 1), IPPrefix(IPAddress(IPV6_ANY), IPV6_ADDR_BITS)}, in TEST()
439 {LT, IPPrefix(IPAddress(IPV6_ONES), 1), IPPrefix(IPAddress(IPV6_ONES), IPV6_ADDR_BITS)}, in TEST()
499 EXPECT_EQ(IPV6_ADDR_BITS, IPPrefix(linkLocalPrefix.ip()).length()); in TEST()