diff options
author | Andreas Roeseler <andreas.a.roeseler@gmail.com> | 2021-03-29 18:45:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-30 13:29:39 -0700 |
commit | 750f4fc2a12f6632b5aa04526bf57fa06bfe8467 (patch) | |
tree | 678a0a8d2f4e15c0a2b6e5eb87303d6f059ff3cb | |
parent | 2b246b2569cd2ac6ff700d0dce56b8bae29b1842 (diff) |
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>
-rw-r--r-- | include/uapi/linux/icmpv6.h | 3 |
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 */ |