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/
DIcmpHeaders.java20 import static android.system.OsConstants.ICMP_ECHO;
53 bytes[0] = ipv4 ? (byte) ICMP_ECHO : (byte) ICMP6_ECHO_REQUEST; in createIcmpEchoHdr()
DOsConstants.java297 public static final int ICMP_ECHO = placeholder(); field in OsConstants
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java763 final byte ICMP_ECHO = 8, ICMP_ECHOREPLY = 0; in test_socketPing()
776 checkSocketPing(fd, ipv4Loopback, packet, ICMP_ECHO, ICMP_ECHOREPLY, true); in test_socketPing()
777 checkSocketPing(fd, ipv4Loopback, packet, ICMP_ECHO, ICMP_ECHOREPLY, false); in test_socketPing()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp252 initConstant(env, c, "ICMP_ECHO", ICMP_ECHO); in OsConstants_initConstants()