History

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.

Andreas Roeseler committed 5 years ago

Commit 750f4fc1 parent 2b246b21 file · +3 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/icmpv6.h+3−0
@@ -140,6 +140,9 @@ struct icmp6hdr { · 139 unmodified lines
140140 #define ICMPV6_UNK_OPTION 2
141141 #define ICMPV6_HDR_INCOMP 3
142142
143+/* Codes for EXT_ECHO (PROBE) */
144+#define ICMPV6_EXT_ECHO_REQUEST 160
145+#define ICMPV6_EXT_ECHO_REPLY 161
143146 /*
144147 * constants for (set|get)sockopt
145148 */