Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java118 ByteBuffer pkt = buildPacket(ENCAP_BOOTP, (short) 0, (short) 0); in build()
131 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in assertDomainAndVendorInfoParses()
177 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in assertLeaseTimeParses()
184 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in assertLeaseTimeParses()
228 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in checkIpAddress()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java382 } else if (encap == DhcpPacket.ENCAP_BOOTP && to.equals(INADDR_BROADCAST)) { in transmitPacket()
417 ? DhcpPacket.ENCAP_L2 : DhcpPacket.ENCAP_BOOTP; in sendRequestPacket()
DDhcpPacket.java50 public static final int ENCAP_BOOTP = 2; // BOOTP contents only field in DhcpPacket
849 if (pktType > ENCAP_BOOTP || packet.remaining() < MIN_PACKET_LENGTH_BOOTP) { in decodeFullPacket()