[][src]Enum jnet::ipv4::Protocol

pub enum Protocol {
    Hopopt,
    Icmp,
    Igmp,
    Ggp,
    Ipv4,
    St,
    Tcp,
    Cbt,
    Egp,
    Igp,
    BbnRccMon,
    NvpIi,
    Pup,
    Argus,
    Emcon,
    Xnet,
    Chaos,
    Udp,
    Mux,
    DcnMeas,
    Hmp,
    Prm,
    XnsIdp,
    Trunk1,
    Trunk2,
    Leaf1,
    Leaf2,
    Rdp,
    Irtp,
    IsoTp4,
    Netblt,
    MfeNsp,
    MeritInp,
    Dccp,
    ThreePc,
    Idpr,
    Xtp,
    Ddp,
    IdprCmtp,
    Tppp,
    Il,
    Ipv6,
    Sdrp,
    Ipv6Route,
    Ipv6Frag,
    Idrp,
    Rsvp,
    Gres,
    Dsr,
    Bna,
    Esp,
    Ah,
    INlsp,
    Swipe,
    Narp,
    Mobile,
    Tlsp,
    Skip,
    Ipv6Icmp,
    Ipv6NoNxt,
    Ipv6Opts,
    AnyHostInternalProtocol,
    Cftp,
    AnyLocalNetwork,
    SatExpak,
    Kryptolan,
    Rvd,
    Ippc,
    AnyDistributedFileSystem,
    SatMon,
    Visa,
    Ipcu,
    Cpnx,
    Cphb,
    Wsn,
    Pvp,
    BrSatMon,
    SunNd,
    WbMon,
    WbExpak,
    IsoIp,
    Vmtp,
    SecureVmtp,
    Vines,
    TtpIptm,
    NfsnetIgp,
    Dgp,
    Tcf,
    Eigrp,
    Ospfigp,
    SpriteRpc,
    Larp,
    Mtp,
    Ax25,
    Ipip,
    Micp,
    SccSp,
    Etherip,
    Encap,
    AnyPrivateEncryptionScheme,
    Gmtp,
    Ifmp,
    Pnni,
    Pim,
    Aris,
    Scps,
    Qnx,
    AN,
    IpComp,
    Snp,
    CompaqPeer,
    IpxInIp,
    Vrrp,
    Pgm,
    Any0HopProtocol,
    L2tp,
    Ddx,
    Iatp,
    Stp,
    Srp,
    Uti,
    Smp,
    Sm,
    Ptp,
    IsisOverIpv4,
    Fire,
    Crtp,
    Crudp,
    Sscopmce,
    Iplt,
    Sps,
    Pipe,
    Sctp,
    Fc,
    RsvpE2eIgnore,
    MobilityHeader,
    UdpLite,
    MplsInIp,
    Manet,
    Hip,
    Shim6,
    Wesp,
    Rohc,
    Reserved,
    Unknown(u8),
}

IP protocol

Variants

Hopopt

IPv6 Hop-by-Hop Option

Icmp

ICMP

Igmp

Internet Group Management Protocol

Ggp

Gateway-to-Gateway Protocol

Ipv4

IPv4 encapsulation

St

Stream

Tcp

Transmission Control Protocol

Cbt

CBT

Egp

Exterior Gateway Protocol

Igp

Any private interior gateway

BbnRccMon

BBN RCC Monitoring

NvpIi

Network Voice Protocol

Pup

PUP

Argus

ARGUS (deprecated)

Emcon

EMCON

Xnet

Cross Net Debugger

Chaos

Chaos

Udp

UDP

Mux

Multiplexing

DcnMeas

DCN Measurement Subsystems

Hmp

Host Monitoring

Prm

Packet Radio Measurement

XnsIdp

XEROX NS IDP

Trunk1

Trunk-1

Trunk2

Trunk-2

Leaf1

Leaf-1

Leaf2

Leaf-2

Rdp

Reliable Data Protocol

Irtp

Internet Reliable Transaction

IsoTp4

ISO Transport Protocol Class 4

Netblt

Bulk Data Transfer Protocol

MfeNsp

MFE Network Services Protocol

MeritInp

MERIT Internodal Protocol

Dccp

Datagram Congestion Control Protocol

ThreePc

Third Party Connect Protocol

Idpr

Inter-Domain Policy Routing Protocol

Xtp

Xpress Transport Protocol

Ddp

Datagram Delivery Protocol

IdprCmtp

IDPR Control Message Transport Proto

Tppp

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

Resource Protocol

Gres

Generic Routing Encapsulation

Dsr

Dynamic Source Routing Protocol

Bna

BNA

Esp

Encap Security Payload

Ah

Authentication Header

INlsp

Integrated Net Layer Security Protocol

Swipe

IP with Encryption (deprecated)

Narp

NBMA Address Resolution Protocol

Mobile

IP Mobility

Tlsp

Transport Layer Security Protocol using Kryptonet key management

Skip

SKIP

Ipv6Icmp

ICMP for IPv6

Ipv6NoNxt

No Next Header for IPv6

Ipv6Opts

Destination Options for IPv6

AnyHostInternalProtocol

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

Ipcu

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

International Organization for Standardization Internet Protocol

Vmtp

VMTP

SecureVmtp

Secure-VMTP

Vines

VINES

TtpIptm

Transaction Transport Protocol || Internet Protocol Traffic Manager

NfsnetIgp

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. (deprecated)

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

AN

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

Any0HopProtocol

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 (deprecated)

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

UDPLite

MplsInIp

MPLS-in-IP

Manet

MANET Protocols

Hip

Host Identity Protocol

Shim6

Shim6 Protocol

Wesp

Wrapped Encapsulating Security Payload

Rohc

Robust Header Compression

Reserved

Reserved

Unknown(u8)

Unknown

Methods

impl Protocol[src]

pub fn is_ipv6_extension_header(&self) -> bool[src]

Is this an IPv6 extension header?

Trait Implementations

impl From<u8> for Protocol[src]

impl From<Protocol> for u8[src]

impl PartialEq<Protocol> for Protocol[src]

impl Debug for Protocol[src]

impl Copy for Protocol[src]

impl Clone for Protocol[src]

Auto Trait Implementations

impl Unpin for Protocol

impl Send for Protocol

impl Sync for Protocol

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self