Searched refs:INADDR_BROADCAST (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 31 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()
|
D | DhcpDiscoverPacket.java | 52 fillInPacket(encap, INADDR_BROADCAST, mSrcIp, destUdp, srcUdp, result, DHCP_BOOTREQUEST, in buildPacket()
|
D | DhcpRequestPacket.java | 47 fillInPacket(encap, INADDR_BROADCAST, INADDR_ANY, destUdp, srcUdp, in buildPacket()
|
D | DhcpOfferPacket.java | 60 Inet4Address destIp = mBroadcast ? INADDR_BROADCAST : mYourIp; in buildPacket()
|
D | DhcpAckPacket.java | 60 Inet4Address destIp = mBroadcast ? INADDR_BROADCAST : mYourIp; in buildPacket()
|
D | DhcpPacket.java | 68 public static final Inet4Address INADDR_BROADCAST = IPV4_ADDR_ALL; field in DhcpPacket
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 23 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/ |
D | IpClientIntegrationTest.java | 25 import static android.net.dhcp.DhcpPacket.INADDR_BROADCAST; 852 assertArrayEquals(INADDR_BROADCAST.getAddress(),
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 398 (addr == INADDR_BROADCAST); // Limited Broadcast in isSpecialUseIPv4Address()
|