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; 355 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3); in testOffer1() 388 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L3); in testOffer2() 404 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadIpPacket() 423 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadDhcpPacket() 452 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadTruncatedOffer() 483 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testBadOfferWithoutACookie() 515 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testOfferWithBadCookie() 552 DhcpPacket.decodeFullPacket(packet, len, ENCAP_L3); in testTruncatedOfferPackets() 569 DhcpPacket.decodeFullPacket(packet, packet.length, ENCAP_L3); in testRandomPackets() [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 60 public static final int ENCAP_L3 = 1; // IP/UDP header included field in DhcpPacket 456 if (encap <= ENCAP_L3) { in fillInPacket() 516 if (encap <= ENCAP_L3) { in fillInPacket() 907 if (pktType <= ENCAP_L3) { in decodeFullPacket()
|