Searched refs:etherType (Results 1 – 7 of 7) sorted by relevance
108 final short etherType = buffer.getShort(); in parseArpPacket() local109 if (etherType != ETH_P_ARP) { in parseArpPacket()110 throw new ParseException("Incorrect Ether Type: " + etherType); in parseArpPacket()
144 final int etherType = asUint(mPacket.getShort()); in parseEther() local145 switch (etherType) { in parseEther()160 sj.add("ethtype").add(asString(etherType)); in parseEther()
91 short etherType = data.getShort(); in parseEthernetFrame() local92 switch (etherType) { in parseEthernetFrame()
175 assertEquals(ETH_P_IPV6, na.ethHdr.etherType); in testGratuitousNa_parse()
167 if (ethHdr.etherType != ETHER_TYPE_IPV6) return false; in isPacketMatched()
252 if (ethHdr.etherType != ETHER_TYPE_IPV6) return false; in isRouterAdvertisement()
2874 assertEquals(ETH_P_IPV6, na.ethHdr.etherType);