Searched refs:parseArpPacket (Results 1 – 4 of 4) sorted by relevance
163 final ArpPacket packet = ArpPacket.parseArpPacket(TEST_ARP_PROBE, TEST_ARP_PROBE.length); in testParseArpProbePacket()173 final ArpPacket packet = ArpPacket.parseArpPacket(TEST_ARP_ANNOUNCE, in testParseArpAnnouncePacket()184 assertThrows(ArpPacket.ParseException.class, () -> ArpPacket.parseArpPacket( in testParseArpPacket_invalidByteBufferParameters()190 assertThrows(ArpPacket.ParseException.class, () -> ArpPacket.parseArpPacket( in testParseArpPacket_truncatedPacket()196 assertThrows(ArpPacket.ParseException.class, () -> ArpPacket.parseArpPacket( in testParseArpPacket_truncatedMacAddress()
95 public static ArpPacket parseArpPacket(final byte[] recvbuf, final int length) in parseArpPacket() method in ArpPacket
1451 final ArpPacket packet = ArpPacket.parseArpPacket(recvbuf, length); in handlePacket()
545 return ArpPacket.parseArpPacket(packet, packet.length);