iana.go 9.3 KB

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