Home
last modified time | relevance | path

Searched refs:parseArpPacket (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/
DArpPacketTest.java163 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()
/packages/modules/NetworkStack/src/com/android/networkstack/arp/
DArpPacket.java95 public static ArpPacket parseArpPacket(final byte[] recvbuf, final int length) in parseArpPacket() method in ArpPacket
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java1451 final ArpPacket packet = ArpPacket.parseArpPacket(recvbuf, length); in handlePacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java545 return ArpPacket.parseArpPacket(packet, packet.length);