~ubuntu-branches/ubuntu/wily/juju-core/wily-proposed

« back to all changes in this revision

Viewing changes to src/code.google.com/p/go.net/ipv4/iana.go

  • Committer: Package Import Robot
  • Author(s): Curtis C. Hovey
  • Date: 2015-06-05 17:40:37 UTC
  • mfrom: (1.1.34)
  • Revision ID: package-import@ubuntu.com-20150605174037-lcv12myq9gu4194e
Tags: 1.22.5-0ubuntu1
* New upstream bugfix release (Lp: #1462001).
* d/copyright: Updated to reflect changes in the codebase.

Show diffs side-by-side

added added

removed removed

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