Home
last modified time | relevance | path

Searched refs:IPV4_ADDR_ANY (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java25 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/
DDhcpPacket.java20 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()
DDhcpServer.java41 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()
DDhcpLeaseRepository.java25 import static com.android.server.util.NetworkStackConstants.IPV4_ADDR_ANY;
245 return addr != null && !addr.equals(IPV4_ADDR_ANY) && !prefix.contains(addr); in isIpAddrOutsidePrefix()
DDhcpClient.java54 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/
DNetworkStackConstants.java91 public static final Inet4Address IPV4_ADDR_ANY = intToInet4AddressHTH(0x0); field in NetworkStackConstants