Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java701 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testPadAndOverloadedOptionsOffer()
763 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testBug2136()
797 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testUdpServerAnySourcePort()
833 DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testUdpInvalidDstPort()
863 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_L2); in testMultipleRouters()
880 DhcpPacket.ENCAP_L2, transactionId, secs, hwaddr, in testDiscoverPacket()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java366 packet = DhcpPacket.decodeFullPacket(mPacket, length, DhcpPacket.ENCAP_L2); in run()
399 if (encap == DhcpPacket.ENCAP_L2) { in transmitPacket()
427 DhcpPacket.ENCAP_L2, mTransactionId, getSecs(), mHwAddr, in sendDiscoverPacket()
429 return transmitPacket(packet, "DHCPDISCOVER", DhcpPacket.ENCAP_L2, INADDR_BROADCAST); in sendDiscoverPacket()
437 ? DhcpPacket.ENCAP_L2 : DhcpPacket.ENCAP_BOOTP; in sendRequestPacket()
DDhcpPacket.java51 public static final int ENCAP_L2 = 0; // EthernetII header included field in DhcpPacket
372 if (encap == ENCAP_L2) { in fillInPacket()
774 if (pktType == ENCAP_L2) { in decodeFullPacket()
/frameworks/base/services/net/java/android/net/util/
DConnectivityPacketSummary.java338 dhcpPacket = DhcpPacket.decodeFullPacket(mBytes, mLength, DhcpPacket.ENCAP_L2); in parseDHCPv4()