Searched refs:DHCP_SERVER (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 134 public static final short DHCP_SERVER = (short) 67; field in DhcpPacket 868 return (udpSrcPort == DHCP_SERVER) && (udpDstPort == DHCP_SERVER); in isPacketServerToServer() 1398 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket() 1427 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket() 1455 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildAckPacket() 1467 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildNakPacket() 1483 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildRequestPacket() 1495 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDeclinePacket()
|
D | DhcpServer.java | 21 import static android.net.dhcp.DhcpPacket.DHCP_SERVER; 855 Os.bind(mSocket, IPV4_ADDR_ANY, DHCP_SERVER); in createFd()
|
D | DhcpClient.java | 600 Os.connect(mUdpSock, to, DhcpPacket.DHCP_SERVER); in connectUdpSock() 696 Os.sendto(mUdpSock, buf, 0, to, DhcpPacket.DHCP_SERVER); in transmitPacket()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 138 DHCP_CLIENT, DHCP_SERVER, result, DHCP_BOOTREPLY, false); in buildPacket()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 23 import static android.net.dhcp.DhcpPacket.DHCP_SERVER; 528 if (udpSrcPort != DHCP_CLIENT || udpDstPort != DHCP_SERVER) return false;
|