[][src]Enum pcap_file::DataLink

pub enum DataLink {
    NULL,
    ETHERNET,
    AX25,
    IEEE802_5,
    ARCNET_BSD,
    SLIP,
    PPP,
    FDDI,
    PPP_HDLC,
    PPP_ETHER,
    ATM_RFC1483,
    RAW,
    C_HDLC,
    IEEE802_11,
    FRELAY,
    LOOP,
    LINUX_SLL,
    LTALK,
    PFLOG,
    IEEE802_11_PRISM,
    IP_OVER_FC,
    SUNATM,
    IEEE802_11_RADIOTAP,
    ARCNET_LINUX,
    APPLE_IP_OVER_IEEE1394,
    MTP2_WITH_PHDR,
    MTP2,
    MTP3,
    SCCP,
    DOCSIS,
    LINUX_IRDA,
    USER0,
    USER1,
    USER2,
    USER3,
    USER4,
    USER5,
    USER6,
    USER7,
    USER8,
    USER9,
    USER10,
    USER11,
    USER12,
    USER13,
    USER14,
    USER15,
    IEEE802_11_AVS,
    BACNET_MS_TP,
    PPP_PPPD,
    GPRS_LLC,
    GPF_T,
    GPF_F,
    LINUX_LAPD,
    BLUETOOTH_HCI_H4,
    USB_LINUX,
    PPI,
    IEEE802_15_4,
    SITA,
    ERF,
    BLUETOOTH_HCI_H4_WITH_PHDR,
    AX25_KISS,
    LAPD,
    PPP_WITH_DIR,
    C_HDLC_WITH_DIR,
    FRELAY_WITH_DIR,
    IPMB_LINUX,
    IEEE802_15_4_NONASK_PHY,
    USB_LINUX_MMAPPED,
    FC_2,
    FC_2_WITH_FRAME_DELIMS,
    IPNET,
    CAN_SOCKETCAN,
    IPV4,
    IPV6,
    IEEE802_15_4_NOFCS,
    DBUS,
    DVB_CI,
    MUX27010,
    STANAG_5066_D_PDU,
    NFLOG,
    NETANALYZER,
    NETANALYZER_TRANSPARENT,
    IPOIB,
    MPEG_2_TS,
    NG40,
    NFC_LLCP,
    INFINIBAND,
    SCTP,
    USBPCAP,
    RTAC_SERIAL,
    BLUETOOTH_LE_LL,
    NETLINK,
    BLUETOOTH_LINUX_MONITOR,
    BLUETOOTH_BREDR_BB,
    BLUETOOTH_LE_LL_WITH_PHDR,
    PROFIBUS_DL,
    PKTAP,
    EPON,
    IPMI_HPM_2,
    ZWAVE_R1_R2,
    ZWAVE_R3,
    WATTSTOPPER_DLM,
    ISO_14443,
    RDS,
    USB_DARWIN,
    SDLC,
    Unknown(u32),
}

Data link type

The link-layer header type specifies the first protocol of the packet.

See http://www.tcpdump.org/linktypes.html

Variants

NULL
ETHERNET
AX25
IEEE802_5
ARCNET_BSD
SLIP
PPP
FDDI
PPP_HDLC
PPP_ETHER
ATM_RFC1483
RAW
C_HDLC
IEEE802_11
FRELAY
LOOP
LINUX_SLL
LTALK
PFLOG
IEEE802_11_PRISM
IP_OVER_FC
SUNATM
IEEE802_11_RADIOTAP
ARCNET_LINUX
APPLE_IP_OVER_IEEE1394
MTP2_WITH_PHDR
MTP2
MTP3
SCCP
DOCSIS
LINUX_IRDA
USER0
USER1
USER2
USER3
USER4
USER5
USER6
USER7
USER8
USER9
USER10
USER11
USER12
USER13
USER14
USER15
IEEE802_11_AVS
BACNET_MS_TP
PPP_PPPD
GPRS_LLC
GPF_T
GPF_F
LINUX_LAPD
BLUETOOTH_HCI_H4
USB_LINUX
PPI
IEEE802_15_4
SITA
ERF
BLUETOOTH_HCI_H4_WITH_PHDR
AX25_KISS
LAPD
PPP_WITH_DIR
C_HDLC_WITH_DIR
FRELAY_WITH_DIR
IPMB_LINUX
IEEE802_15_4_NONASK_PHY
USB_LINUX_MMAPPED
FC_2
FC_2_WITH_FRAME_DELIMS
IPNET
CAN_SOCKETCAN
IPV4
IPV6
IEEE802_15_4_NOFCS
DBUS
DVB_CI
MUX27010
STANAG_5066_D_PDU
NFLOG
NETANALYZER
NETANALYZER_TRANSPARENT
IPOIB
MPEG_2_TS
NG40
NFC_LLCP
INFINIBAND
SCTP
USBPCAP
RTAC_SERIAL
BLUETOOTH_LE_LL
BLUETOOTH_LINUX_MONITOR
BLUETOOTH_BREDR_BB
BLUETOOTH_LE_LL_WITH_PHDR
PROFIBUS_DL
PKTAP
EPON
IPMI_HPM_2
ZWAVE_R1_R2
ZWAVE_R3
WATTSTOPPER_DLM
ISO_14443
RDS
USB_DARWIN
SDLC
Unknown(u32)

Trait Implementations

impl From<u32> for DataLink[src]

impl From<DataLink> for u32[src]

impl Clone for DataLink[src]

impl Copy for DataLink[src]

impl Eq for DataLink[src]

impl PartialEq<DataLink> for DataLink[src]

impl Debug for DataLink[src]

impl StructuralPartialEq for DataLink[src]

impl StructuralEq for DataLink[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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> 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]