Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/android/system/
DStructIcmpHdr.java20 import static android.system.OsConstants.ICMP_ECHO;
50 hdr.packet[0] = ipv4 ? (byte) ICMP_ECHO : (byte) ICMP6_ECHO_REQUEST; in IcmpEchoHdr()
DOsConstants.java281 /** @hide */ public static final int ICMP_ECHO = placeholder(); field in OsConstants
/libcore/luni/src/test/java/libcore/io/
DOsTest.java422 final byte ICMP_ECHO = 8, ICMP_ECHOREPLY = 0; in test_socketPing()
435 checkSocketPing(fd, ipv4Loopback, packet, ICMP_ECHO, ICMP_ECHOREPLY, true); in test_socketPing()
436 checkSocketPing(fd, ipv4Loopback, packet, ICMP_ECHO, ICMP_ECHOREPLY, false); in test_socketPing()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp251 initConstant(env, c, "ICMP_ECHO", ICMP_ECHO); in OsConstants_initConstants()