Thread (12 messages) 12 messages, 3 authors, 2021-03-29

[PATCH net-next V5 2/6] ICMPV6: add support for RFC 8335 PROBE

flat view
STALE2041d SUPERSEDED

From: Andreas Roeseler <hidden>
Date: 2021-03-24 18:18:54
Subsystem: the rest · Maintainer: Linus Torvalds

Status: Superseded by v6 (posted 2021-03-30). [go to v6]

Revision v5 (6 revisions archived).

Revisions (6)
  1. v1
  2. v2 [diff against previous]
  3. v3 [diff against previous]
  4. v4 [diff against previous]
  5. v5 current [diff against previous]
  6. v6 [diff against previous]
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 <redacted>
---
 include/uapi/linux/icmpv6.h | 3 +++
 1 file changed, 3 insertions(+)
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
  */
-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help