/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/ |
D | EthernetHeader.java | 52 public final int etherType; field in EthernetHeader 55 final int etherType) { in EthernetHeader() argument 58 this.etherType = etherType; in EthernetHeader()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/arp/ |
D | ArpPacket.java | 112 final short etherType = buffer.getShort(); in parseArpPacket() local 113 if (etherType != ETH_P_ARP) { in parseArpPacket() 114 throw new ParseException("Incorrect Ether Type: " + etherType); in parseArpPacket()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ |
D | PacketBuilder.java | 102 public void writeL2Header(MacAddress srcMac, MacAddress dstMac, short etherType) throws in writeL2Header() argument 104 final EthernetHeader ethHeader = new EthernetHeader(dstMac, srcMac, etherType); in writeL2Header()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIface.java | 384 public boolean startSendingKeepAlivePackets(int cmdId, byte[] ipPacketData, int etherType, in startSendingKeepAlivePackets() argument 387 () -> mWifiStaIface.startSendingKeepAlivePackets(cmdId, ipPacketData, etherType, in startSendingKeepAlivePackets()
|
D | IWifiStaIface.java | 235 boolean startSendingKeepAlivePackets(int cmdId, byte[] ipPacketData, int etherType, in startSendingKeepAlivePackets() argument
|
D | WifiStaIfaceHidlImpl.java | 305 public boolean startSendingKeepAlivePackets(int cmdId, byte[] ipPacketData, int etherType, in startSendingKeepAlivePackets() argument 310 etherType, srcAddress, dstAddress, periodInMs)); in startSendingKeepAlivePackets() 758 byte[] ipPacketData, int etherType, MacAddress srcAddress, MacAddress dstAddress, in startSendingKeepAlivePacketsInternal() argument 765 cmdId, data, (short) etherType, srcMac, dstMac, periodInMs); in startSendingKeepAlivePacketsInternal()
|
D | WifiStaIfaceAidlImpl.java | 633 public boolean startSendingKeepAlivePackets(int cmdId, byte[] ipPacketData, int etherType, in startSendingKeepAlivePackets() argument 639 mWifiStaIface.startSendingKeepAlivePackets(cmdId, ipPacketData, (char) etherType, in startSendingKeepAlivePackets()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 144 final int etherType = asUint(mPacket.getShort()); in parseEther() local 145 switch (etherType) { in parseEther() 160 sj.add("ethtype").add(asString(etherType)); in parseEther()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | PacketBuilderTest.java | 536 final int etherType = (l3proto == IPPROTO_IP) ? ETHER_TYPE_IPV4 : ETHER_TYPE_IPV6; in buildPacket() local 537 packetBuilder.writeL2Header(srcMac, dstMac, (short) etherType); in buildPacket() 584 assertEquals(expectedEtherType, eth.etherType); in checkEtherHeader()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 91 short etherType = data.getShort(); in parseEthernetFrame() local 92 switch (etherType) { in parseEthernetFrame()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/ |
D | NeighborSolicitationTest.java | 213 assertEquals(ETH_P_IPV6, ns.ethHdr.etherType); in assertNeighborSolicitation()
|
D | NeighborAdvertisementTest.java | 212 assertEquals(ETH_P_IPV6, na.ethHdr.etherType); in assertNeighborAdvertisement()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | RouterAdvertisementResponder.java | 93 if (ethHeader.etherType != ETHER_TYPE_IPV6) { in isRsOrNs()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | RouterAdvertisementDaemonTest.java | 164 if (ethHdr.etherType != ETHER_TYPE_IPV6) return false; in isPacketMatched()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 391 if (ethHdr.etherType != ETHER_TYPE_IPV6) return; in maybeReplyNa() 449 return Struct.parse(EthernetHeader.class, buf).etherType == expected; in hasExpectedEtherHeader()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DscpPolicyTest.kt | 417 if (etherHdr.etherType != expectedType) { in <lambda>()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1055 if (ethHdr.etherType != ETH_P_IPV6) { 3777 assertEquals(ETH_P_IPV6, na.ethHdr.etherType); 3795 assertEquals(ETH_P_IPV6, ns.ethHdr.etherType); 3936 assertEquals(ETH_P_IPV6, ns.ethHdr.etherType);
|