Enum rpcap::Linktype[][src]

#[repr(u32)]
pub enum Linktype {
Show 106 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, USER00_LINKTYPE, USER01_LINKTYPE, USER02_LINKTYPE, USER03_LINKTYPE, USER04_LINKTYPE, USER05_LINKTYPE, USER06_LINKTYPE, USER07_LINKTYPE, USER08_LINKTYPE, USER09_LINKTYPE, USER10_LINKTYPE, USER11_LINKTYPE, USER12_LINKTYPE, USER13_LINKTYPE, USER14_LINKTYPE, USER15_LINKTYPE, 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,
}
Expand description

Known identifiers for the types of packets that might be captured in a pcap file. This tells you how to interpret the packets you receive.

Look at tcpdump.org for the canonical list with descriptions.

Variants

NULL

ETHERNET

Ethernet packets

AX25

IEEE802_5

ARCNET_BSD

SLIP

PPP

FDDI

PPP_HDLC

PPP_ETHER

ATM_RFC1483

RAW

IP packets (IPv4 or IPv6)

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

USER00_LINKTYPE

USER01_LINKTYPE

USER02_LINKTYPE

USER03_LINKTYPE

USER04_LINKTYPE

USER05_LINKTYPE

USER06_LINKTYPE

USER07_LINKTYPE

USER08_LINKTYPE

USER09_LINKTYPE

USER10_LINKTYPE

USER11_LINKTYPE

USER12_LINKTYPE

USER13_LINKTYPE

USER14_LINKTYPE

USER15_LINKTYPE

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Performs the conversion.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

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.