Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java88 static final short DHCP_CLIENT = (short) 68; field in DhcpPacket
779 if ((udpSrcPort != DHCP_SERVER) && (udpSrcPort != DHCP_CLIENT)) in decodeFullPacket()
1079 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket()
1100 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildOfferPacket()
1120 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildAckPacket()
1132 return pkt.buildPacket(encap, DHCP_CLIENT, DHCP_SERVER); in buildNakPacket()
1148 ByteBuffer result = pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildRequestPacket()
DDhcpClient.java301 Os.bind(mUdpSock, Inet4Address.ANY, DhcpPacket.DHCP_CLIENT); in initSockets()
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java88 DHCP_CLIENT, DHCP_SERVER, result, DHCP_BOOTREPLY, false); in buildPacket()