Searched refs:icmpId (Results 1 – 2 of 2) sorted by relevance
268 final int icmpId = IoBridge.getLocalInetSocketAddress(fd).getPort(); in icmpEcho() local279 && received[4] == (byte) (icmpId >> 8) in icmpEcho()280 && received[5] == (byte) icmpId) { in icmpEcho()
746 int icmpId = ((InetSocketAddress) Os.getsockname(fd)).getPort(); in checkSocketPing() local752 assertEquals(received[4], (byte) (icmpId >> 8)); in checkSocketPing()753 assertEquals(received[5], (byte) (icmpId & 0xff)); in checkSocketPing()