Searched refs:etherType (Results 1 – 9 of 9) sorted by relevance
52 public final int etherType; field in EthernetHeader55 final int etherType) { in EthernetHeader() argument58 this.etherType = etherType; in EthernetHeader()
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()
175 assertEquals(ETH_P_IPV6, na.ethHdr.etherType); in testGratuitousNa_parse()
91 short etherType = data.getShort(); in parseEthernetFrame() local92 switch (etherType) { in parseEthernetFrame()
167 if (ethHdr.etherType != ETHER_TYPE_IPV6) return false; in isPacketMatched()
432 * @param etherType 16 bit ether type to be set in the ethernet frame446 CommandId cmdId, vec<uint8_t> ipPacketData, uint16_t etherType,
256 if (ethHdr.etherType != ETHER_TYPE_IPV6) return false; in isRouterAdvertisement()
2874 assertEquals(ETH_P_IPV6, na.ethHdr.etherType);