const.go 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. // go generate gen.go
  2. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  3. // Package iana provides protocol number resources managed by the Internet Assigned Numbers Authority (IANA).
  4. package iana // import "golang.org/x/net/internal/iana"
  5. // Differentiated Services Field Codepoints (DSCP), Updated: 2017-05-12
  6. const (
  7. DiffServCS0 = 0x0 // CS0
  8. DiffServCS1 = 0x20 // CS1
  9. DiffServCS2 = 0x40 // CS2
  10. DiffServCS3 = 0x60 // CS3
  11. DiffServCS4 = 0x80 // CS4
  12. DiffServCS5 = 0xa0 // CS5
  13. DiffServCS6 = 0xc0 // CS6
  14. DiffServCS7 = 0xe0 // CS7
  15. DiffServAF11 = 0x28 // AF11
  16. DiffServAF12 = 0x30 // AF12
  17. DiffServAF13 = 0x38 // AF13
  18. DiffServAF21 = 0x48 // AF21
  19. DiffServAF22 = 0x50 // AF22
  20. DiffServAF23 = 0x58 // AF23
  21. DiffServAF31 = 0x68 // AF31
  22. DiffServAF32 = 0x70 // AF32
  23. DiffServAF33 = 0x78 // AF33
  24. DiffServAF41 = 0x88 // AF41
  25. DiffServAF42 = 0x90 // AF42
  26. DiffServAF43 = 0x98 // AF43
  27. DiffServEF = 0xb8 // EF
  28. DiffServVOICEADMIT = 0xb0 // VOICE-ADMIT
  29. )
  30. // IPv4 TOS Byte and IPv6 Traffic Class Octet, Updated: 2001-09-06
  31. const (
  32. NotECNTransport = 0x0 // Not-ECT (Not ECN-Capable Transport)
  33. ECNTransport1 = 0x1 // ECT(1) (ECN-Capable Transport(1))
  34. ECNTransport0 = 0x2 // ECT(0) (ECN-Capable Transport(0))
  35. CongestionExperienced = 0x3 // CE (Congestion Experienced)
  36. )
  37. // Protocol Numbers, Updated: 2016-06-22
  38. const (
  39. ProtocolIP = 0 // IPv4 encapsulation, pseudo protocol number
  40. ProtocolHOPOPT = 0 // IPv6 Hop-by-Hop Option
  41. ProtocolICMP = 1 // Internet Control Message
  42. ProtocolIGMP = 2 // Internet Group Management
  43. ProtocolGGP = 3 // Gateway-to-Gateway
  44. ProtocolIPv4 = 4 // IPv4 encapsulation
  45. ProtocolST = 5 // Stream
  46. ProtocolTCP = 6 // Transmission Control
  47. ProtocolCBT = 7 // CBT
  48. ProtocolEGP = 8 // Exterior Gateway Protocol
  49. ProtocolIGP = 9 // any private interior gateway (used by Cisco for their IGRP)
  50. ProtocolBBNRCCMON = 10 // BBN RCC Monitoring
  51. ProtocolNVPII = 11 // Network Voice Protocol
  52. ProtocolPUP = 12 // PUP
  53. ProtocolEMCON = 14 // EMCON
  54. ProtocolXNET = 15 // Cross Net Debugger
  55. ProtocolCHAOS = 16 // Chaos
  56. ProtocolUDP = 17 // User Datagram
  57. ProtocolMUX = 18 // Multiplexing
  58. ProtocolDCNMEAS = 19 // DCN Measurement Subsystems
  59. ProtocolHMP = 20 // Host Monitoring
  60. ProtocolPRM = 21 // Packet Radio Measurement
  61. ProtocolXNSIDP = 22 // XEROX NS IDP
  62. ProtocolTRUNK1 = 23 // Trunk-1
  63. ProtocolTRUNK2 = 24 // Trunk-2
  64. ProtocolLEAF1 = 25 // Leaf-1
  65. ProtocolLEAF2 = 26 // Leaf-2
  66. ProtocolRDP = 27 // Reliable Data Protocol
  67. ProtocolIRTP = 28 // Internet Reliable Transaction
  68. ProtocolISOTP4 = 29 // ISO Transport Protocol Class 4
  69. ProtocolNETBLT = 30 // Bulk Data Transfer Protocol
  70. ProtocolMFENSP = 31 // MFE Network Services Protocol
  71. ProtocolMERITINP = 32 // MERIT Internodal Protocol
  72. ProtocolDCCP = 33 // Datagram Congestion Control Protocol
  73. Protocol3PC = 34 // Third Party Connect Protocol
  74. ProtocolIDPR = 35 // Inter-Domain Policy Routing Protocol
  75. ProtocolXTP = 36 // XTP
  76. ProtocolDDP = 37 // Datagram Delivery Protocol
  77. ProtocolIDPRCMTP = 38 // IDPR Control Message Transport Proto
  78. ProtocolTPPP = 39 // TP++ Transport Protocol
  79. ProtocolIL = 40 // IL Transport Protocol
  80. ProtocolIPv6 = 41 // IPv6 encapsulation
  81. ProtocolSDRP = 42 // Source Demand Routing Protocol
  82. ProtocolIPv6Route = 43 // Routing Header for IPv6
  83. ProtocolIPv6Frag = 44 // Fragment Header for IPv6
  84. ProtocolIDRP = 45 // Inter-Domain Routing Protocol
  85. ProtocolRSVP = 46 // Reservation Protocol
  86. ProtocolGRE = 47 // Generic Routing Encapsulation
  87. ProtocolDSR = 48 // Dynamic Source Routing Protocol
  88. ProtocolBNA = 49 // BNA
  89. ProtocolESP = 50 // Encap Security Payload
  90. ProtocolAH = 51 // Authentication Header
  91. ProtocolINLSP = 52 // Integrated Net Layer Security TUBA
  92. ProtocolNARP = 54 // NBMA Address Resolution Protocol
  93. ProtocolMOBILE = 55 // IP Mobility
  94. ProtocolTLSP = 56 // Transport Layer Security Protocol using Kryptonet key management
  95. ProtocolSKIP = 57 // SKIP
  96. ProtocolIPv6ICMP = 58 // ICMP for IPv6
  97. ProtocolIPv6NoNxt = 59 // No Next Header for IPv6
  98. ProtocolIPv6Opts = 60 // Destination Options for IPv6
  99. ProtocolCFTP = 62 // CFTP
  100. ProtocolSATEXPAK = 64 // SATNET and Backroom EXPAK
  101. ProtocolKRYPTOLAN = 65 // Kryptolan
  102. ProtocolRVD = 66 // MIT Remote Virtual Disk Protocol
  103. ProtocolIPPC = 67 // Internet Pluribus Packet Core
  104. ProtocolSATMON = 69 // SATNET Monitoring
  105. ProtocolVISA = 70 // VISA Protocol
  106. ProtocolIPCV = 71 // Internet Packet Core Utility
  107. ProtocolCPNX = 72 // Computer Protocol Network Executive
  108. ProtocolCPHB = 73 // Computer Protocol Heart Beat
  109. ProtocolWSN = 74 // Wang Span Network
  110. ProtocolPVP = 75 // Packet Video Protocol
  111. ProtocolBRSATMON = 76 // Backroom SATNET Monitoring
  112. ProtocolSUNND = 77 // SUN ND PROTOCOL-Temporary
  113. ProtocolWBMON = 78 // WIDEBAND Monitoring
  114. ProtocolWBEXPAK = 79 // WIDEBAND EXPAK
  115. ProtocolISOIP = 80 // ISO Internet Protocol
  116. ProtocolVMTP = 81 // VMTP
  117. ProtocolSECUREVMTP = 82 // SECURE-VMTP
  118. ProtocolVINES = 83 // VINES
  119. ProtocolTTP = 84 // Transaction Transport Protocol
  120. ProtocolIPTM = 84 // Internet Protocol Traffic Manager
  121. ProtocolNSFNETIGP = 85 // NSFNET-IGP
  122. ProtocolDGP = 86 // Dissimilar Gateway Protocol
  123. ProtocolTCF = 87 // TCF
  124. ProtocolEIGRP = 88 // EIGRP
  125. ProtocolOSPFIGP = 89 // OSPFIGP
  126. ProtocolSpriteRPC = 90 // Sprite RPC Protocol
  127. ProtocolLARP = 91 // Locus Address Resolution Protocol
  128. ProtocolMTP = 92 // Multicast Transport Protocol
  129. ProtocolAX25 = 93 // AX.25 Frames
  130. ProtocolIPIP = 94 // IP-within-IP Encapsulation Protocol
  131. ProtocolSCCSP = 96 // Semaphore Communications Sec. Pro.
  132. ProtocolETHERIP = 97 // Ethernet-within-IP Encapsulation
  133. ProtocolENCAP = 98 // Encapsulation Header
  134. ProtocolGMTP = 100 // GMTP
  135. ProtocolIFMP = 101 // Ipsilon Flow Management Protocol
  136. ProtocolPNNI = 102 // PNNI over IP
  137. ProtocolPIM = 103 // Protocol Independent Multicast
  138. ProtocolARIS = 104 // ARIS
  139. ProtocolSCPS = 105 // SCPS
  140. ProtocolQNX = 106 // QNX
  141. ProtocolAN = 107 // Active Networks
  142. ProtocolIPComp = 108 // IP Payload Compression Protocol
  143. ProtocolSNP = 109 // Sitara Networks Protocol
  144. ProtocolCompaqPeer = 110 // Compaq Peer Protocol
  145. ProtocolIPXinIP = 111 // IPX in IP
  146. ProtocolVRRP = 112 // Virtual Router Redundancy Protocol
  147. ProtocolPGM = 113 // PGM Reliable Transport Protocol
  148. ProtocolL2TP = 115 // Layer Two Tunneling Protocol
  149. ProtocolDDX = 116 // D-II Data Exchange (DDX)
  150. ProtocolIATP = 117 // Interactive Agent Transfer Protocol
  151. ProtocolSTP = 118 // Schedule Transfer Protocol
  152. ProtocolSRP = 119 // SpectraLink Radio Protocol
  153. ProtocolUTI = 120 // UTI
  154. ProtocolSMP = 121 // Simple Message Protocol
  155. ProtocolPTP = 123 // Performance Transparency Protocol
  156. ProtocolISIS = 124 // ISIS over IPv4
  157. ProtocolFIRE = 125 // FIRE
  158. ProtocolCRTP = 126 // Combat Radio Transport Protocol
  159. ProtocolCRUDP = 127 // Combat Radio User Datagram
  160. ProtocolSSCOPMCE = 128 // SSCOPMCE
  161. ProtocolIPLT = 129 // IPLT
  162. ProtocolSPS = 130 // Secure Packet Shield
  163. ProtocolPIPE = 131 // Private IP Encapsulation within IP
  164. ProtocolSCTP = 132 // Stream Control Transmission Protocol
  165. ProtocolFC = 133 // Fibre Channel
  166. ProtocolRSVPE2EIGNORE = 134 // RSVP-E2E-IGNORE
  167. ProtocolMobilityHeader = 135 // Mobility Header
  168. ProtocolUDPLite = 136 // UDPLite
  169. ProtocolMPLSinIP = 137 // MPLS-in-IP
  170. ProtocolMANET = 138 // MANET Protocols
  171. ProtocolHIP = 139 // Host Identity Protocol
  172. ProtocolShim6 = 140 // Shim6 Protocol
  173. ProtocolWESP = 141 // Wrapped Encapsulating Security Payload
  174. ProtocolROHC = 142 // Robust Header Compression
  175. ProtocolReserved = 255 // Reserved
  176. )