Searched refs:IPV4_ADDR_BITS (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/ |
D | NetworkConstants.h | 24 constexpr int IPV4_ADDR_BITS = 32; variable
|
D | InternetAddresses.h | 139 : mData({AF_INET, IPV4_ADDR_BITS, 0U, 0U, {.v4 = ipv4}}) {} in IPAddress() 180 mData.cidrlen = IPV4_ADDR_BITS; in IPAddress()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/ |
D | PrefixUtils.java | 81 ? NetworkConstants.IPV4_ADDR_BITS in ipAddressAsPrefix()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | NetworkStackConstants.java | 88 public static final int IPV4_ADDR_BITS = 32; field in NetworkStackConstants
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | InternetAddressesTest.cpp | 632 {EQ, IPPrefix(IPAddress(IPV4_ANY), IPV4_ADDR_BITS), IPPrefix(IPAddress(IPV4_ANY))}, in TEST() 645 {LT, IPPrefix(IPAddress(IPV4_ANY), 1), IPPrefix(IPAddress(IPV4_ANY), IPV4_ADDR_BITS)}, in TEST() 648 {LT, IPPrefix(IPAddress(IPV4_ONES), 1), IPPrefix(IPAddress(IPV4_ONES), IPV4_ADDR_BITS)}, in TEST()
|
D | InternetAddresses.cpp | 102 const in_addr_t mask = (length > 0) ? (~0U) << (IPV4_ADDR_BITS - length) : 0U; in IPPrefix()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpLeaseRepository.java | 26 import static com.android.net.module.util.NetworkStackConstants.IPV4_ADDR_BITS; 153 mNumAddresses = clientAddr != null ? 1 : 1 << (IPV4_ADDR_BITS - subnetPrefixLength); in updateParams()
|