Searched refs:IPV4_ADDR_BITS (Results 1 – 4 of 4) sorted by relevance
/system/netd/libnetdutils/include/netdutils/ |
D | NetworkConstants.h | 24 constexpr int IPV4_ADDR_BITS = 32; variable
|
D | InternetAddresses.h | 138 : mData({AF_INET, IPV4_ADDR_BITS, 0U, 0U, {.v4 = ipv4}}) {} in IPAddress() 179 mData.cidrlen = IPV4_ADDR_BITS; in IPAddress()
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 101 const in_addr_t mask = (length > 0) ? (~0U) << (IPV4_ADDR_BITS - length) : 0U; in IPPrefix()
|
D | InternetAddressesTest.cpp | 445 {EQ, IPPrefix(IPAddress(IPV4_ANY), IPV4_ADDR_BITS), IPPrefix(IPAddress(IPV4_ANY))}, in TEST() 458 {LT, IPPrefix(IPAddress(IPV4_ANY), 1), IPPrefix(IPAddress(IPV4_ANY), IPV4_ADDR_BITS)}, in TEST() 461 {LT, IPPrefix(IPAddress(IPV4_ONES), 1), IPPrefix(IPAddress(IPV4_ONES), IPV4_ADDR_BITS)}, in TEST()
|