Source File
const.go
Belonging Package
golang.org/x/net/internal/iana
// go generate gen.go// Code generated by the command above; DO NOT EDIT.// Package iana provides protocol number resources managed by the Internet Assigned Numbers Authority (IANA).package iana // import "golang.org/x/net/internal/iana"// Differentiated Services Field Codepoints (DSCP), Updated: 2018-05-04const (DiffServCS0 = 0x00 // CS0DiffServCS1 = 0x20 // CS1DiffServCS2 = 0x40 // CS2DiffServCS3 = 0x60 // CS3DiffServCS4 = 0x80 // CS4DiffServCS5 = 0xa0 // CS5DiffServCS6 = 0xc0 // CS6DiffServCS7 = 0xe0 // CS7DiffServAF11 = 0x28 // AF11DiffServAF12 = 0x30 // AF12DiffServAF13 = 0x38 // AF13DiffServAF21 = 0x48 // AF21DiffServAF22 = 0x50 // AF22DiffServAF23 = 0x58 // AF23DiffServAF31 = 0x68 // AF31DiffServAF32 = 0x70 // AF32DiffServAF33 = 0x78 // AF33DiffServAF41 = 0x88 // AF41DiffServAF42 = 0x90 // AF42DiffServAF43 = 0x98 // AF43DiffServEF = 0xb8 // EFDiffServVOICEADMIT = 0xb0 // VOICE-ADMITNotECNTransport = 0x00 // Not-ECT (Not ECN-Capable Transport)ECNTransport1 = 0x01 // ECT(1) (ECN-Capable Transport(1))ECNTransport0 = 0x02 // ECT(0) (ECN-Capable Transport(0))CongestionExperienced = 0x03 // CE (Congestion Experienced))// Protocol Numbers, Updated: 2017-10-13const (ProtocolIP = 0 // IPv4 encapsulation, pseudo protocol numberProtocolHOPOPT = 0 // IPv6 Hop-by-Hop OptionProtocolICMP = 1 // Internet Control MessageProtocolIGMP = 2 // Internet Group ManagementProtocolGGP = 3 // Gateway-to-GatewayProtocolIPv4 = 4 // IPv4 encapsulationProtocolST = 5 // StreamProtocolTCP = 6 // Transmission ControlProtocolCBT = 7 // CBTProtocolEGP = 8 // Exterior Gateway ProtocolProtocolIGP = 9 // any private interior gateway (used by Cisco for their IGRP)ProtocolBBNRCCMON = 10 // BBN RCC MonitoringProtocolNVPII = 11 // Network Voice ProtocolProtocolPUP = 12 // PUPProtocolEMCON = 14 // EMCONProtocolXNET = 15 // Cross Net DebuggerProtocolCHAOS = 16 // ChaosProtocolUDP = 17 // User DatagramProtocolMUX = 18 // MultiplexingProtocolDCNMEAS = 19 // DCN Measurement SubsystemsProtocolHMP = 20 // Host MonitoringProtocolPRM = 21 // Packet Radio MeasurementProtocolXNSIDP = 22 // XEROX NS IDPProtocolTRUNK1 = 23 // Trunk-1ProtocolTRUNK2 = 24 // Trunk-2ProtocolLEAF1 = 25 // Leaf-1ProtocolLEAF2 = 26 // Leaf-2ProtocolRDP = 27 // Reliable Data ProtocolProtocolIRTP = 28 // Internet Reliable TransactionProtocolISOTP4 = 29 // ISO Transport Protocol Class 4ProtocolNETBLT = 30 // Bulk Data Transfer ProtocolProtocolMFENSP = 31 // MFE Network Services ProtocolProtocolMERITINP = 32 // MERIT Internodal ProtocolProtocolDCCP = 33 // Datagram Congestion Control ProtocolProtocol3PC = 34 // Third Party Connect ProtocolProtocolIDPR = 35 // Inter-Domain Policy Routing ProtocolProtocolXTP = 36 // XTPProtocolDDP = 37 // Datagram Delivery ProtocolProtocolIDPRCMTP = 38 // IDPR Control Message Transport ProtoProtocolTPPP = 39 // TP++ Transport ProtocolProtocolIL = 40 // IL Transport ProtocolProtocolIPv6 = 41 // IPv6 encapsulationProtocolSDRP = 42 // Source Demand Routing ProtocolProtocolIPv6Route = 43 // Routing Header for IPv6ProtocolIPv6Frag = 44 // Fragment Header for IPv6ProtocolIDRP = 45 // Inter-Domain Routing ProtocolProtocolRSVP = 46 // Reservation ProtocolProtocolGRE = 47 // Generic Routing EncapsulationProtocolDSR = 48 // Dynamic Source Routing ProtocolProtocolBNA = 49 // BNAProtocolESP = 50 // Encap Security PayloadProtocolAH = 51 // Authentication HeaderProtocolINLSP = 52 // Integrated Net Layer Security TUBAProtocolNARP = 54 // NBMA Address Resolution ProtocolProtocolMOBILE = 55 // IP MobilityProtocolTLSP = 56 // Transport Layer Security Protocol using Kryptonet key managementProtocolSKIP = 57 // SKIPProtocolIPv6ICMP = 58 // ICMP for IPv6ProtocolIPv6NoNxt = 59 // No Next Header for IPv6ProtocolIPv6Opts = 60 // Destination Options for IPv6ProtocolCFTP = 62 // CFTPProtocolSATEXPAK = 64 // SATNET and Backroom EXPAKProtocolKRYPTOLAN = 65 // KryptolanProtocolRVD = 66 // MIT Remote Virtual Disk ProtocolProtocolIPPC = 67 // Internet Pluribus Packet CoreProtocolSATMON = 69 // SATNET MonitoringProtocolVISA = 70 // VISA ProtocolProtocolIPCV = 71 // Internet Packet Core UtilityProtocolCPNX = 72 // Computer Protocol Network ExecutiveProtocolCPHB = 73 // Computer Protocol Heart BeatProtocolWSN = 74 // Wang Span NetworkProtocolPVP = 75 // Packet Video ProtocolProtocolBRSATMON = 76 // Backroom SATNET MonitoringProtocolSUNND = 77 // SUN ND PROTOCOL-TemporaryProtocolWBMON = 78 // WIDEBAND MonitoringProtocolWBEXPAK = 79 // WIDEBAND EXPAKProtocolISOIP = 80 // ISO Internet ProtocolProtocolVMTP = 81 // VMTPProtocolSECUREVMTP = 82 // SECURE-VMTPProtocolVINES = 83 // VINESProtocolTTP = 84 // Transaction Transport ProtocolProtocolIPTM = 84 // Internet Protocol Traffic ManagerProtocolNSFNETIGP = 85 // NSFNET-IGPProtocolDGP = 86 // Dissimilar Gateway ProtocolProtocolTCF = 87 // TCFProtocolEIGRP = 88 // EIGRPProtocolOSPFIGP = 89 // OSPFIGPProtocolSpriteRPC = 90 // Sprite RPC ProtocolProtocolLARP = 91 // Locus Address Resolution ProtocolProtocolMTP = 92 // Multicast Transport ProtocolProtocolAX25 = 93 // AX.25 FramesProtocolIPIP = 94 // IP-within-IP Encapsulation ProtocolProtocolSCCSP = 96 // Semaphore Communications Sec. Pro.ProtocolETHERIP = 97 // Ethernet-within-IP EncapsulationProtocolENCAP = 98 // Encapsulation HeaderProtocolGMTP = 100 // GMTPProtocolIFMP = 101 // Ipsilon Flow Management ProtocolProtocolPNNI = 102 // PNNI over IPProtocolPIM = 103 // Protocol Independent MulticastProtocolARIS = 104 // ARISProtocolSCPS = 105 // SCPSProtocolQNX = 106 // QNXProtocolAN = 107 // Active NetworksProtocolIPComp = 108 // IP Payload Compression ProtocolProtocolSNP = 109 // Sitara Networks ProtocolProtocolCompaqPeer = 110 // Compaq Peer ProtocolProtocolIPXinIP = 111 // IPX in IPProtocolVRRP = 112 // Virtual Router Redundancy ProtocolProtocolPGM = 113 // PGM Reliable Transport ProtocolProtocolL2TP = 115 // Layer Two Tunneling ProtocolProtocolDDX = 116 // D-II Data Exchange (DDX)ProtocolIATP = 117 // Interactive Agent Transfer ProtocolProtocolSTP = 118 // Schedule Transfer ProtocolProtocolSRP = 119 // SpectraLink Radio ProtocolProtocolUTI = 120 // UTIProtocolSMP = 121 // Simple Message ProtocolProtocolPTP = 123 // Performance Transparency ProtocolProtocolISIS = 124 // ISIS over IPv4ProtocolFIRE = 125 // FIREProtocolCRTP = 126 // Combat Radio Transport ProtocolProtocolCRUDP = 127 // Combat Radio User DatagramProtocolSSCOPMCE = 128 // SSCOPMCEProtocolIPLT = 129 // IPLTProtocolSPS = 130 // Secure Packet ShieldProtocolPIPE = 131 // Private IP Encapsulation within IPProtocolSCTP = 132 // Stream Control Transmission ProtocolProtocolFC = 133 // Fibre ChannelProtocolRSVPE2EIGNORE = 134 // RSVP-E2E-IGNOREProtocolMobilityHeader = 135 // Mobility HeaderProtocolUDPLite = 136 // UDPLiteProtocolMPLSinIP = 137 // MPLS-in-IPProtocolMANET = 138 // MANET ProtocolsProtocolHIP = 139 // Host Identity ProtocolProtocolShim6 = 140 // Shim6 ProtocolProtocolWESP = 141 // Wrapped Encapsulating Security PayloadProtocolROHC = 142 // Robust Header CompressionProtocolReserved = 255 // Reserved)// Address Family Numbers, Updated: 2018-04-02const (AddrFamilyIPv4 = 1 // IP (IP version 4)AddrFamilyIPv6 = 2 // IP6 (IP version 6)AddrFamilyNSAP = 3 // NSAPAddrFamilyHDLC = 4 // HDLC (8-bit multidrop)AddrFamilyBBN1822 = 5 // BBN 1822AddrFamily802 = 6 // 802 (includes all 802 media plus Ethernet "canonical format")AddrFamilyE163 = 7 // E.163AddrFamilyE164 = 8 // E.164 (SMDS, Frame Relay, ATM)AddrFamilyF69 = 9 // F.69 (Telex)AddrFamilyX121 = 10 // X.121 (X.25, Frame Relay)AddrFamilyIPX = 11 // IPXAddrFamilyAppletalk = 12 // AppletalkAddrFamilyDecnetIV = 13 // Decnet IVAddrFamilyBanyanVines = 14 // Banyan VinesAddrFamilyE164withSubaddress = 15 // E.164 with NSAP format subaddressAddrFamilyDNS = 16 // DNS (Domain Name System)AddrFamilyDistinguishedName = 17 // Distinguished NameAddrFamilyASNumber = 18 // AS NumberAddrFamilyXTPoverIPv4 = 19 // XTP over IP version 4AddrFamilyXTPoverIPv6 = 20 // XTP over IP version 6AddrFamilyXTPnativemodeXTP = 21 // XTP native mode XTPAddrFamilyFibreChannelWorldWidePortName = 22 // Fibre Channel World-Wide Port NameAddrFamilyFibreChannelWorldWideNodeName = 23 // Fibre Channel World-Wide Node NameAddrFamilyGWID = 24 // GWIDAddrFamilyL2VPN = 25 // AFI for L2VPN informationAddrFamilyMPLSTPSectionEndpointID = 26 // MPLS-TP Section Endpoint IdentifierAddrFamilyMPLSTPLSPEndpointID = 27 // MPLS-TP LSP Endpoint IdentifierAddrFamilyMPLSTPPseudowireEndpointID = 28 // MPLS-TP Pseudowire Endpoint IdentifierAddrFamilyMTIPv4 = 29 // MT IP: Multi-Topology IP version 4AddrFamilyMTIPv6 = 30 // MT IPv6: Multi-Topology IP version 6AddrFamilyEIGRPCommonServiceFamily = 16384 // EIGRP Common Service FamilyAddrFamilyEIGRPIPv4ServiceFamily = 16385 // EIGRP IPv4 Service FamilyAddrFamilyEIGRPIPv6ServiceFamily = 16386 // EIGRP IPv6 Service FamilyAddrFamilyLISPCanonicalAddressFormat = 16387 // LISP Canonical Address Format (LCAF)AddrFamilyBGPLS = 16388 // BGP-LSAddrFamily48bitMAC = 16389 // 48-bit MACAddrFamily64bitMAC = 16390 // 64-bit MACAddrFamilyOUI = 16391 // OUIAddrFamilyMACFinal24bits = 16392 // MAC/24AddrFamilyMACFinal40bits = 16393 // MAC/40AddrFamilyIPv6Initial64bits = 16394 // IPv6/64AddrFamilyRBridgePortID = 16395 // RBridge Port IDAddrFamilyTRILLNickname = 16396 // TRILL Nickname)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |