1// go generate gen.go 2// Code generated by the command above; DO NOT EDIT. 3 4package ipv6 5 6// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2018-03-09 7const ( 8 ICMPTypeDestinationUnreachable ICMPType = 1 // Destination Unreachable 9 ICMPTypePacketTooBig ICMPType = 2 // Packet Too Big 10 ICMPTypeTimeExceeded ICMPType = 3 // Time Exceeded 11 ICMPTypeParameterProblem ICMPType = 4 // Parameter Problem 12 ICMPTypeEchoRequest ICMPType = 128 // Echo Request 13 ICMPTypeEchoReply ICMPType = 129 // Echo Reply 14 ICMPTypeMulticastListenerQuery ICMPType = 130 // Multicast Listener Query 15 ICMPTypeMulticastListenerReport ICMPType = 131 // Multicast Listener Report 16 ICMPTypeMulticastListenerDone ICMPType = 132 // Multicast Listener Done 17 ICMPTypeRouterSolicitation ICMPType = 133 // Router Solicitation 18 ICMPTypeRouterAdvertisement ICMPType = 134 // Router Advertisement 19 ICMPTypeNeighborSolicitation ICMPType = 135 // Neighbor Solicitation 20 ICMPTypeNeighborAdvertisement ICMPType = 136 // Neighbor Advertisement 21 ICMPTypeRedirect ICMPType = 137 // Redirect Message 22 ICMPTypeRouterRenumbering ICMPType = 138 // Router Renumbering 23 ICMPTypeNodeInformationQuery ICMPType = 139 // ICMP Node Information Query 24 ICMPTypeNodeInformationResponse ICMPType = 140 // ICMP Node Information Response 25 ICMPTypeInverseNeighborDiscoverySolicitation ICMPType = 141 // Inverse Neighbor Discovery Solicitation Message 26 ICMPTypeInverseNeighborDiscoveryAdvertisement ICMPType = 142 // Inverse Neighbor Discovery Advertisement Message 27 ICMPTypeVersion2MulticastListenerReport ICMPType = 143 // Version 2 Multicast Listener Report 28 ICMPTypeHomeAgentAddressDiscoveryRequest ICMPType = 144 // Home Agent Address Discovery Request Message 29 ICMPTypeHomeAgentAddressDiscoveryReply ICMPType = 145 // Home Agent Address Discovery Reply Message 30 ICMPTypeMobilePrefixSolicitation ICMPType = 146 // Mobile Prefix Solicitation 31 ICMPTypeMobilePrefixAdvertisement ICMPType = 147 // Mobile Prefix Advertisement 32 ICMPTypeCertificationPathSolicitation ICMPType = 148 // Certification Path Solicitation Message 33 ICMPTypeCertificationPathAdvertisement ICMPType = 149 // Certification Path Advertisement Message 34 ICMPTypeMulticastRouterAdvertisement ICMPType = 151 // Multicast Router Advertisement 35 ICMPTypeMulticastRouterSolicitation ICMPType = 152 // Multicast Router Solicitation 36 ICMPTypeMulticastRouterTermination ICMPType = 153 // Multicast Router Termination 37 ICMPTypeFMIPv6 ICMPType = 154 // FMIPv6 Messages 38 ICMPTypeRPLControl ICMPType = 155 // RPL Control Message 39 ICMPTypeILNPv6LocatorUpdate ICMPType = 156 // ILNPv6 Locator Update Message 40 ICMPTypeDuplicateAddressRequest ICMPType = 157 // Duplicate Address Request 41 ICMPTypeDuplicateAddressConfirmation ICMPType = 158 // Duplicate Address Confirmation 42 ICMPTypeMPLControl ICMPType = 159 // MPL Control Message 43 ICMPTypeExtendedEchoRequest ICMPType = 160 // Extended Echo Request 44 ICMPTypeExtendedEchoReply ICMPType = 161 // Extended Echo Reply 45) 46 47// Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2018-03-09 48var icmpTypes = map[ICMPType]string{ 49 1: "destination unreachable", 50 2: "packet too big", 51 3: "time exceeded", 52 4: "parameter problem", 53 128: "echo request", 54 129: "echo reply", 55 130: "multicast listener query", 56 131: "multicast listener report", 57 132: "multicast listener done", 58 133: "router solicitation", 59 134: "router advertisement", 60 135: "neighbor solicitation", 61 136: "neighbor advertisement", 62 137: "redirect message", 63 138: "router renumbering", 64 139: "icmp node information query", 65 140: "icmp node information response", 66 141: "inverse neighbor discovery solicitation message", 67 142: "inverse neighbor discovery advertisement message", 68 143: "version 2 multicast listener report", 69 144: "home agent address discovery request message", 70 145: "home agent address discovery reply message", 71 146: "mobile prefix solicitation", 72 147: "mobile prefix advertisement", 73 148: "certification path solicitation message", 74 149: "certification path advertisement message", 75 151: "multicast router advertisement", 76 152: "multicast router solicitation", 77 153: "multicast router termination", 78 154: "fmipv6 messages", 79 155: "rpl control message", 80 156: "ilnpv6 locator update message", 81 157: "duplicate address request", 82 158: "duplicate address confirmation", 83 159: "mpl control message", 84 160: "extended echo request", 85 161: "extended echo reply", 86} 87