Enum IpProtocol
Specifies what an IP packet carries: the IPv4 header's Protocol field, or the IPv6 header's Next Header field, by the numbers IANA assigns.
public enum IpProtocol : byte
Fields
IPv6HopByHopOptions = 0The IPv6 Hop-by-Hop Options header (0).
IcmpV4 = 1The Internet Control Message Protocol for IPv4, ICMP (1).
Igmp = 2The Internet Group Management Protocol, IGMP (2).
Ggp = 3The Gateway-to-Gateway Protocol, GGP (3).
IPv4 = 4IPv4 encapsulated in IP (4).
Tcp = 6The Transmission Control Protocol, TCP (6).
Egp = 8The Exterior Gateway Protocol, EGP (8).
Pup = 12The PARC Universal Packet protocol, PUP (12).
Udp = 17The User Datagram Protocol, UDP (17).
Idp = 22The Xerox Network Systems Internet Datagram Protocol, XNS-IDP (22).
Tp = 29The ISO Transport Protocol Class 4, ISO-TP4 (29).
IPv6 = 41IPv6 encapsulated in IP (41).
IPv6RoutingHeader = 43The IPv6 Routing header (43).
IPv6FragmentHeader = 44The IPv6 Fragment header (44).
Rsvp = 46The Resource Reservation Protocol, RSVP (46).
Gre = 47Generic Routing Encapsulation, GRE (47).
IpSecEncapsulatingSecurityPayload = 50The IPsec Encapsulating Security Payload, ESP (50).
IpSecAuthenticationHeader = 51The IPsec Authentication Header, AH (51).
IcmpV6 = 58The Internet Control Message Protocol for IPv6, ICMPv6 (58).
IPv6NoNextHeader = 59No Next Header for IPv6: nothing follows the header (59).
IPv6DestinationOptions = 60The IPv6 Destination Options header (60).
Ospf = 89Open Shortest Path First, OSPF (89).
Mtp = 92The Multicast Transport Protocol, MTP (92).
Encapsulation = 98The Encapsulation Header, ENCAP (98).
Pim = 103Protocol Independent Multicast, PIM (103).
CompressionHeader = 108The IP Payload Compression Protocol, IPComp (108).
MobilityHeader = 135The Mobility Header of Mobile IPv6 (135).
HostIdentity = 139The Host Identity Protocol, HIP (139).
Shim6 = 140The Shim6 protocol (140).
Reserved253 = 253Reserved for experiments and tests, RFC 3692 (253).
Reserved254 = 254Reserved for experiments and tests, RFC 3692 (254).
Raw = 255The value 255, which IANA reserves and a raw socket takes as its protocol.