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;
369 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer1()
403 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer2()
438 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runCapportOptionTest()
486 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testCapportOption_Invalid()
524 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runIPv6OnlyPreferredOption()
549 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3, in testBadIpPacket()
569 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadDhcpPacket()
598 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadTruncatedOffer()
629 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadOfferWithoutACookie()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java82 public static final int ENCAP_L3 = 1; // IP/UDP header included field in DhcpPacket
527 if (encap <= ENCAP_L3) { in fillInPacket()
587 if (encap <= ENCAP_L3) { in fillInPacket()
1064 if (pktType <= ENCAP_L3) { in decodeFullPacket()