[][src]Enum pcarp::LinkType

pub enum LinkType {
    NULL,
    ETHERNET,
    EXP_ETHERNET,
    AX24,
    PRONET,
    CHAOS,
    TOKEN_RING,
    ARCNET,
    SLIP,
    PPP,
    FDDI,
    PPP_HDLC,
    PPP_ETHER,
    SYMANTEC_FIREWALL,
    ATM_RFC1483,
    RAW,
    SLIP_BSDOS,
    PPP_BSDOS,
    C_HDLC,
    IEEE802_11,
    ATM_CLIP,
    FRELAY,
    LOOP,
    ENC,
    LANE8023,
    HIPPI,
    HDLC,
    LINUX_SLL,
    LTALK,
    ECONET,
    IPFILTER,
    PFLOG,
    CISCO_IOS,
    PRISM_HEADER,
    AIRONET_HEADER,
    HHDLC,
    IP_OVER_FC,
    SUNATM,
    RIO,
    PCI_EXP,
    AURORA,
    IEEE802_11_RADIO,
    TZSP,
    ARCNET_LINUX,
    JUNIPER_MLPPP,
    JUNIPER_MLFR,
    JUNIPER_ES,
    JUNIPER_GGSN,
    JUNIPER_MFR,
    JUNIPER_ATM2,
    JUNIPER_SERVICES,
    JUNIPER_ATM1,
    APPLE_IP_OVER_IEEE1394,
    MTP2_WITH_PHDR,
    MTP2,
    MTP3,
    SCCP,
    DOCSIS,
    LINUX_IRDA,
    IBM_SP,
    IBM_SN,
    Unknown(u16),
}

The type of physical link backing a network interface.

Variants

No link layer information. A packet saved with this link layer contains a raw L3 packet preceded by a 32-bit host-byte-order AF_ value indicating the specific L3 type.

D/I/X and 802.3 Ethernet

Experimental Ethernet (3Mb)

Amateur Radio AX.25

Proteon ProNET Token Ring

Chaos

IEEE 802 Networks

ARCNET, with BSD-style header

Serial Line IP

Point-to-point Protocol

FDDI

PPP in HDLC-like framing

NetBSD PPP-over-Ethernet

Symantec Enterprise Firewall

LLC/SNAP-encapsulated ATM

Raw IP

BSD/OS SLIP BPF header

BSD/OS PPP BPF header

Cisco HDLC

IEEE 802.11 (wireless)

Linux Classical IP over ATM

Frame Relay

OpenBSD loopback

OpenBSD IPSEC enc

ATM LANE + 802.3 (Reserved for future use)

NetBSD HIPPI (Reserved for future use)

NetBSD HDLC framing (Reserved for future use)

Linux cooked socket capture

Apple LocalTalk hardware

Acorn Econet

Reserved for use with OpenBSD ipfilter

OpenBSD DLT_PFLOG

For Cisco-internal use

802.11+Prism II monitor mode

FreeBSD Aironet driver stuff

Reserved for Siemens HiPath HDLC

RFC 2625 IP-over-Fibre Channel

Solaris+SunATM

RapidIO - Reserved as per request from Kent Dahlgren kent@praesum.com for private use.

PCI Express - Reserved as per request from Kent Dahlgren kent@praesum.com for private use.

Xilinx Aurora link layer - Reserved as per request from Kent Dahlgren kent@praesum.com for private use.

802.11 plus BSD radio header

Tazmen Sniffer Protocol - Reserved for the TZSP encapsulation, as per request from Chris Waters chris.waters@networkchemistry.com TZSP is a generic encapsulation for any other link type, which includes a means to include meta-information with the packet, e.g. signal strength and channel for 802.11 packets.

Linux-style headers

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Juniper-private data link type, as per request from Hannes Gredler hannes@juniper.net. The corresponding DLT_s are used for passing on chassis-internal metainformation such as QOS profiles, etc..

Apple IP-over-IEEE 1394 cooked header

???

???

???

???

DOCSIS MAC frames

Linux-IrDA

Reserved for IBM SP switch and IBM Next Federation switch.

Reserved for IBM SP switch and IBM Next Federation switch.

A link type we didn't recognise.

Methods

impl LinkType
[src]

Decode LinkType from u16

Trait Implementations

impl Clone for LinkType
[src]

Performs copy-assignment from source. Read more

impl Copy for LinkType
[src]

impl PartialEq<LinkType> for LinkType
[src]

impl Debug for LinkType
[src]

Auto Trait Implementations

impl Send for LinkType

impl Sync for LinkType

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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