#[repr(u8)]
pub enum IpProto {
Show 148 variants HopOpt, Icmp, Igmp, Ggp, Ipv4, Stream, Tcp, Cbt, Egp, Igp, BbnRccMon, NvpII, Pup, Argus, Emcon, Xnet, Chaos, Udp, Mux, DcnMeas, Hmp, Prm, Idp, Trunk1, Trunk2, Leaf1, Leaf2, Rdp, Irtp, Tp4, Netblt, MfeNsp, MeritInp, Dccp, ThirdPartyConnect, Idpr, Xtp, Ddp, IdprCmtp, TpPlusPlus, Il, Ipv6, Sdrp, Ipv6Route, Ipv6Frag, Idrp, Rsvp, Gre, Dsr, Bna, Esp, Ah, Inlsp, Swipe, Narp, Mobile, Tlsp, Skip, Ipv6Icmp, Ipv6NoNxt, Ipv6Opts, AnyHostInternal, Cftp, AnyLocalNetwork, SatExpak, Kryptolan, Rvd, Ippc, AnyDistributedFileSystem, SatMon, Visa, Ipcv, Cpnx, Cphb, Wsn, Pvp, BrSatMon, SunNd, WbMon, WbExpak, IsoIp, Vmtp, SecureVmtp, Vines, Ttp, NsfnetIgp, Dgp, Tcf, Eigrp, Ospfigp, SpriteRpc, Larp, Mtp, Ax25, Ipip, Micp, SccSp, Etherip, Encap, AnyPrivateEncryptionScheme, Gmtp, Ifmp, Pnni, Pim, Aris, Scps, Qnx, ActiveNetworks, IpComp, Snp, CompaqPeer, IpxInIp, Vrrp, Pgm, AnyZeroHopProtocol, L2tp, Ddx, Iatp, Stp, Srp, Uti, Smp, Sm, Ptp, IsisOverIpv4, Fire, Crtp, Crudp, Sscopmce, Iplt, Sps, Pipe, Sctp, Fc, RsvpE2eIgnore, MobilityHeader, UdpLite, Mpls, Manet, Hip, Shim6, Wesp, Rohc, EthernetInIpv4, Aggfrag, Test1, Test2, Reserved,
}
Expand description

Protocol which is encapsulated in the IPv4 packet. https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml

Variants§

§

HopOpt

IPv6 Hop-by-Hop Option

§

Icmp

Internet Control Message

§

Igmp

Internet Group Management

§

Ggp

Gateway-to-Gateway

§

Ipv4

IPv4 encapsulation

§

Stream

Stream

§

Tcp

Transmission Control

§

Cbt

CBT

§

Egp

Exterior Gateway Protocol

§

Igp

Any private interior gateway (used by Cisco for their IGRP)

§

BbnRccMon

BBN RCC Monitoring

§

NvpII

Network Voice Protocol

§

Pup

PUP

§

Argus

ARGUS

§

Emcon

EMCON

§

Xnet

Cross Net Debugger

§

Chaos

Chaos

§

Udp

User Datagram

§

Mux

Multiplexing

§

DcnMeas

DCN Measurement Subsystems

§

Hmp

Host Monitoring

§

Prm

Packet Radio Measurement

§

Idp

XEROX NS IDP

§

Trunk1

Trunk-1

§

Trunk2

Trunk-2

§

Leaf1

Leaf-1

§

Leaf2

Leaf-2

§

Rdp

Reliable Data Protocol

§

Irtp

Internet Reliable Transaction

§

Tp4

ISO Transport Protocol Class 4

§

Netblt

Bulk Data Transfer Protocol

§

MfeNsp

MFE Network Services Protocol

§

MeritInp

MERIT Internodal Protocol

§

Dccp

Datagram Congestion Control Protocol

§

ThirdPartyConnect

Third Party Connect Protocol

§

Idpr

Inter-Domain Policy Routing Protocol

§

Xtp

XTP

§

Ddp

Datagram Delivery Protocol

§

IdprCmtp

IDPR Control Message Transport Proto

§

TpPlusPlus

TP++ Transport Protocol

§

Il

IL Transport Protocol

§

Ipv6

IPv6 encapsulation

§

Sdrp

Source Demand Routing Protocol

§

Ipv6Route

Routing Header for IPv6

§

Ipv6Frag

Fragment Header for IPv6

§

Idrp

Inter-Domain Routing Protocol

§

Rsvp

Reservation Protocol

§

Gre

General Routing Encapsulation

§

Dsr

Dynamic Source Routing Protocol

§

Bna

BNA

§

Esp

Encap Security Payload

§

Ah

Authentication Header

§

Inlsp

Integrated Net Layer Security TUBA

§

Swipe

IP with Encryption

§

Narp

NBMA Address Resolution Protocol

§

Mobile

IP Mobility

§

Tlsp

Transport Layer Security Protocol using Kryptonet key management

§

Skip

SKIP

§

Ipv6Icmp

Internet Control Message Protocol for IPv6

§

Ipv6NoNxt

No Next Header for IPv6

§

Ipv6Opts

Destination Options for IPv6

§

AnyHostInternal

Any host internal protocol

§

Cftp

CFTP

§

AnyLocalNetwork

Any local network

§

SatExpak

SATNET and Backroom EXPAK

§

Kryptolan

Kryptolan

§

Rvd

MIT Remote Virtual Disk Protocol

§

Ippc

Internet Pluribus Packet Core

§

AnyDistributedFileSystem

Any distributed file system

§

SatMon

SATNET Monitoring

§

Visa

VISA Protocol

§

Ipcv

Internet Packet Core Utility

§

Cpnx

Computer Protocol Network Executive

§

Cphb

Computer Protocol Heart Beat

§

Wsn

Wang Span Network

§

Pvp

Packet Video Protocol

§

BrSatMon

Backroom SATNET Monitoring

§

SunNd

SUN ND PROTOCOL-Temporary

§

WbMon

WIDEBAND Monitoring

§

WbExpak

WIDEBAND EXPAK

§

IsoIp

ISO Internet Protocol

§

Vmtp

VMTP

§

SecureVmtp

SECURE-VMTP

§

Vines

VINES

§

Ttp

Transaction Transport Protocol

§

NsfnetIgp

NSFNET-IGP

§

Dgp

Dissimilar Gateway Protocol

§

Tcf

TCF

§

Eigrp

EIGRP

§

Ospfigp

OSPFIGP

§

SpriteRpc

Sprite RPC Protocol

§

Larp

Locus Address Resolution Protocol

§

Mtp

Multicast Transport Protocol

§

Ax25

AX.25 Frames

§

Ipip

IP-within-IP Encapsulation Protocol

§

Micp

Mobile Internetworking Control Pro.

§

SccSp

Semaphore Communications Sec. Pro.

§

Etherip

Ethernet-within-IP Encapsulation

§

Encap

Encapsulation Header

§

AnyPrivateEncryptionScheme

Any private encryption scheme

§

Gmtp

GMTP

§

Ifmp

Ipsilon Flow Management Protocol

§

Pnni

PNNI over IP

§

Pim

Protocol Independent Multicast

§

Aris

ARIS

§

Scps

SCPS

§

Qnx

QNX

§

ActiveNetworks

Active Networks

§

IpComp

IP Payload Compression Protocol

§

Snp

Sitara Networks Protocol

§

CompaqPeer

Compaq Peer Protocol

§

IpxInIp

IPX in IP

§

Vrrp

Virtual Router Redundancy Protocol

§

Pgm

PGM Reliable Transport Protocol

§

AnyZeroHopProtocol

Any 0-hop protocol

§

L2tp

Layer Two Tunneling Protocol

§

Ddx

D-II Data Exchange (DDX)

§

Iatp

Interactive Agent Transfer Protocol

§

Stp

Schedule Transfer Protocol

§

Srp

SpectraLink Radio Protocol

§

Uti

UTI

§

Smp

Simple Message Protocol

§

Sm

Simple Multicast Protocol

§

Ptp

Performance Transparency Protocol

§

IsisOverIpv4

ISIS over IPv4

§

Fire

FIRE

§

Crtp

Combat Radio Transport Protocol

§

Crudp

Combat Radio User Datagram

§

Sscopmce

SSCOPMCE

§

Iplt

IPLT

§

Sps

Secure Packet Shield

§

Pipe

Private IP Encapsulation within IP

§

Sctp

Stream Control Transmission Protocol

§

Fc

Fibre Channel

§

RsvpE2eIgnore

RSVP-E2E-IGNORE

§

MobilityHeader

Mobility Header

§

UdpLite

Lightweight User Datagram Protocol

§

Mpls

MPLS-in-IP

§

Manet

MANET Protocols

§

Hip

Host Identity Protocol

§

Shim6

Shim6 Protocol

§

Wesp

Wrapped Encapsulating Security Payload

§

Rohc

Robust Header Compression

§

EthernetInIpv4

Ethernet in IPv4

§

Aggfrag

AGGFRAG encapsulation payload for ESP

§

Test1

Use for experimentation and testing

§

Test2

Use for experimentation and testing

§

Reserved

Reserved

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.