]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 27 Oct 2020 12:33:12 +0000 (20:33 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Oct 2020 20:16:02 +0000 (13:16 -0700)
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>
include/uapi/linux/icmpv6.h

index c1661febc2dc4841304bb678e235475b79fa8ec1..0564fd7ccde4180da7911f473bf2e26f04c2051e 100644 (file)
@@ -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