Searched refs:etherType (Results 1 – 2 of 2) 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()