Home
last modified time | relevance | path

Searched refs:icmpId (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DInet6AddressImpl.java268 final int icmpId = IoBridge.getLocalInetSocketAddress(fd).getPort(); in icmpEcho() local
279 && received[4] == (byte) (icmpId >> 8) in icmpEcho()
280 && received[5] == (byte) icmpId) { in icmpEcho()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java746 int icmpId = ((InetSocketAddress) Os.getsockname(fd)).getPort(); in checkSocketPing() local
752 assertEquals(received[4], (byte) (icmpId >> 8)); in checkSocketPing()
753 assertEquals(received[5], (byte) (icmpId & 0xff)); in checkSocketPing()