Home
last modified time | relevance | path

Searched refs:ENCAP_L3 (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java33 import static android.net.dhcp.DhcpPacket.ENCAP_L3;
368 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer1()
402 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer2()
437 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runCapportOptionTest()
485 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testCapportOption_Invalid()
523 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runIPv6OnlyPreferredOption()
548 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3, in testBadIpPacket()
568 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadDhcpPacket()
597 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadTruncatedOffer()
628 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadOfferWithoutACookie()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java80 public static final int ENCAP_L3 = 1; // IP/UDP header included field in DhcpPacket
518 if (encap <= ENCAP_L3) { in fillInPacket()
578 if (encap <= ENCAP_L3) { in fillInPacket()
1045 if (pktType <= ENCAP_L3) { in decodeFullPacket()