github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/net/internal/iana/const.go (about) 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: 2013-06-25 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 DiffServEFPHB = 0xb8 // EF PHB 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: 2015-06-23 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 ProtocolARGUS = 13 // ARGUS 58 ProtocolEMCON = 14 // EMCON 59 ProtocolXNET = 15 // Cross Net Debugger 60 ProtocolCHAOS = 16 // Chaos 61 ProtocolUDP = 17 // User Datagram 62 ProtocolMUX = 18 // Multiplexing 63 ProtocolDCNMEAS = 19 // DCN Measurement Subsystems 64 ProtocolHMP = 20 // Host Monitoring 65 ProtocolPRM = 21 // Packet Radio Measurement 66 ProtocolXNSIDP = 22 // XEROX NS IDP 67 ProtocolTRUNK1 = 23 // Trunk-1 68 ProtocolTRUNK2 = 24 // Trunk-2 69 ProtocolLEAF1 = 25 // Leaf-1 70 ProtocolLEAF2 = 26 // Leaf-2 71 ProtocolRDP = 27 // Reliable Data Protocol 72 ProtocolIRTP = 28 // Internet Reliable Transaction 73 ProtocolISOTP4 = 29 // ISO Transport Protocol Class 4 74 ProtocolNETBLT = 30 // Bulk Data Transfer Protocol 75 ProtocolMFENSP = 31 // MFE Network Services Protocol 76 ProtocolMERITINP = 32 // MERIT Internodal Protocol 77 ProtocolDCCP = 33 // Datagram Congestion Control Protocol 78 Protocol3PC = 34 // Third Party Connect Protocol 79 ProtocolIDPR = 35 // Inter-Domain Policy Routing Protocol 80 ProtocolXTP = 36 // XTP 81 ProtocolDDP = 37 // Datagram Delivery Protocol 82 ProtocolIDPRCMTP = 38 // IDPR Control Message Transport Proto 83 ProtocolTPPP = 39 // TP++ Transport Protocol 84 ProtocolIL = 40 // IL Transport Protocol 85 ProtocolIPv6 = 41 // IPv6 encapsulation 86 ProtocolSDRP = 42 // Source Demand Routing Protocol 87 ProtocolIPv6Route = 43 // Routing Header for IPv6 88 ProtocolIPv6Frag = 44 // Fragment Header for IPv6 89 ProtocolIDRP = 45 // Inter-Domain Routing Protocol 90 ProtocolRSVP = 46 // Reservation Protocol 91 ProtocolGRE = 47 // Generic Routing Encapsulation 92 ProtocolDSR = 48 // Dynamic Source Routing Protocol 93 ProtocolBNA = 49 // BNA 94 ProtocolESP = 50 // Encap Security Payload 95 ProtocolAH = 51 // Authentication Header 96 ProtocolINLSP = 52 // Integrated Net Layer Security TUBA 97 ProtocolNARP = 54 // NBMA Address Resolution Protocol 98 ProtocolMOBILE = 55 // IP Mobility 99 ProtocolTLSP = 56 // Transport Layer Security Protocol using Kryptonet key management 100 ProtocolSKIP = 57 // SKIP 101 ProtocolIPv6ICMP = 58 // ICMP for IPv6 102 ProtocolIPv6NoNxt = 59 // No Next Header for IPv6 103 ProtocolIPv6Opts = 60 // Destination Options for IPv6 104 ProtocolCFTP = 62 // CFTP 105 ProtocolSATEXPAK = 64 // SATNET and Backroom EXPAK 106 ProtocolKRYPTOLAN = 65 // Kryptolan 107 ProtocolRVD = 66 // MIT Remote Virtual Disk Protocol 108 ProtocolIPPC = 67 // Internet Pluribus Packet Core 109 ProtocolSATMON = 69 // SATNET Monitoring 110 ProtocolVISA = 70 // VISA Protocol 111 ProtocolIPCV = 71 // Internet Packet Core Utility 112 ProtocolCPNX = 72 // Computer Protocol Network Executive 113 ProtocolCPHB = 73 // Computer Protocol Heart Beat 114 ProtocolWSN = 74 // Wang Span Network 115 ProtocolPVP = 75 // Packet Video Protocol 116 ProtocolBRSATMON = 76 // Backroom SATNET Monitoring 117 ProtocolSUNND = 77 // SUN ND PROTOCOL-Temporary 118 ProtocolWBMON = 78 // WIDEBAND Monitoring 119 ProtocolWBEXPAK = 79 // WIDEBAND EXPAK 120 ProtocolISOIP = 80 // ISO Internet Protocol 121 ProtocolVMTP = 81 // VMTP 122 ProtocolSECUREVMTP = 82 // SECURE-VMTP 123 ProtocolVINES = 83 // VINES 124 ProtocolTTP = 84 // Transaction Transport Protocol 125 ProtocolIPTM = 84 // Internet Protocol Traffic Manager 126 ProtocolNSFNETIGP = 85 // NSFNET-IGP 127 ProtocolDGP = 86 // Dissimilar Gateway Protocol 128 ProtocolTCF = 87 // TCF 129 ProtocolEIGRP = 88 // EIGRP 130 ProtocolOSPFIGP = 89 // OSPFIGP 131 ProtocolSpriteRPC = 90 // Sprite RPC Protocol 132 ProtocolLARP = 91 // Locus Address Resolution Protocol 133 ProtocolMTP = 92 // Multicast Transport Protocol 134 ProtocolAX25 = 93 // AX.25 Frames 135 ProtocolIPIP = 94 // IP-within-IP Encapsulation Protocol 136 ProtocolSCCSP = 96 // Semaphore Communications Sec. Pro. 137 ProtocolETHERIP = 97 // Ethernet-within-IP Encapsulation 138 ProtocolENCAP = 98 // Encapsulation Header 139 ProtocolGMTP = 100 // GMTP 140 ProtocolIFMP = 101 // Ipsilon Flow Management Protocol 141 ProtocolPNNI = 102 // PNNI over IP 142 ProtocolPIM = 103 // Protocol Independent Multicast 143 ProtocolARIS = 104 // ARIS 144 ProtocolSCPS = 105 // SCPS 145 ProtocolQNX = 106 // QNX 146 ProtocolAN = 107 // Active Networks 147 ProtocolIPComp = 108 // IP Payload Compression Protocol 148 ProtocolSNP = 109 // Sitara Networks Protocol 149 ProtocolCompaqPeer = 110 // Compaq Peer Protocol 150 ProtocolIPXinIP = 111 // IPX in IP 151 ProtocolVRRP = 112 // Virtual Router Redundancy Protocol 152 ProtocolPGM = 113 // PGM Reliable Transport Protocol 153 ProtocolL2TP = 115 // Layer Two Tunneling Protocol 154 ProtocolDDX = 116 // D-II Data Exchange (DDX) 155 ProtocolIATP = 117 // Interactive Agent Transfer Protocol 156 ProtocolSTP = 118 // Schedule Transfer Protocol 157 ProtocolSRP = 119 // SpectraLink Radio Protocol 158 ProtocolUTI = 120 // UTI 159 ProtocolSMP = 121 // Simple Message Protocol 160 ProtocolPTP = 123 // Performance Transparency Protocol 161 ProtocolISIS = 124 // ISIS over IPv4 162 ProtocolFIRE = 125 // FIRE 163 ProtocolCRTP = 126 // Combat Radio Transport Protocol 164 ProtocolCRUDP = 127 // Combat Radio User Datagram 165 ProtocolSSCOPMCE = 128 // SSCOPMCE 166 ProtocolIPLT = 129 // IPLT 167 ProtocolSPS = 130 // Secure Packet Shield 168 ProtocolPIPE = 131 // Private IP Encapsulation within IP 169 ProtocolSCTP = 132 // Stream Control Transmission Protocol 170 ProtocolFC = 133 // Fibre Channel 171 ProtocolRSVPE2EIGNORE = 134 // RSVP-E2E-IGNORE 172 ProtocolMobilityHeader = 135 // Mobility Header 173 ProtocolUDPLite = 136 // UDPLite 174 ProtocolMPLSinIP = 137 // MPLS-in-IP 175 ProtocolMANET = 138 // MANET Protocols 176 ProtocolHIP = 139 // Host Identity Protocol 177 ProtocolShim6 = 140 // Shim6 Protocol 178 ProtocolWESP = 141 // Wrapped Encapsulating Security Payload 179 ProtocolROHC = 142 // Robust Header Compression 180 ProtocolReserved = 255 // Reserved 181 )