Home
last modified time | relevance | path

Searched refs:DHCP_SERVER (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java108 static final short DHCP_SERVER = (short) 67; field in DhcpPacket
712 return (udpSrcPort == DHCP_SERVER) && (udpDstPort == DHCP_SERVER); in isPacketServerToServer()
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()
DDhcpClient.java329 Os.connect(mUdpSock, to, DhcpPacket.DHCP_SERVER); in connectUdpSock()
410 Os.sendto(mUdpSock, buf, 0, to, DhcpPacket.DHCP_SERVER); in transmitPacket()
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java106 DHCP_CLIENT, DHCP_SERVER, result, DHCP_BOOTREPLY, false); in buildPacket()