Searched refs:IPV4_ADDR_ANY (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseRepositoryTest.java | 25 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY; 140 IPV4_ADDR_ANY /* relayAddr */, INETADDR_UNSPEC /* reqAddr */, hostname); in requestAddresses() 164 IPV4_ADDR_ANY /* relayAddr */, INETADDR_UNSPEC /* reqAddr */, HOSTNAME_NONE); in testAddressExhaustion() 223 IPV4_ADDR_ANY /* relayAddr */, INETADDR_UNSPEC /* reqAddr */, HOSTNAME_NONE); in testGetOffer_StableAddress() 227 IPV4_ADDR_ANY /* relayAddr */, INETADDR_UNSPEC /* reqAddr */, HOSTNAME_NONE); in testGetOffer_StableAddress() 238 IPV4_ADDR_ANY /* relayAddr */, INETADDR_UNSPEC /* reqAddr */, HOSTNAME_NONE); in testUpdateParams_UsesNewPrefix() 247 IPV4_ADDR_ANY /* relayAddr */, INETADDR_UNSPEC /* reqAddr */, HOSTNAME_NONE); in testGetOffer_ExistingLease() 255 mRepo.requestLease(clientId, TEST_MAC_1, IPV4_ADDR_ANY /* clientAddr */, in testGetOffer_ClientIdHasExistingLease() 256 IPV4_ADDR_ANY /* relayAddr */, TEST_INETADDR_1 /* reqAddr */, false, in testGetOffer_ClientIdHasExistingLease() 261 IPV4_ADDR_ANY /* relayAddr */, INETADDR_UNSPEC /* reqAddr */, HOSTNAME_NONE); in testGetOffer_ClientIdHasExistingLease() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 20 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY; 67 public static final Inet4Address INADDR_ANY = IPV4_ADDR_ANY; 1331 if (ipAddress.equals(IPV4_ADDR_ANY)) { in toDhcpResults() 1333 if (ipAddress.equals(IPV4_ADDR_ANY)) { in toDhcpResults()
|
D | DhcpServer.java | 41 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY; 809 return address == null || IPV4_ADDR_ANY.equals(address); in isEmpty() 849 Os.bind(mSocket, IPV4_ADDR_ANY, DHCP_SERVER); in createFd()
|
D | DhcpLeaseRepository.java | 25 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY; 245 return addr != null && !addr.equals(IPV4_ADDR_ANY) && !prefix.contains(addr); in isIpAddrOutsidePrefix()
|
D | DhcpClient.java | 54 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY; 588 Os.bind(mUdpSock, IPV4_ADDR_ANY, DhcpPacket.DHCP_CLIENT); in initUdpSocket()
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | NetworkStackConstants.java | 91 public static final Inet4Address IPV4_ADDR_ANY = intToInet4AddressHTH(0x0); field in NetworkStackConstants
|