Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java137 public static final short DHCP_CLIENT = (short) 68; field in DhcpPacket
953 return (udpSrcPort == DHCP_CLIENT) || (udpDstPort == DHCP_CLIENT); in isPacketToOrFromClient()
1525 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket()
1572 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket()
1622 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildAckPacket()
1649 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildNakPacket()
1668 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildRequestPacket()
1694 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDeclinePacket()
DDhcpServer.java19 import static android.net.dhcp.DhcpPacket.DHCP_CLIENT;
212 Os.sendto(fd, buffer, 0, dst, DhcpPacket.DHCP_CLIENT); in sendPacket()
845 if (srcPort != DHCP_CLIENT) { in onReceive()
DDhcpClient.java638 Os.bind(mUdpSock, IPV4_ADDR_ANY, DhcpPacket.DHCP_CLIENT); in initUdpSocket()
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/
DNetworkStackUtilsIntegrationTest.kt145 0 /* flags */, TEST_TARGET_IPV4_ADDR, DhcpPacket.DHCP_CLIENT.toInt() /* port */) in testAddArpEntry()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java145 DHCP_CLIENT, DHCP_SERVER, result, DHCP_BOOTREPLY, false); in buildPacket()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java31 import static android.net.dhcp.DhcpPacket.DHCP_CLIENT;
1032 if (udpSrcPort != DHCP_CLIENT || udpDstPort != DHCP_SERVER) return false;