Home
last modified time | relevance | path

Searched refs:INADDR_BROADCAST (Results 1 – 9 of 9) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java31 import static android.net.dhcp.DhcpPacket.INADDR_BROADCAST;
688 } else if (encap == DhcpPacket.ENCAP_BOOTP && to.equals(INADDR_BROADCAST)) { in transmitPacket()
716 return transmitPacket(packet, "DHCPDISCOVER", DhcpPacket.ENCAP_L2, INADDR_BROADCAST); in sendDiscoverPacket()
743 return transmitPacket(packet, "DHCPDECLINE", DhcpPacket.ENCAP_L2, INADDR_BROADCAST); in sendDeclinePacket()
1359 INADDR_BROADCAST); // packet destination address in sendPacket()
1816 mDhcpLease.serverAddress : INADDR_BROADCAST; in packetDestination()
1840 return INADDR_BROADCAST; in packetDestination()
1866 INADDR_BROADCAST); // packet destination address in sendPacket()
DDhcpDiscoverPacket.java52 fillInPacket(encap, INADDR_BROADCAST, mSrcIp, destUdp, srcUdp, result, DHCP_BOOTREQUEST, in buildPacket()
DDhcpRequestPacket.java47 fillInPacket(encap, INADDR_BROADCAST, INADDR_ANY, destUdp, srcUdp, in buildPacket()
DDhcpOfferPacket.java60 Inet4Address destIp = mBroadcast ? INADDR_BROADCAST : mYourIp; in buildPacket()
DDhcpAckPacket.java60 Inet4Address destIp = mBroadcast ? INADDR_BROADCAST : mYourIp; in buildPacket()
DDhcpPacket.java68 public static final Inet4Address INADDR_BROADCAST = IPV4_ADDR_ALL; field in DhcpPacket
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java23 import static android.net.dhcp.DhcpPacket.INADDR_BROADCAST;
285 assertResponseSentTo(INADDR_BROADCAST); in testDiscover_OutOfAddresses()
332 assertResponseSentTo(INADDR_BROADCAST); in testRequest_Selecting_Nak()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java25 import static android.net.dhcp.DhcpPacket.INADDR_BROADCAST;
852 assertArrayEquals(INADDR_BROADCAST.getAddress(),
/packages/modules/DnsResolver/
DDnsProxyListener.cpp398 (addr == INADDR_BROADCAST); // Limited Broadcast in isSpecialUseIPv4Address()