Searched refs:ENCAP_L2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 513 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/ |
D | DhcpClient.java | 353 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()
|
D | DhcpPacket.java | 48 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()
|