瀏覽代碼

ipv6: update icmp parameters

Change-Id: I64d082c33367f754889f7ffff68c2c9daca93d9a
Reviewed-on: https://go-review.googlesource.com/12650
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Mikio Hara 10 年之前
父節點
當前提交
eab13bbfdb
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      ipv6/iana.go

+ 4 - 2
ipv6/iana.go

@@ -3,7 +3,7 @@
 
 package ipv6
 
-// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2014-09-22
+// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2015-07-07
 const (
 	ICMPTypeDestinationUnreachable                ICMPType = 1   // Destination Unreachable
 	ICMPTypePacketTooBig                          ICMPType = 2   // Packet Too Big
@@ -39,9 +39,10 @@ const (
 	ICMPTypeILNPv6LocatorUpdate                   ICMPType = 156 // ILNPv6 Locator Update Message
 	ICMPTypeDuplicateAddressRequest               ICMPType = 157 // Duplicate Address Request
 	ICMPTypeDuplicateAddressConfirmation          ICMPType = 158 // Duplicate Address Confirmation
+	ICMPTypeMPLControl                            ICMPType = 159 // MPL Control Message
 )
 
-// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2014-09-22
+// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2015-07-07
 var icmpTypes = map[ICMPType]string{
 	1:   "destination unreachable",
 	2:   "packet too big",
@@ -77,4 +78,5 @@ var icmpTypes = map[ICMPType]string{
 	156: "ilnpv6 locator update message",
 	157: "duplicate address request",
 	158: "duplicate address confirmation",
+	159: "mpl control message",
 }