summaryrefslogtreecommitdiff
path: root/ping/rawping.h
diff options
context:
space:
mode:
Diffstat (limited to 'ping/rawping.h')
-rw-r--r--ping/rawping.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ping/rawping.h b/ping/rawping.h
index 1149180..23d9df1 100644
--- a/ping/rawping.h
+++ b/ping/rawping.h
@@ -9,11 +9,11 @@
#define ICMP_PROTO 1
// ICMP packet types
-#define ICMP_ECHO_REPLY 0
-#define ICMP_DEST_UNREACH 3
-#define ICMP_TTL_EXPIRE 11
-#define ICMP_ECHO_REQUEST 8
-#define ICMP_SOURCE_QUENCH 4
+#define PT_ICMP_ECHO_REPLY 0
+#define PT_ICMP_DEST_UNREACH 3
+#define PT_ICMP_TTL_EXPIRE 11
+#define PT_ICMP_ECHO_REQUEST 8
+#define PT_ICMP_SOURCE_QUENCH 4
// Minimum ICMP packet size, in bytes
#define ICMP_MIN 8