Searched refs:ENCAP_BOOTP (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 31 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()
|
D | DhcpServerTest.java | 21 import static android.net.dhcp.DhcpPacket.ENCAP_BOOTP; 496 return DhcpPacket.decodeFullPacket(mSentPacketCaptor.getValue(), ENCAP_BOOTP, in getPacket()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 22 import static android.net.dhcp.DhcpPacket.ENCAP_BOOTP; 693 ENCAP_BOOTP, request.mTransId, broadcastFlag, mServingParams.getServerInet4Addr(), in transmitOffer() 712 final ByteBuffer ackPacket = DhcpPacket.buildAckPacket(ENCAP_BOOTP, packet.mTransId, in transmitAck() 730 ENCAP_BOOTP, request.mTransId, mServingParams.getServerInet4Addr(), in transmitNak()
|
D | DhcpPacketListener.java | 59 DhcpPacket.ENCAP_BOOTP); in handlePacket()
|
D | DhcpPacket.java | 79 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()
|
D | DhcpClient.java | 688 } else if (encap == DhcpPacket.ENCAP_BOOTP && to.equals(INADDR_BROADCAST)) { in transmitPacket() 724 ? DhcpPacket.ENCAP_L2 : DhcpPacket.ENCAP_BOOTP; in sendRequestPacket()
|