Searched refs:ENCAP_L3 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 33 import static android.net.dhcp.DhcpPacket.ENCAP_L3; 361 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer1() 395 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testOffer2() 430 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in runCapportOptionTest() 478 final DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3, in testCapportOption_Invalid() 494 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3, in testBadIpPacket() 514 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadDhcpPacket() 543 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadTruncatedOffer() 574 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadOfferWithoutACookie() 606 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testOfferWithBadCookie() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 78 public static final int ENCAP_L3 = 1; // IP/UDP header included field in DhcpPacket 486 if (encap <= ENCAP_L3) { in fillInPacket() 546 if (encap <= ENCAP_L3) { in fillInPacket() 972 if (pktType <= ENCAP_L3) { in decodeFullPacket()
|