Home
last modified time | relevance | path

Searched refs:etherType (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/arp/
DArpPacket.java108 final short etherType = buffer.getShort(); in parseArpPacket() local
109 if (etherType != ETH_P_ARP) { in parseArpPacket()
110 throw new ParseException("Incorrect Ether Type: " + etherType); in parseArpPacket()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java144 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/Wifi/service/java/com/android/server/wifi/util/
DFrameParser.java91 short etherType = data.getShort(); in parseEthernetFrame() local
92 switch (etherType) { in parseEthernetFrame()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/
DNeighborAdvertisementTest.java175 assertEquals(ETH_P_IPV6, na.ethHdr.etherType); in testGratuitousNa_parse()
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/
DRouterAdvertisementDaemonTest.java167 if (ethHdr.etherType != ETHER_TYPE_IPV6) return false; in isPacketMatched()
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java252 if (ethHdr.etherType != ETHER_TYPE_IPV6) return false; in isRouterAdvertisement()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java2874 assertEquals(ETH_P_IPV6, na.ethHdr.etherType);