Searched refs:receivedPacket (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6AddressImpl.java | 271 DatagramPacket receivedPacket = new DatagramPacket(received, packet.length); in icmpEcho() local 273 .recvfrom(true, fd, received, 0, received.length, 0, receivedPacket, false); in icmpEcho() 277 if (receivedPacket.getAddress().equals(addr) in icmpEcho()
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 697 byte[] receivedPacket = new byte[4096]; in test_PacketSocketAddress() 698 Os.read(fd, receivedPacket, 0, receivedPacket.length); in test_PacketSocketAddress() 699 assertEquals(6, (receivedPacket[0] & 0xf0) >> 4); in test_PacketSocketAddress() 701 byte[] sourceAddress = getIPv6AddressBytesAtOffset(receivedPacket, 8); in test_PacketSocketAddress() 704 byte[] destAddress = getIPv6AddressBytesAtOffset(receivedPacket, 24); in test_PacketSocketAddress()
|