Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 1 | // go run gen.go |
| 2 | // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT |
| 3 | |
| 4 | package ipv6 |
| 5 | |
Mikio Hara | 842db47 | 2013-10-14 09:30:06 +0900 | [diff] [blame^] | 6 | // Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2013-07-03 |
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 |
| 42 | ) |
| 43 | |
Mikio Hara | 842db47 | 2013-10-14 09:30:06 +0900 | [diff] [blame^] | 44 | // Internet Control Message Protocol version 6 (ICMPv6) Parameters, Updated: 2013-07-03 |
Mikio Hara | cdfc4ce | 2013-06-04 17:42:58 +0900 | [diff] [blame] | 45 | var icmpTypes = map[ICMPType]string{ |
| 46 | 1: "destination unreachable", |
| 47 | 2: "packet too big", |
| 48 | 3: "time exceeded", |
| 49 | 4: "parameter problem", |
| 50 | 128: "echo request", |
| 51 | 129: "echo reply", |
| 52 | 130: "multicast listener query", |
| 53 | 131: "multicast listener report", |
| 54 | 132: "multicast listener done", |
| 55 | 133: "router solicitation", |
| 56 | 134: "router advertisement", |
| 57 | 135: "neighbor solicitation", |
| 58 | 136: "neighbor advertisement", |
| 59 | 137: "redirect message", |
| 60 | 138: "router renumbering", |
| 61 | 139: "icmp node information query", |
| 62 | 140: "icmp node information response", |
| 63 | 141: "inverse neighbor discovery solicitation message", |
| 64 | 142: "inverse neighbor discovery advertisement message", |
| 65 | 143: "version 2 multicast listener report", |
| 66 | 144: "home agent address discovery request message", |
| 67 | 145: "home agent address discovery reply message", |
| 68 | 146: "mobile prefix solicitation", |
| 69 | 147: "mobile prefix advertisement", |
| 70 | 148: "certification path solicitation message", |
| 71 | 149: "certification path advertisement message", |
| 72 | 151: "multicast router advertisement", |
| 73 | 152: "multicast router solicitation", |
| 74 | 153: "multicast router termination", |
| 75 | 154: "fmipv6 messages", |
| 76 | 155: "rpl control message", |
| 77 | 156: "ilnpv6 locator update message", |
| 78 | 157: "duplicate address request", |
| 79 | 158: "duplicate address confirmation", |
| 80 | } |
| 81 | |
| 82 | // Protocol Numbers, Updated: 2013-02-17 |
| 83 | const ( |
| 84 | ianaProtocolHOPOPT = 0 // IPv6 Hop-by-Hop Option |
| 85 | ianaProtocolICMP = 1 // Internet Control Message |
| 86 | ianaProtocolIGMP = 2 // Internet Group Management |
| 87 | ianaProtocolGGP = 3 // Gateway-to-Gateway |
| 88 | ianaProtocolIPv4 = 4 // IPv4 encapsulation |
| 89 | ianaProtocolST = 5 // Stream |
| 90 | ianaProtocolTCP = 6 // Transmission Control |
| 91 | ianaProtocolCBT = 7 // CBT |
| 92 | ianaProtocolEGP = 8 // Exterior Gateway Protocol |
| 93 | ianaProtocolIGP = 9 // any private interior gateway (used by Cisco for their IGRP) |
| 94 | ianaProtocolBBNRCCMON = 10 // BBN RCC Monitoring |
| 95 | ianaProtocolNVPII = 11 // Network Voice Protocol |
| 96 | ianaProtocolPUP = 12 // PUP |
| 97 | ianaProtocolARGUS = 13 // ARGUS |
| 98 | ianaProtocolEMCON = 14 // EMCON |
| 99 | ianaProtocolXNET = 15 // Cross Net Debugger |
| 100 | ianaProtocolCHAOS = 16 // Chaos |
| 101 | ianaProtocolUDP = 17 // User Datagram |
| 102 | ianaProtocolMUX = 18 // Multiplexing |
| 103 | ianaProtocolDCNMEAS = 19 // DCN Measurement Subsystems |
| 104 | ianaProtocolHMP = 20 // Host Monitoring |
| 105 | ianaProtocolPRM = 21 // Packet Radio Measurement |
| 106 | ianaProtocolXNSIDP = 22 // XEROX NS IDP |
| 107 | ianaProtocolTRUNK1 = 23 // Trunk-1 |
| 108 | ianaProtocolTRUNK2 = 24 // Trunk-2 |
| 109 | ianaProtocolLEAF1 = 25 // Leaf-1 |
| 110 | ianaProtocolLEAF2 = 26 // Leaf-2 |
| 111 | ianaProtocolRDP = 27 // Reliable Data Protocol |
| 112 | ianaProtocolIRTP = 28 // Internet Reliable Transaction |
| 113 | ianaProtocolISOTP4 = 29 // ISO Transport Protocol Class 4 |
| 114 | ianaProtocolNETBLT = 30 // Bulk Data Transfer Protocol |
| 115 | ianaProtocolMFENSP = 31 // MFE Network Services Protocol |
| 116 | ianaProtocolMERITINP = 32 // MERIT Internodal Protocol |
| 117 | ianaProtocolDCCP = 33 // Datagram Congestion Control Protocol |
| 118 | ianaProtocol3PC = 34 // Third Party Connect Protocol |
| 119 | ianaProtocolIDPR = 35 // Inter-Domain Policy Routing Protocol |
| 120 | ianaProtocolXTP = 36 // XTP |
| 121 | ianaProtocolDDP = 37 // Datagram Delivery Protocol |
| 122 | ianaProtocolIDPRCMTP = 38 // IDPR Control Message Transport Proto |
| 123 | ianaProtocolTPPP = 39 // TP++ Transport Protocol |
| 124 | ianaProtocolIL = 40 // IL Transport Protocol |
| 125 | ianaProtocolIPv6 = 41 // IPv6 encapsulation |
| 126 | ianaProtocolSDRP = 42 // Source Demand Routing Protocol |
| 127 | ianaProtocolIPv6Route = 43 // Routing Header for IPv6 |
| 128 | ianaProtocolIPv6Frag = 44 // Fragment Header for IPv6 |
| 129 | ianaProtocolIDRP = 45 // Inter-Domain Routing Protocol |
| 130 | ianaProtocolRSVP = 46 // Reservation Protocol |
| 131 | ianaProtocolGRE = 47 // Generic Routing Encapsulation |
| 132 | ianaProtocolDSR = 48 // Dynamic Source Routing Protocol |
| 133 | ianaProtocolBNA = 49 // BNA |
| 134 | ianaProtocolESP = 50 // Encap Security Payload |
| 135 | ianaProtocolAH = 51 // Authentication Header |
| 136 | ianaProtocolINLSP = 52 // Integrated Net Layer Security TUBA |
| 137 | ianaProtocolSWIPE = 53 // IP with Encryption |
| 138 | ianaProtocolNARP = 54 // NBMA Address Resolution Protocol |
| 139 | ianaProtocolMOBILE = 55 // IP Mobility |
| 140 | ianaProtocolTLSP = 56 // Transport Layer Security Protocol using Kryptonet key management |
| 141 | ianaProtocolSKIP = 57 // SKIP |
| 142 | ianaProtocolIPv6ICMP = 58 // ICMP for IPv6 |
| 143 | ianaProtocolIPv6NoNxt = 59 // No Next Header for IPv6 |
| 144 | ianaProtocolIPv6Opts = 60 // Destination Options for IPv6 |
| 145 | ianaProtocolCFTP = 62 // CFTP |
| 146 | ianaProtocolSATEXPAK = 64 // SATNET and Backroom EXPAK |
| 147 | ianaProtocolKRYPTOLAN = 65 // Kryptolan |
| 148 | ianaProtocolRVD = 66 // MIT Remote Virtual Disk Protocol |
| 149 | ianaProtocolIPPC = 67 // Internet Pluribus Packet Core |
| 150 | ianaProtocolSATMON = 69 // SATNET Monitoring |
| 151 | ianaProtocolVISA = 70 // VISA Protocol |
| 152 | ianaProtocolIPCV = 71 // Internet Packet Core Utility |
| 153 | ianaProtocolCPNX = 72 // Computer Protocol Network Executive |
| 154 | ianaProtocolCPHB = 73 // Computer Protocol Heart Beat |
| 155 | ianaProtocolWSN = 74 // Wang Span Network |
| 156 | ianaProtocolPVP = 75 // Packet Video Protocol |
| 157 | ianaProtocolBRSATMON = 76 // Backroom SATNET Monitoring |
| 158 | ianaProtocolSUNND = 77 // SUN ND PROTOCOL-Temporary |
| 159 | ianaProtocolWBMON = 78 // WIDEBAND Monitoring |
| 160 | ianaProtocolWBEXPAK = 79 // WIDEBAND EXPAK |
| 161 | ianaProtocolISOIP = 80 // ISO Internet Protocol |
| 162 | ianaProtocolVMTP = 81 // VMTP |
| 163 | ianaProtocolSECUREVMTP = 82 // SECURE-VMTP |
| 164 | ianaProtocolVINES = 83 // VINES |
| 165 | ianaProtocolTTP = 84 // TTP |
| 166 | ianaProtocolIPTM = 84 // Protocol Internet Protocol Traffic Manager |
| 167 | ianaProtocolNSFNETIGP = 85 // NSFNET-IGP |
| 168 | ianaProtocolDGP = 86 // Dissimilar Gateway Protocol |
| 169 | ianaProtocolTCF = 87 // TCF |
| 170 | ianaProtocolEIGRP = 88 // EIGRP |
| 171 | ianaProtocolOSPFIGP = 89 // OSPFIGP |
| 172 | ianaProtocolSpriteRPC = 90 // Sprite RPC Protocol |
| 173 | ianaProtocolLARP = 91 // Locus Address Resolution Protocol |
| 174 | ianaProtocolMTP = 92 // Multicast Transport Protocol |
| 175 | ianaProtocolAX25 = 93 // AX.25 Frames |
| 176 | ianaProtocolIPIP = 94 // IP-within-IP Encapsulation Protocol |
| 177 | ianaProtocolMICP = 95 // Mobile Internetworking Control Pro. |
| 178 | ianaProtocolSCCSP = 96 // Semaphore Communications Sec. Pro. |
| 179 | ianaProtocolETHERIP = 97 // Ethernet-within-IP Encapsulation |
| 180 | ianaProtocolENCAP = 98 // Encapsulation Header |
| 181 | ianaProtocolGMTP = 100 // GMTP |
| 182 | ianaProtocolIFMP = 101 // Ipsilon Flow Management Protocol |
| 183 | ianaProtocolPNNI = 102 // PNNI over IP |
| 184 | ianaProtocolPIM = 103 // Protocol Independent Multicast |
| 185 | ianaProtocolARIS = 104 // ARIS |
| 186 | ianaProtocolSCPS = 105 // SCPS |
| 187 | ianaProtocolQNX = 106 // QNX |
| 188 | ianaProtocolAN = 107 // Active Networks |
| 189 | ianaProtocolIPComp = 108 // IP Payload Compression Protocol |
| 190 | ianaProtocolSNP = 109 // Sitara Networks Protocol |
| 191 | ianaProtocolCompaqPeer = 110 // Compaq Peer Protocol |
| 192 | ianaProtocolIPXinIP = 111 // IPX in IP |
| 193 | ianaProtocolVRRP = 112 // Virtual Router Redundancy Protocol |
| 194 | ianaProtocolPGM = 113 // PGM Reliable Transport Protocol |
| 195 | ianaProtocolL2TP = 115 // Layer Two Tunneling Protocol |
| 196 | ianaProtocolDDX = 116 // D-II Data Exchange (DDX) |
| 197 | ianaProtocolIATP = 117 // Interactive Agent Transfer Protocol |
| 198 | ianaProtocolSTP = 118 // Schedule Transfer Protocol |
| 199 | ianaProtocolSRP = 119 // SpectraLink Radio Protocol |
| 200 | ianaProtocolUTI = 120 // UTI |
| 201 | ianaProtocolSMP = 121 // Simple Message Protocol |
| 202 | ianaProtocolSM = 122 // SM |
| 203 | ianaProtocolPTP = 123 // Performance Transparency Protocol |
| 204 | ianaProtocolISIS = 124 // ISIS over IPv4 |
| 205 | ianaProtocolFIRE = 125 // FIRE |
| 206 | ianaProtocolCRTP = 126 // Combat Radio Transport Protocol |
| 207 | ianaProtocolCRUDP = 127 // Combat Radio User Datagram |
| 208 | ianaProtocolSSCOPMCE = 128 // SSCOPMCE |
| 209 | ianaProtocolIPLT = 129 // IPLT |
| 210 | ianaProtocolSPS = 130 // Secure Packet Shield |
| 211 | ianaProtocolPIPE = 131 // Private IP Encapsulation within IP |
| 212 | ianaProtocolSCTP = 132 // Stream Control Transmission Protocol |
| 213 | ianaProtocolFC = 133 // Fibre Channel |
| 214 | ianaProtocolRSVPE2EIGNORE = 134 // RSVP-E2E-IGNORE |
| 215 | ianaProtocolMobilityHeader = 135 // Mobility Header |
| 216 | ianaProtocolUDPLite = 136 // UDPLite |
| 217 | ianaProtocolMPLSinIP = 137 // MPLS-in-IP |
| 218 | ianaProtocolMANET = 138 // MANET Protocols |
| 219 | ianaProtocolHIP = 139 // Host Identity Protocol |
| 220 | ianaProtocolShim6 = 140 // Shim6 Protocol |
| 221 | ianaProtocolWESP = 141 // Wrapped Encapsulating Security Payload |
| 222 | ianaProtocolROHC = 142 // Robust Header Compression |
| 223 | ianaProtocolReserved = 255 // Reserved |
| 224 | ) |