Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java130 ByteBuffer pkt = buildPacket(ENCAP_BOOTP, (short) 0, (short) 0); in build()
143 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in assertDomainAndVendorInfoParses()
189 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in assertLeaseTimeParses()
196 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in assertLeaseTimeParses()
240 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); in checkIpAddress()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java402 } else if (encap == DhcpPacket.ENCAP_BOOTP && to.equals(INADDR_BROADCAST)) { in transmitPacket()
437 ? DhcpPacket.ENCAP_L2 : DhcpPacket.ENCAP_BOOTP; in sendRequestPacket()
DDhcpPacket.java53 public static final int ENCAP_BOOTP = 2; // BOOTP contents only field in DhcpPacket
854 if (pktType > ENCAP_BOOTP || packet.remaining() < MIN_PACKET_LENGTH_BOOTP) { in decodeFullPacket()