init(rawValue:)
IPProtocol.swift:24init(rawValue: NIOIPProtocol.RawValue) init(rawValue: NIOIPProtocol.RawValue) import NIOCoreThe core abstractions that make up SwiftNIO.
struct NIOIPProtocolIn the Internet Protocol version 4 (IPv4) [RFC791] there is a field called “Protocol” to identify the next level protocol. This is an 8 bit field. In Internet Protocol version 6 (IPv6) [RFC8200], this field is called the “Next Header” field.
typealias RawValue = UInt8init(_ rawValue: Int) static var aggfrag: NIOIPProtocol { get }AGGFRAG encapsulation payload for ESP - [RFC-ietf-ipsecme-iptfs-19]
static var ah: NIOIPProtocol { get }Authentication Header - [RFC4302]
static var dccp: NIOIPProtocol { get }Datagram Congestion Control Protocol - [RFC4340]
static var dsr: NIOIPProtocol { get }Dynamic Source Routing Protocol - [RFC4728]
static var egp: NIOIPProtocol { get }Exterior Gateway Protocol - [RFC888][David_Mills]
static var eigrp: NIOIPProtocol { get }EIGRP - [RFC7868]
static var encap: NIOIPProtocol { get }Encapsulation Header - [RFC1241][Robert_Woodburn]
static var esp: NIOIPProtocol { get }Encap Security Payload - [RFC4303]
static var etherip: NIOIPProtocol { get }Ethernet-within-IP Encapsulation - [RFC3378]
static var ethernet: NIOIPProtocol { get }Ethernet - [RFC8986]
static var fc: NIOIPProtocol { get }Fibre Channel - [Murali_Rajagopal][RFC6172]
static var ggp: NIOIPProtocol { get }Gateway-to-Gateway - [RFC823]
static var gre: NIOIPProtocol { get }Generic Routing Encapsulation - [RFC2784][Tony_Li]
static var hip: NIOIPProtocol { get }Host Identity Protocol - [RFC7401]
static var hmp: NIOIPProtocol { get }Host Monitoring - [RFC869][Bob_Hinden]
static var hopopt: NIOIPProtocol { get }IPv6 Hop-by-Hop Option - [RFC8200]
static var icmp: NIOIPProtocol { get }Internet Control Message - [RFC792]
static var igmp: NIOIPProtocol { get }Internet Group Management - [RFC1112]
static var ipcomp: NIOIPProtocol { get }IP Payload Compression Protocol - [RFC2393]
static var ipv4: NIOIPProtocol { get }IPv4 encapsulation - [RFC2003]
static var ipv6: NIOIPProtocol { get }IPv6 encapsulation - [RFC2473]
static var ipv6Icmp: NIOIPProtocol { get }ICMP for IPv6 - [RFC8200]
static var ipv6Nonxt: NIOIPProtocol { get }No Next Header for IPv6 - [RFC8200]
static var ipv6Opts: NIOIPProtocol { get }Destination Options for IPv6 - [RFC8200]
static var irtp: NIOIPProtocol { get }Internet Reliable Transaction - [RFC938][Trudy_Miller]
static var isoTp4: NIOIPProtocol { get }ISO Transport Protocol Class 4 - [RFC905][
static var l2tp: NIOIPProtocol { get }Layer Two Tunneling Protocol - [RFC3931][Bernard_Aboba]
static var manet: NIOIPProtocol { get }MANET Protocols - [RFC5498]
static var narp: NIOIPProtocol { get }NBMA Address Resolution Protocol - [RFC1735]
static var netblt: NIOIPProtocol { get }Bulk Data Transfer Protocol - [RFC969][David_Clark]
static var nvpIi: NIOIPProtocol { get }Network Voice Protocol - [RFC741][Steve_Casner]
static var ospfigp: NIOIPProtocol { get }OSPFIGP - [RFC1583][RFC2328][RFC5340][John_Moy]
static var pim: NIOIPProtocol { get }Protocol Independent Multicast - [RFC7761][Dino_Farinacci]
static var rdp: NIOIPProtocol { get }Reliable Data Protocol - [RFC908][Bob_Hinden]
static var rohc: NIOIPProtocol { get }Robust Header Compression - [RFC5858]
static var rsvp: NIOIPProtocol { get }Reservation Protocol - [RFC2205][RFC3209][Bob_Braden]
static var shim6: NIOIPProtocol { get }Shim6 Protocol - [RFC5533]
static var st: NIOIPProtocol { get }Stream - [RFC1190][RFC1819]
static var tcp: NIOIPProtocol { get }Transmission Control - [RFC9293]
static var udp: NIOIPProtocol { get }User Datagram - [RFC768][Jon_Postel]
static var vrrp: NIOIPProtocol { get }Virtual Router Redundancy Protocol - [RFC5798]
static var wesp: NIOIPProtocol { get }Wrapped Encapsulating Security Payload - [RFC5840]
var description: String { get }var rawValue: NIOIPProtocol.RawValue