- All Implemented Interfaces:
Serializable
,Comparable<PcapDlt>
,Constable
,IntSupplier
Constants that represent the Pcap's Payload Link Type assignments. The most
popular constant is the EN10MB
(alternatively DLT_EN10MB
)
which represents Ethernet2 based physical medium. This includes 10,
100, and 1000 mega-bit ethernets.
There are 2 tables within PcapDLT enum structure. First is the full table of
enum constants, and then there is a duplicate table containing public
final static int
of contants, prefixed with DLT_
. Also
the enum constant's field value
is public which means that
integer DLT constant can also be access using the field directly.
Accessing the int DLT value using an enum constant
int dlt = pcap.datalink(); // Get DLT value from open Pcap capture if (dlt == PcapDLT.EN10MB.value) { // Do something } // Also can use this more formal approach if (PcapDLT.EN10MB.equals(dlt)) { // Do something }
Accessing the int DLT value from integer constants table
int dlt = pcap.datalink(); // Get DLT value from open Pcap capture if (dlt == PcapDLT.DLT_EN10MB) { // Do something }
Converting integer DLT value into a constant
int dlt = pcap.datalink(); // Get DLT value from open Pcap capture PcapDLT enumConst = PcapDLT.valueOf(dlt); System.out.println("The Payload Link Type is " + enumConst + " described as " + enumConst.description);
Converting string DLT name into a constant
PcapDLT enumConst = PcapDLT.valueOf("EN10MB"); System.out.println("The Payload Link Type value is " + enumConst.value);
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe AIRONE t_ header.The APPL e_ i p_ ove r_ iee e1394.The ARCNET.The ARCNE t_ linux.The AT m_ clip.The AT m_ rf c1483.Auerswald Logger Protocol description is provided on https://github.com/Auerswald-GmbH/auerlog/blob/master/auerlog.txtThe AURORA.The A x25.The BACNE t_ m s_ tp.The C_ hdlc.The CHAOS.The CISC o_ ios.The DOCSIS.The ECONET.Ethernet link-type.Lagacy 3MB ethernet link-type.The ENC.The ER f_ eth.The ER f_ pos.Event Tracing for Windows messages.The FDDI.Ultra-wideband (UWB) controller interface protocol (UCI).The FRELAY.The GCO m_ serial.The GCO m_ t1 e1.The GP f_ f.The GP f_ t.The GPR s_ llc.The IB m_ sn.The IB m_ sp.The IEE e802.The IEE e802_11.The IEE e802_11_ radio.The IEE e802_11_ radi o_ avs.The I p_ ove r_ fc.The IPFILTER.The JUNIPE r_ at m1.The JUNIPE r_ at m2.The JUNIPE r_ es.The JUNIPE r_ ggsn.The JUNIPE r_ mfr.The JUNIPE r_ mlfr.The JUNIPE r_ mlppp.The JUNIPE r_ monitor.The JUNIPE r_ pi c_ peer.The JUNIPE r_ pppoe.The JUNIPE r_ pppo e_ atm.The JUNIPE r_ services.The LINU x_ irda.The LINU x_ lapd.The LINU x_ sll.The LOOP.The LTALK.MDB (Multi-Drop Bus) protocol between a vending machine controller and peripherals inside the vending machine.The MT p2.The MT p2_ wit h_ phdr.The MT p3.Hilscher Gesellschaft fuer Systemautomation mbH netANALYZER NG hardware and software.The NULL.The PC i_ exp.The PFLOG.The PFSYNC.The PPP.The PP p_ bsdos.The PP p_ ether.The PP p_ pppd.The PP p_ serial.The PRIS m_ header.The PRONET.The RAW.The RIO.The SCCP.Silicon Labs debug channel protocol.The SLIP.The SLI p_ bsdos.The SUNATM.The SYMANTE c_ firewall.The TZSP.USB 1.1 packets as transmitted over the cableUSB 2.0 packets as transmitted over the cableUSB 1.0 packets as transmitted over the cableThe USE r0.The USE r1.The USE r10.The USE r11.The USE r12.The USE r13.The USE r14.The USE r15.The USE r2.The USE r3.The USE r4.The USE r5.The USE r6.The USE r7.The USE r8.The USE r9.Serial NCP (Network Co-Processor) protocol for Zigbee stack ZBOSS by DSR.Z-Wave packets with a TAP meta-data header https://gitlab.com/exegin/zwave-g9959-tap requested on tcpdump-workers@ -
Field Summary
Modifier and TypeFieldDescriptionDescription of the dlt retrieved by quering the native pcap library.static final int
The Constant DLT_AIRONET_HEADER.static final int
The Constant DLT_APPLE_IP_OVER_IEEE1394.static final int
The Constant DLT_ARCNET.static final int
The Constant DLT_ARCNET_LINUX.static final int
The Constant DLT_ATM_CLIP.static final int
The Constant DLT_ATM_RFC1483.static final int
Auerswald Logger Protocol description is provided on https://github.com/Auerswald-GmbH/auerlog/blob/master/auerlog.txtstatic final int
The Constant DLT_AURORA.static final int
The Constant DLT_AX25.static final int
The Constant DLT_BACNET_MS_TP.static final int
The Constant DLT_C_HDLC.static final int
The Constant DLT_CHAOS.static final int
The Constant DLT_CISCO_IOS.static final int
The Constant DLT_DOCSIS.static final int
The Constant DLT_ECONET.static final int
The Constant DLT_EN10MB.static final int
The Constant DLT_EN3MB.static final int
The Constant DLT_ENC.static final int
The Constant DLT_ERF_ETH.static final int
The Constant DLT_ERF_POS.static final int
Event Tracing for Windows messages.static final int
The Constant DLT_FDDI.static final int
Ultra-wideband (UWB) controller interface protocol (UCI).static final int
The Constant DLT_FRELAY.static final int
The Constant DLT_GCOM_SERIAL.static final int
The Constant DLT_GCOM_T1E1.static final int
The Constant DLT_GPF_F.static final int
The Constant DLT_GPF_T.static final int
The Constant DLT_GPRS_LLC.static final int
The Constant DLT_IBM_SN.static final int
The Constant DLT_IBM_SP.static final int
The Constant DLT_IEEE802.static final int
The Constant DLT_IEEE802_11.static final int
The Constant DLT_IEEE802_11_RADIO.static final int
The Constant DLT_IEEE802_11_RADIO_AVS.static final int
The Constant DLT_IP_OVER_FC.static final int
The Constant DLT_IPFILTER.static final int
The Constant DLT_JUNIPER_ATM1.static final int
The Constant DLT_JUNIPER_ATM2.static final int
The Constant DLT_JUNIPER_ES.static final int
The Constant DLT_JUNIPER_GGSN.static final int
The Constant DLT_JUNIPER_MFR.static final int
The Constant DLT_JUNIPER_MLFR.static final int
The Constant DLT_JUNIPER_MLPPP.static final int
The Constant DLT_JUNIPER_MONITOR.static final int
The Constant DLT_JUNIPER_PIC_PEER.static final int
The Constant DLT_JUNIPER_PPPOE.static final int
The Constant DLT_JUNIPER_PPPOE_ATM.static final int
The Constant DLT_JUNIPER_SERVICES.static final int
The Constant DLT_LINUX_IRDA.static final int
The Constant DLT_LINUX_LAPD.static final int
The Constant DLT_LINUX_SLL.static final int
The Constant DLT_LOOP.static final int
The Constant DLT_LTALK.static final int
MDB (Multi-Drop Bus) protocol between a vending machine controller and peripherals inside the vending machine.static final int
The Constant DLT_MTP2.static final int
The Constant DLT_MTP2_WITH_PHDR.static final int
The Constant DLT_MTP3.static final int
Hilscher Gesellschaft fuer Systemautomation mbH netANALYZER NG hardware and software.static final int
The Constant DLT_NULL.static final int
The Constant DLT_PCI_EXP.static final int
The Constant DLT_PFLOG.static final int
The Constant DLT_PFSYNC.static final int
The Constant DLT_PPP.static final int
The Constant DLT_PPP_BSDOS.static final int
The Constant DLT_PPP_ETHER.static final int
The Constant DLT_PPP_PPPD.static final int
The Constant DLT_PPP_SERIAL.static final int
The Constant DLT_PRISM_HEADER.static final int
The Constant DLT_PRONET.static final int
The Constant DLT_RAW.static final int
The Constant DLT_RIO.static final int
The Constant DLT_SCCP.static final int
Silicon Labs debug channel protocol.static final int
The Constant DLT_SLIP.static final int
The Constant DLT_SLIP_BSDOS.static final int
The Constant DLT_SUNATM.static final int
The Constant DLT_SYMANTEC_FIREWALL.static final int
The Constant DLT_TZSP.static final int
USB 1.1 packets as transmitted over the cablestatic final int
USB 2.0 packets as transmitted over the cablestatic final int
USB 1.0 packets as transmitted over the cablestatic final int
The Constant DLT_USER0.static final int
The Constant DLT_USER1.static final int
The Constant DLT_USER10.static final int
The Constant DLT_USER11.static final int
The Constant DLT_USER12.static final int
The Constant DLT_USER13.static final int
The Constant DLT_USER14.static final int
The Constant DLT_USER15.static final int
The Constant DLT_USER2.static final int
The Constant DLT_USER3.static final int
The Constant DLT_USER4.static final int
The Constant DLT_USER5.static final int
The Constant DLT_USER6.static final int
The Constant DLT_USER7.static final int
The Constant DLT_USER8.static final int
The Constant DLT_USER9.static final int
Serial NCP (Network Co-Processor) protocol for Zigbee stack ZBOSS by DSR.static final int
Z-Wave packets with a TAP meta-data header https://gitlab.com/exegin/zwave-g9959-tap requested on tcpdump-workers@final int
Integer dlt value assigned by libpcap to this constant. -
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(int value) Compares the supplied value with the constant's assigned DLT value.int
getAsInt()
Gets the integer dlt value assigned by libpcap to this constant.Gets the description of the dlt retrieved by quering the native pcap library.toEnum
(int dlt) Converts the supplied id to an ArpHdr enum constant.static PcapDlt
valueOf
(int dlt) Converts an integer value into a PcapDLT constant.static PcapDlt
Returns the enum constant of this class with the specified name.static PcapDlt[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NULL
The NULL. -
EN10MB
Ethernet link-type. -
EN3MB
Lagacy 3MB ethernet link-type. -
AX25
The A x25. -
PRONET
The PRONET. -
CHAOS
The CHAOS. -
IEEE802
The IEE e802. -
ARCNET
The ARCNET. -
SLIP
The SLIP. -
PPP
The PPP. -
FDDI
The FDDI. -
ATM_RFC1483
The AT m_ rf c1483. -
RAW
The RAW. -
SLIP_BSDOS
The SLI p_ bsdos. -
PPP_BSDOS
The PP p_ bsdos. -
ATM_CLIP
The AT m_ clip. -
PPP_SERIAL
The PP p_ serial. -
PPP_ETHER
The PP p_ ether. -
SYMANTEC_FIREWALL
The SYMANTE c_ firewall. -
C_HDLC
The C_ hdlc. -
IEEE802_11
The IEE e802_11. -
FRELAY
The FRELAY. -
LOOP
The LOOP. -
ENC
The ENC. -
LINUX_SLL
The LINU x_ sll. -
LTALK
The LTALK. -
ECONET
The ECONET. -
IPFILTER
The IPFILTER. -
PFLOG
The PFLOG. -
CISCO_IOS
The CISC o_ ios. -
PRISM_HEADER
The PRIS m_ header. -
AIRONET_HEADER
The AIRONE t_ header. -
PFSYNC
The PFSYNC. -
IP_OVER_FC
The I p_ ove r_ fc. -
SUNATM
The SUNATM. -
RIO
The RIO. -
PCI_EXP
The PC i_ exp. -
AURORA
The AURORA. -
IEEE802_11_RADIO
The IEE e802_11_ radio. -
TZSP
The TZSP. -
ARCNET_LINUX
The ARCNE t_ linux. -
JUNIPER_MLPPP
The JUNIPE r_ mlppp. -
JUNIPER_MLFR
The JUNIPE r_ mlfr. -
JUNIPER_ES
The JUNIPE r_ es. -
JUNIPER_GGSN
The JUNIPE r_ ggsn. -
JUNIPER_MFR
The JUNIPE r_ mfr. -
JUNIPER_ATM2
The JUNIPE r_ at m2. -
JUNIPER_SERVICES
The JUNIPE r_ services. -
JUNIPER_ATM1
The JUNIPE r_ at m1. -
APPLE_IP_OVER_IEEE1394
The APPL e_ i p_ ove r_ iee e1394. -
MTP2_WITH_PHDR
The MT p2_ wit h_ phdr. -
MTP2
The MT p2. -
MTP3
The MT p3. -
SCCP
The SCCP. -
DOCSIS
The DOCSIS. -
LINUX_IRDA
The LINU x_ irda. -
IBM_SP
The IB m_ sp. -
IBM_SN
The IB m_ sn. -
USER0
The USE r0. -
USER1
The USE r1. -
USER2
The USE r2. -
USER3
The USE r3. -
USER4
The USE r4. -
USER5
The USE r5. -
USER6
The USE r6. -
USER7
The USE r7. -
USER8
The USE r8. -
USER9
The USE r9. -
USER10
The USE r10. -
USER11
The USE r11. -
USER12
The USE r12. -
USER13
The USE r13. -
USER14
The USE r14. -
USER15
The USE r15. -
IEEE802_11_RADIO_AVS
The IEE e802_11_ radi o_ avs. -
JUNIPER_MONITOR
The JUNIPE r_ monitor. -
BACNET_MS_TP
The BACNE t_ m s_ tp. -
PPP_PPPD
The PP p_ pppd. -
JUNIPER_PPPOE
The JUNIPE r_ pppoe. -
JUNIPER_PPPOE_ATM
The JUNIPE r_ pppo e_ atm. -
GPRS_LLC
The GPR s_ llc. -
GPF_T
The GP f_ t. -
GPF_F
The GP f_ f. -
GCOM_T1E1
The GCO m_ t1 e1. -
GCOM_SERIAL
The GCO m_ serial. -
JUNIPER_PIC_PEER
The JUNIPE r_ pi c_ peer. -
ERF_ETH
The ER f_ eth. -
ERF_POS
The ER f_ pos. -
LINUX_LAPD
The LINU x_ lapd. -
ETW
Event Tracing for Windows messages. -
NETANALYZER_NG
Hilscher Gesellschaft fuer Systemautomation mbH netANALYZER NG hardware and software. The specification for this footer can be found at: https://kb.hilscher.com/x/brDJBw Requested by Jan Adam jadam@hilscher.com -
ZBOSS_NCP
Serial NCP (Network Co-Processor) protocol for Zigbee stack ZBOSS by DSR. ZBOSS NCP protocol description: https://cloud.dsr-corporation.com/index.php/s/3isHzaNTTgtJebn Header in pcap file: https://cloud.dsr-corporation.com/index.php/s/fiqSDorAAAZrsYB Requested by Eugene Exarevsky eugene.exarevsky@dsr-corporation.com -
USB_2_0_LOW_SPEED
USB 1.0 packets as transmitted over the cable -
USB_2_0_FULL_SPEED
USB 1.1 packets as transmitted over the cable -
USB_2_0_HIGH_SPEED
USB 2.0 packets as transmitted over the cable -
AUERSWALD_LOG
Auerswald Logger Protocol description is provided on https://github.com/Auerswald-GmbH/auerlog/blob/master/auerlog.txt -
ZWAVE_TAP
Z-Wave packets with a TAP meta-data header https://gitlab.com/exegin/zwave-g9959-tap requested on tcpdump-workers@ -
SILABS_DEBUG_CHANNEL
Silicon Labs debug channel protocol. -
FIRA_UCI
Ultra-wideband (UWB) controller interface protocol (UCI). requested by Henri Chataing henrichataing@google.com -
MDB
MDB (Multi-Drop Bus) protocol between a vending machine controller and peripherals inside the vending machine. See https://www.kaiser.cx/pcap-mdb.html for the specification. Requested by Martin Kaiser martin@kaiser.cx
-
-
Field Details
-
DLT_NULL
public static final int DLT_NULLThe Constant DLT_NULL.- See Also:
-
DLT_EN10MB
public static final int DLT_EN10MBThe Constant DLT_EN10MB.- See Also:
-
DLT_EN3MB
public static final int DLT_EN3MBThe Constant DLT_EN3MB.- See Also:
-
DLT_AX25
public static final int DLT_AX25The Constant DLT_AX25.- See Also:
-
DLT_PRONET
public static final int DLT_PRONETThe Constant DLT_PRONET.- See Also:
-
DLT_CHAOS
public static final int DLT_CHAOSThe Constant DLT_CHAOS.- See Also:
-
DLT_IEEE802
public static final int DLT_IEEE802The Constant DLT_IEEE802.- See Also:
-
DLT_ARCNET
public static final int DLT_ARCNETThe Constant DLT_ARCNET.- See Also:
-
DLT_SLIP
public static final int DLT_SLIPThe Constant DLT_SLIP.- See Also:
-
DLT_PPP
public static final int DLT_PPPThe Constant DLT_PPP.- See Also:
-
DLT_FDDI
public static final int DLT_FDDIThe Constant DLT_FDDI.- See Also:
-
DLT_ATM_RFC1483
public static final int DLT_ATM_RFC1483The Constant DLT_ATM_RFC1483.- See Also:
-
DLT_RAW
public static final int DLT_RAWThe Constant DLT_RAW.- See Also:
-
DLT_SLIP_BSDOS
public static final int DLT_SLIP_BSDOSThe Constant DLT_SLIP_BSDOS.- See Also:
-
DLT_PPP_BSDOS
public static final int DLT_PPP_BSDOSThe Constant DLT_PPP_BSDOS.- See Also:
-
DLT_ATM_CLIP
public static final int DLT_ATM_CLIPThe Constant DLT_ATM_CLIP.- See Also:
-
DLT_PPP_SERIAL
public static final int DLT_PPP_SERIALThe Constant DLT_PPP_SERIAL.- See Also:
-
DLT_PPP_ETHER
public static final int DLT_PPP_ETHERThe Constant DLT_PPP_ETHER.- See Also:
-
DLT_SYMANTEC_FIREWALL
public static final int DLT_SYMANTEC_FIREWALLThe Constant DLT_SYMANTEC_FIREWALL.- See Also:
-
DLT_C_HDLC
public static final int DLT_C_HDLCThe Constant DLT_C_HDLC.- See Also:
-
DLT_IEEE802_11
public static final int DLT_IEEE802_11The Constant DLT_IEEE802_11.- See Also:
-
DLT_FRELAY
public static final int DLT_FRELAYThe Constant DLT_FRELAY.- See Also:
-
DLT_LOOP
public static final int DLT_LOOPThe Constant DLT_LOOP.- See Also:
-
DLT_ENC
public static final int DLT_ENCThe Constant DLT_ENC.- See Also:
-
DLT_LINUX_SLL
public static final int DLT_LINUX_SLLThe Constant DLT_LINUX_SLL.- See Also:
-
DLT_LTALK
public static final int DLT_LTALKThe Constant DLT_LTALK.- See Also:
-
DLT_ECONET
public static final int DLT_ECONETThe Constant DLT_ECONET.- See Also:
-
DLT_IPFILTER
public static final int DLT_IPFILTERThe Constant DLT_IPFILTER.- See Also:
-
DLT_PFLOG
public static final int DLT_PFLOGThe Constant DLT_PFLOG.- See Also:
-
DLT_CISCO_IOS
public static final int DLT_CISCO_IOSThe Constant DLT_CISCO_IOS.- See Also:
-
DLT_PRISM_HEADER
public static final int DLT_PRISM_HEADERThe Constant DLT_PRISM_HEADER.- See Also:
-
DLT_AIRONET_HEADER
public static final int DLT_AIRONET_HEADERThe Constant DLT_AIRONET_HEADER.- See Also:
-
DLT_PFSYNC
public static final int DLT_PFSYNCThe Constant DLT_PFSYNC.- See Also:
-
DLT_IP_OVER_FC
public static final int DLT_IP_OVER_FCThe Constant DLT_IP_OVER_FC.- See Also:
-
DLT_SUNATM
public static final int DLT_SUNATMThe Constant DLT_SUNATM.- See Also:
-
DLT_RIO
public static final int DLT_RIOThe Constant DLT_RIO.- See Also:
-
DLT_PCI_EXP
public static final int DLT_PCI_EXPThe Constant DLT_PCI_EXP.- See Also:
-
DLT_AURORA
public static final int DLT_AURORAThe Constant DLT_AURORA.- See Also:
-
DLT_IEEE802_11_RADIO
public static final int DLT_IEEE802_11_RADIOThe Constant DLT_IEEE802_11_RADIO.- See Also:
-
DLT_TZSP
public static final int DLT_TZSPThe Constant DLT_TZSP.- See Also:
-
DLT_ARCNET_LINUX
public static final int DLT_ARCNET_LINUXThe Constant DLT_ARCNET_LINUX.- See Also:
-
DLT_JUNIPER_MLPPP
public static final int DLT_JUNIPER_MLPPPThe Constant DLT_JUNIPER_MLPPP.- See Also:
-
DLT_APPLE_IP_OVER_IEEE1394
public static final int DLT_APPLE_IP_OVER_IEEE1394The Constant DLT_APPLE_IP_OVER_IEEE1394.- See Also:
-
DLT_JUNIPER_MLFR
public static final int DLT_JUNIPER_MLFRThe Constant DLT_JUNIPER_MLFR.- See Also:
-
DLT_JUNIPER_ES
public static final int DLT_JUNIPER_ESThe Constant DLT_JUNIPER_ES.- See Also:
-
DLT_JUNIPER_GGSN
public static final int DLT_JUNIPER_GGSNThe Constant DLT_JUNIPER_GGSN.- See Also:
-
DLT_JUNIPER_MFR
public static final int DLT_JUNIPER_MFRThe Constant DLT_JUNIPER_MFR.- See Also:
-
DLT_JUNIPER_ATM2
public static final int DLT_JUNIPER_ATM2The Constant DLT_JUNIPER_ATM2.- See Also:
-
DLT_JUNIPER_SERVICES
public static final int DLT_JUNIPER_SERVICESThe Constant DLT_JUNIPER_SERVICES.- See Also:
-
DLT_JUNIPER_ATM1
public static final int DLT_JUNIPER_ATM1The Constant DLT_JUNIPER_ATM1.- See Also:
-
DLT_MTP2_WITH_PHDR
public static final int DLT_MTP2_WITH_PHDRThe Constant DLT_MTP2_WITH_PHDR.- See Also:
-
DLT_MTP2
public static final int DLT_MTP2The Constant DLT_MTP2.- See Also:
-
DLT_MTP3
public static final int DLT_MTP3The Constant DLT_MTP3.- See Also:
-
DLT_SCCP
public static final int DLT_SCCPThe Constant DLT_SCCP.- See Also:
-
DLT_DOCSIS
public static final int DLT_DOCSISThe Constant DLT_DOCSIS.- See Also:
-
DLT_LINUX_IRDA
public static final int DLT_LINUX_IRDAThe Constant DLT_LINUX_IRDA.- See Also:
-
DLT_IBM_SP
public static final int DLT_IBM_SPThe Constant DLT_IBM_SP.- See Also:
-
DLT_IBM_SN
public static final int DLT_IBM_SNThe Constant DLT_IBM_SN.- See Also:
-
DLT_USER0
public static final int DLT_USER0The Constant DLT_USER0.- See Also:
-
DLT_USER1
public static final int DLT_USER1The Constant DLT_USER1.- See Also:
-
DLT_USER2
public static final int DLT_USER2The Constant DLT_USER2.- See Also:
-
DLT_USER3
public static final int DLT_USER3The Constant DLT_USER3.- See Also:
-
DLT_USER4
public static final int DLT_USER4The Constant DLT_USER4.- See Also:
-
DLT_USER5
public static final int DLT_USER5The Constant DLT_USER5.- See Also:
-
DLT_USER6
public static final int DLT_USER6The Constant DLT_USER6.- See Also:
-
DLT_USER7
public static final int DLT_USER7The Constant DLT_USER7.- See Also:
-
DLT_USER8
public static final int DLT_USER8The Constant DLT_USER8.- See Also:
-
DLT_USER9
public static final int DLT_USER9The Constant DLT_USER9.- See Also:
-
DLT_USER10
public static final int DLT_USER10The Constant DLT_USER10.- See Also:
-
DLT_USER11
public static final int DLT_USER11The Constant DLT_USER11.- See Also:
-
DLT_USER12
public static final int DLT_USER12The Constant DLT_USER12.- See Also:
-
DLT_USER13
public static final int DLT_USER13The Constant DLT_USER13.- See Also:
-
DLT_USER14
public static final int DLT_USER14The Constant DLT_USER14.- See Also:
-
DLT_USER15
public static final int DLT_USER15The Constant DLT_USER15.- See Also:
-
DLT_IEEE802_11_RADIO_AVS
public static final int DLT_IEEE802_11_RADIO_AVSThe Constant DLT_IEEE802_11_RADIO_AVS.- See Also:
-
DLT_JUNIPER_MONITOR
public static final int DLT_JUNIPER_MONITORThe Constant DLT_JUNIPER_MONITOR.- See Also:
-
DLT_BACNET_MS_TP
public static final int DLT_BACNET_MS_TPThe Constant DLT_BACNET_MS_TP.- See Also:
-
DLT_PPP_PPPD
public static final int DLT_PPP_PPPDThe Constant DLT_PPP_PPPD.- See Also:
-
DLT_JUNIPER_PPPOE
public static final int DLT_JUNIPER_PPPOEThe Constant DLT_JUNIPER_PPPOE.- See Also:
-
DLT_JUNIPER_PPPOE_ATM
public static final int DLT_JUNIPER_PPPOE_ATMThe Constant DLT_JUNIPER_PPPOE_ATM.- See Also:
-
DLT_GPRS_LLC
public static final int DLT_GPRS_LLCThe Constant DLT_GPRS_LLC.- See Also:
-
DLT_GPF_T
public static final int DLT_GPF_TThe Constant DLT_GPF_T.- See Also:
-
DLT_GPF_F
public static final int DLT_GPF_FThe Constant DLT_GPF_F.- See Also:
-
DLT_GCOM_T1E1
public static final int DLT_GCOM_T1E1The Constant DLT_GCOM_T1E1.- See Also:
-
DLT_GCOM_SERIAL
public static final int DLT_GCOM_SERIALThe Constant DLT_GCOM_SERIAL.- See Also:
-
DLT_JUNIPER_PIC_PEER
public static final int DLT_JUNIPER_PIC_PEERThe Constant DLT_JUNIPER_PIC_PEER.- See Also:
-
DLT_ERF_ETH
public static final int DLT_ERF_ETHThe Constant DLT_ERF_ETH.- See Also:
-
DLT_ERF_POS
public static final int DLT_ERF_POSThe Constant DLT_ERF_POS.- See Also:
-
DLT_LINUX_LAPD
public static final int DLT_LINUX_LAPDThe Constant DLT_LINUX_LAPD.- See Also:
-
DLT_ETW
public static final int DLT_ETWEvent Tracing for Windows messages.- See Also:
-
DLT_NETANALYZER_NG
public static final int DLT_NETANALYZER_NGHilscher Gesellschaft fuer Systemautomation mbH netANALYZER NG hardware and software. The specification for this footer can be found at: https://kb.hilscher.com/x/brDJBw Requested by Jan Adam jadam@hilscher.com- See Also:
-
DLT_ZBOSS_NCP
public static final int DLT_ZBOSS_NCPSerial NCP (Network Co-Processor) protocol for Zigbee stack ZBOSS by DSR. ZBOSS NCP protocol description: https://cloud.dsr-corporation.com/index.php/s/3isHzaNTTgtJebn Header in pcap file: https://cloud.dsr-corporation.com/index.php/s/fiqSDorAAAZrsYB Requested by Eugene Exarevsky eugene.exarevsky@dsr-corporation.com- See Also:
-
DLT_USB_2_0_LOW_SPEED
public static final int DLT_USB_2_0_LOW_SPEEDUSB 1.0 packets as transmitted over the cable- See Also:
-
DLT_USB_2_0_FULL_SPEED
public static final int DLT_USB_2_0_FULL_SPEEDUSB 1.1 packets as transmitted over the cable- See Also:
-
DLT_USB_2_0_HIGH_SPEED
public static final int DLT_USB_2_0_HIGH_SPEEDUSB 2.0 packets as transmitted over the cable- See Also:
-
DLT_AUERSWALD_LOG
public static final int DLT_AUERSWALD_LOGAuerswald Logger Protocol description is provided on https://github.com/Auerswald-GmbH/auerlog/blob/master/auerlog.txt- See Also:
-
DLT_ZWAVE_TAP
public static final int DLT_ZWAVE_TAPZ-Wave packets with a TAP meta-data header https://gitlab.com/exegin/zwave-g9959-tap requested on tcpdump-workers@- See Also:
-
DLT_SILABS_DEBUG_CHANNEL
public static final int DLT_SILABS_DEBUG_CHANNELSilicon Labs debug channel protocol.- See Also:
-
DLT_FIRA_UCI
public static final int DLT_FIRA_UCIUltra-wideband (UWB) controller interface protocol (UCI). requested by Henri Chataing henrichataing@google.com- See Also:
-
DLT_MDB
public static final int DLT_MDBMDB (Multi-Drop Bus) protocol between a vending machine controller and peripherals inside the vending machine. See https://www.kaiser.cx/pcap-mdb.html for the specification. Requested by Martin Kaiser martin@kaiser.cx.- See Also:
-
intDlt
public final int intDltInteger dlt value assigned by libpcap to this constant. -
description
Description of the dlt retrieved by quering the native pcap library. The description is not a static constant part of the API and may change from native libpcap implementation to implementation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Converts an integer value into a PcapDLT constant.- Parameters:
dlt
- Pcap DLT integer value to convert- Returns:
- constant assigned to the DLT integer, or null if not found
- Throws:
IllegalArgumentException
- thrown if not found
-
toEnum
Converts the supplied id to an ArpHdr enum constant.- Parameters:
dlt
- the pcap DLT integer constant- Returns:
- the corresponding enum if found
-
equals
public boolean equals(int value) Compares the supplied value with the constant's assigned DLT value.- Parameters:
value
- the value- Returns:
- true if the supplied value matches the value of the constant, otherwise false value value to check against this constant
-
getAsInt
public int getAsInt()Gets the integer dlt value assigned by libpcap to this constant.- Specified by:
getAsInt
in interfaceIntSupplier
- Returns:
- the integer dlt value assigned by libpcap to this constant
- See Also:
-
getDescription
Gets the description of the dlt retrieved by quering the native pcap library.- Returns:
- the description of the dlt retrieved by quering the native pcap library
- See Also:
-