Searched refs:INADDR_BROADCAST (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
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 | 63 Inet4Address destIp = mBroadcast ? INADDR_BROADCAST : mYourIp; in buildPacket()
|
D | DhcpClient.java | 35 import static android.net.dhcp.DhcpPacket.INADDR_BROADCAST; 749 } else if (encap == DhcpPacket.ENCAP_BOOTP && to.equals(INADDR_BROADCAST)) { in transmitPacket() 783 return transmitPacket(packet, "DHCPDISCOVER", DhcpPacket.ENCAP_L2, INADDR_BROADCAST); in sendDiscoverPacket() 810 return transmitPacket(packet, "DHCPDECLINE", DhcpPacket.ENCAP_L2, INADDR_BROADCAST); in sendDeclinePacket() 1454 INADDR_BROADCAST); // packet destination address in sendPacket() 1951 mDhcpLease.serverAddress : INADDR_BROADCAST; in packetDestination() 1985 return INADDR_BROADCAST; in packetDestination() 2049 INADDR_BROADCAST); // packet destination address in sendPacket()
|
D | DhcpAckPacket.java | 62 Inet4Address destIp = mBroadcast ? INADDR_BROADCAST : mYourIp; in buildPacket()
|
D | DhcpPacket.java | 72 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; 287 assertResponseSentTo(INADDR_BROADCAST); in testDiscover_OutOfAddresses() 334 assertResponseSentTo(INADDR_BROADCAST); in testRequest_Selecting_Nak()
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 406 (addr == INADDR_BROADCAST); // Limited Broadcast in isSpecialUseIPv4Address()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 36 import static android.net.dhcp.DhcpPacket.INADDR_BROADCAST; 1492 assertArrayEquals(INADDR_BROADCAST.getAddress(),
|