summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2020-10-27 20:33:12 +0800
committerJakub Kicinski <kuba@kernel.org>2020-10-31 13:16:02 -0700
commitb59e286be280fa3c2e94a0716ddcee6ba02bc8ba (patch)
tree53e4da7e04e42721b77eca9e4cd50db9946dc949 /include
parent2f71e00619dcde3d8a98ba3e7f52e98282504b7d (diff)
downloadlinux-b59e286be280fa3c2e94a0716ddcee6ba02bc8ba.tar.gz
ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition
Based on RFC7112, Section 6:

   IANA has added the following "Type 4 - Parameter Problem" message to
   the "Internet Control Message Protocol version 6 (ICMPv6) Parameters"
   registry:

      CODE     NAME/DESCRIPTION
       3       IPv6 First Fragment has incomplete IPv6 Header Chain

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/icmpv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/icmpv6.h b/include/uapi/linux/icmpv6.h
index c1661febc2dc..0564fd7ccde4 100644
--- a/include/uapi/linux/icmpv6.h
+++ b/include/uapi/linux/icmpv6.h
@@ -138,6 +138,7 @@ struct icmp6hdr {
 #define ICMPV6_HDR_FIELD		0
 #define ICMPV6_UNK_NEXTHDR		1
 #define ICMPV6_UNK_OPTION		2
+#define ICMPV6_HDR_INCOMP		3
 
 /*
  *	constants for (set|get)sockopt