Mikio Hara | 5f6a501 | 2014-11-10 09:48:36 +0900 | [diff] [blame] | 1 | // go generate gen.go |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 2 | // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT |
| 3 | |
| 4 | package ipv6 |
| 5 | |
Mikio Hara | eab13bb | 2015-07-24 21:13:09 +0900 | [diff] [blame] | 6 | // Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2015-07-07 |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 7 | const ( |
| 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 |
Mikio Hara | eab13bb | 2015-07-24 21:13:09 +0900 | [diff] [blame] | 42 | ICMPTypeMPLControl ICMPType = 159 // MPL Control Message |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 43 | ) |
| 44 | |
Mikio Hara | eab13bb | 2015-07-24 21:13:09 +0900 | [diff] [blame] | 45 | // Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2015-07-07 |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 46 | var icmpTypes = map[ICMPType]string{ |
| 47 | 1: "destination unreachable", |
| 48 | 2: "packet too big", |
| 49 | 3: "time exceeded", |
| 50 | 4: "parameter problem", |
| 51 | 128: "echo request", |
| 52 | 129: "echo reply", |
| 53 | 130: "multicast listener query", |
| 54 | 131: "multicast listener report", |
| 55 | 132: "multicast listener done", |
| 56 | 133: "router solicitation", |
| 57 | 134: "router advertisement", |
| 58 | 135: "neighbor solicitation", |
| 59 | 136: "neighbor advertisement", |
| 60 | 137: "redirect message", |
| 61 | 138: "router renumbering", |
| 62 | 139: "icmp node information query", |
| 63 | 140: "icmp node information response", |
| 64 | 141: "inverse neighbor discovery solicitation message", |
| 65 | 142: "inverse neighbor discovery advertisement message", |
| 66 | 143: "version 2 multicast listener report", |
| 67 | 144: "home agent address discovery request message", |
| 68 | 145: "home agent address discovery reply message", |
| 69 | 146: "mobile prefix solicitation", |
| 70 | 147: "mobile prefix advertisement", |
| 71 | 148: "certification path solicitation message", |
| 72 | 149: "certification path advertisement message", |
| 73 | 151: "multicast router advertisement", |
| 74 | 152: "multicast router solicitation", |
| 75 | 153: "multicast router termination", |
| 76 | 154: "fmipv6 messages", |
| 77 | 155: "rpl control message", |
| 78 | 156: "ilnpv6 locator update message", |
| 79 | 157: "duplicate address request", |
| 80 | 158: "duplicate address confirmation", |
Mikio Hara | eab13bb | 2015-07-24 21:13:09 +0900 | [diff] [blame] | 81 | 159: "mpl control message", |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 82 | } |