Home
last modified time | relevance | path

Searched refs:ENCAP_L2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java513 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testPadAndOverloadedOptionsOffer()
577 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testBug2136()
612 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testUdpServerAnySourcePort()
649 DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testUdpInvalidDstPort()
680 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testMultipleRouters()
697 DhcpPacket.ENCAP_L2, transactionId, secs, hwaddr, in testDiscoverPacket()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java353 packet = DhcpPacket.decodeFullPacket(mPacket, length, DhcpPacket.ENCAP_L2); in run()
379 if (encap == DhcpPacket.ENCAP_L2) { in transmitPacket()
407 DhcpPacket.ENCAP_L2, mTransactionId, getSecs(), mHwAddr, in sendDiscoverPacket()
409 return transmitPacket(packet, "DHCPDISCOVER", DhcpPacket.ENCAP_L2, INADDR_BROADCAST); in sendDiscoverPacket()
417 ? DhcpPacket.ENCAP_L2 : DhcpPacket.ENCAP_BOOTP; in sendRequestPacket()
DDhcpPacket.java48 public static final int ENCAP_L2 = 0; // EthernetII header included field in DhcpPacket
369 if (encap == ENCAP_L2) { in fillInPacket()
769 if (pktType == ENCAP_L2) { in decodeFullPacket()