Searched refs:DHCP_SERVER (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 105 static final short DHCP_SERVER = (short) 67; field in DhcpPacket 708 return (udpSrcPort == DHCP_SERVER) && (udpDstPort == DHCP_SERVER); in isPacketServerToServer() 1164 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket() 1185 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket() 1205 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildAckPacket() 1217 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildNakPacket() 1233 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildRequestPacket()
|
D | DhcpClient.java | 316 Os.connect(mUdpSock, to, DhcpPacket.DHCP_SERVER); in connectUdpSock() 390 Os.sendto(mUdpSock, buf, 0, to, DhcpPacket.DHCP_SERVER); in transmitPacket()
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 94 DHCP_CLIENT, DHCP_SERVER, result, DHCP_BOOTREPLY, false); in buildPacket()
|