Searched refs:DHCP_CLIENT (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 103 static final short DHCP_CLIENT = (short) 68; field in DhcpPacket 708 return (udpSrcPort == DHCP_CLIENT) || (udpDstPort == DHCP_CLIENT); in isPacketToOrFromClient() 1179 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket() 1200 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket() 1220 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildAckPacket() 1232 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildNakPacket() 1248 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildRequestPacket()
|
D | DhcpClient.java | 316 Os.bind(mUdpSock, Inet4Address.ANY, DhcpPacket.DHCP_CLIENT); in initUdpSocket()
|
/frameworks/base/tests/net/java/android/net/dhcp/ |
D | DhcpPacketTest.java | 106 DHCP_CLIENT, DHCP_SERVER, result, DHCP_BOOTREPLY, false); in buildPacket()
|