aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/icmpv6.h
diff options
context:
space:
mode:
authorAndreas Roeseler <andreas.a.roeseler@gmail.com>2021-03-29 18:45:21 -0700
committerDavid S. Miller <davem@davemloft.net>2021-03-30 13:29:39 -0700
commit750f4fc2a12f6632b5aa04526bf57fa06bfe8467 (patch)
tree678a0a8d2f4e15c0a2b6e5eb87303d6f059ff3cb /include/uapi/linux/icmpv6.h
parenticmp: add support for RFC 8335 PROBE (diff)
downloadlinux-dev-750f4fc2a12f6632b5aa04526bf57fa06bfe8467.tar.xz
linux-dev-750f4fc2a12f6632b5aa04526bf57fa06bfe8467.zip
ICMPV6: add support for RFC 8335 PROBE
Add definitions for the ICMPV6 type of Extended Echo Request and Extended Echo Reply, as defined by sections 2 and 3 of RFC 8335. Signed-off-by: Andreas Roeseler <andreas.a.roeseler@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/icmpv6.h')
-rw-r--r--include/uapi/linux/icmpv6.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/icmpv6.h b/include/uapi/linux/icmpv6.h
index 0564fd7ccde4..ecaece3af38d 100644
--- a/include/uapi/linux/icmpv6.h
+++ b/include/uapi/linux/icmpv6.h
@@ -140,6 +140,9 @@ struct icmp6hdr {
#define ICMPV6_UNK_OPTION 2
#define ICMPV6_HDR_INCOMP 3
+/* Codes for EXT_ECHO (PROBE) */
+#define ICMPV6_EXT_ECHO_REQUEST 160
+#define ICMPV6_EXT_ECHO_REPLY 161
/*
* constants for (set|get)sockopt
*/