Table of Contents

Enum IpProtocol

Namespace
VpnHood.Net.Toolkit.Net
Assembly
VpnHood.Net.Toolkit.dll

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 = 0

The IPv6 Hop-by-Hop Options header (0).

IcmpV4 = 1

The Internet Control Message Protocol for IPv4, ICMP (1).

Igmp = 2

The Internet Group Management Protocol, IGMP (2).

Ggp = 3

The Gateway-to-Gateway Protocol, GGP (3).

IPv4 = 4

IPv4 encapsulated in IP (4).

Tcp = 6

The Transmission Control Protocol, TCP (6).

Egp = 8

The Exterior Gateway Protocol, EGP (8).

Pup = 12

The PARC Universal Packet protocol, PUP (12).

Udp = 17

The User Datagram Protocol, UDP (17).

Idp = 22

The Xerox Network Systems Internet Datagram Protocol, XNS-IDP (22).

Tp = 29

The ISO Transport Protocol Class 4, ISO-TP4 (29).

IPv6 = 41

IPv6 encapsulated in IP (41).

IPv6RoutingHeader = 43

The IPv6 Routing header (43).

IPv6FragmentHeader = 44

The IPv6 Fragment header (44).

Rsvp = 46

The Resource Reservation Protocol, RSVP (46).

Gre = 47

Generic Routing Encapsulation, GRE (47).

IpSecEncapsulatingSecurityPayload = 50

The IPsec Encapsulating Security Payload, ESP (50).

IpSecAuthenticationHeader = 51

The IPsec Authentication Header, AH (51).

IcmpV6 = 58

The Internet Control Message Protocol for IPv6, ICMPv6 (58).

IPv6NoNextHeader = 59

No Next Header for IPv6: nothing follows the header (59).

IPv6DestinationOptions = 60

The IPv6 Destination Options header (60).

Ospf = 89

Open Shortest Path First, OSPF (89).

Mtp = 92

The Multicast Transport Protocol, MTP (92).

Encapsulation = 98

The Encapsulation Header, ENCAP (98).

Pim = 103

Protocol Independent Multicast, PIM (103).

CompressionHeader = 108

The IP Payload Compression Protocol, IPComp (108).

MobilityHeader = 135

The Mobility Header of Mobile IPv6 (135).

HostIdentity = 139

The Host Identity Protocol, HIP (139).

Shim6 = 140

The Shim6 protocol (140).

Reserved253 = 253

Reserved for experiments and tests, RFC 3692 (253).

Reserved254 = 254

Reserved for experiments and tests, RFC 3692 (254).

Raw = 255

The value 255, which IANA reserves and a raw socket takes as its protocol.