Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java31 import static android.net.dhcp.DhcpPacket.ENCAP_BOOTP;
162 ByteBuffer pkt = buildPacket(ENCAP_BOOTP, (short) 0, (short) 0); in build()
175 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertDomainAndVendorInfoParses()
222 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertLeaseTimeParses()
230 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in assertLeaseTimeParses()
275 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP, in checkIpAddress()
1152 DhcpPacket.ENCAP_BOOTP, transactionId, false /* broadcast */, in checkBuildOfferPacket()
DDhcpServerTest.java21 import static android.net.dhcp.DhcpPacket.ENCAP_BOOTP;
476 return DhcpPacket.decodeFullPacket(mSentPacketCaptor.getValue(), ENCAP_BOOTP, in getPacket()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java22 import static android.net.dhcp.DhcpPacket.ENCAP_BOOTP;
687 ENCAP_BOOTP, request.mTransId, broadcastFlag, mServingParams.getServerInet4Addr(), in transmitOffer()
706 final ByteBuffer ackPacket = DhcpPacket.buildAckPacket(ENCAP_BOOTP, packet.mTransId, in transmitAck()
724 ENCAP_BOOTP, request.mTransId, mServingParams.getServerInet4Addr(), in transmitNak()
DDhcpPacketListener.java59 DhcpPacket.ENCAP_BOOTP); in handlePacket()
DDhcpPacket.java79 public static final int ENCAP_BOOTP = 2; // BOOTP contents only field in DhcpPacket
1032 if (pktType > ENCAP_BOOTP || packet.remaining() < MIN_PACKET_LENGTH_BOOTP) { in decodeFullPacket()
DDhcpClient.java688 } else if (encap == DhcpPacket.ENCAP_BOOTP && to.equals(INADDR_BROADCAST)) { in transmitPacket()
724 ? DhcpPacket.ENCAP_L2 : DhcpPacket.ENCAP_BOOTP; in sendRequestPacket()