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