Uses of Enum Class
org.jnetpcap.constant.PcapDlt
Package
Description
The Packet Capture library provides a high level interface to packet capture
systems.
Various libpcap related constants
Provides support for Pcap on Microsoft Windows platforms.
-
Uses of PcapDlt in org.jnetpcap
Modifier and TypeMethodDescriptionPcap.datalink()
Get the link-layer header type.final PcapDlt
Pcap0_4.datalink()
Datalink.Pcap.dataLinkExt()
Gets the link-layer header type for the live capture or ``savefile''.final PcapDlt
Pcap1_0.dataLinkExt()
Data link ext.static PcapDlt
Pcap.datalinkNameToVal
(String name) Translates a link-layer header type name, which is a DLT_ name with the DLT_ removed, to the corresponding link-layer header type value.static PcapDlt
Pcap0_8.datalinkNameToVal
(String name) Translates a link-layer header type name, which is a DLT_ name with the DLT_ removed, to the corresponding link-layer header type value.Modifier and TypeMethodDescriptionPcap.listDataLinks()
Get a list of link-layer header types supported by a capture device.Pcap0_8.listDataLinks()
List data links.Modifier and TypeMethodDescriptionstatic BpFilter
Pcap.compileNoPcap
(int snaplen, PcapDlt pcapDlt, String str, boolean optimize, int netmask) Deprecated.static BpFilter
Pcap0_5.compileNoPcap
(int snaplen, PcapDlt pcapDlt, String str, boolean optimize, int netmask) Compile a filter expression against a dead handle opened usingopenDead
.static String
Pcap.datalinkValToDescription
(PcapDlt pcapDlt) link-layer header type.static String
Pcap0_8.dataLinkValToDescription
(PcapDlt pcapDlt) Translates a link-layer header type value to a short description of that link-layer header type.static String
Pcap.datalinkValToName
(PcapDlt pcapDlt) Translates a link-layer header type value to the corresponding link-layer header type name, which is the DLT_ name for the link-layer header type value with the DLT_ removed.static String
Pcap0_8.dataLinkValToName
(PcapDlt pcapDlt) Translates a link-layer header type value to the corresponding link-layer header type name, which is the DLT_ name for the link-layer header type value with the DLT_ removed.static Pcap.Linux
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap.Unix
Open a fake pcap_t for compiling filters or opening a capture for output.protected static <T extends Pcap>
TPcap0_6.openDead
(Pcap0_4.PcapSupplier<T> factory, PcapDlt linktype, int snaplen) Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap0_7
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap0_8
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap0_9
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_0
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_10
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_2
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_5
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_9
Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap.Linux
Pcap.Linux.openDeadWithTstampPrecision
(PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap
Pcap.openDeadWithTstampPrecision
(PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap.Unix
Pcap.Unix.openDeadWithTstampPrecision
(PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_10
Pcap1_10.openDeadWithTstampPrecision
(PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_5
Pcap1_5.openDeadWithTstampPrecision
(PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.protected static <T extends Pcap>
TPcap1_5.openDeadWithTstampPrecision
(Pcap0_4.PcapSupplier<T> factory, PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.static Pcap1_9
Pcap1_9.openDeadWithTstampPrecision
(PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.Pcap.setDatalink
(PcapDlt dlt) Set the link-layer header type to be used by a capture device .Modifier and TypeMethodDescriptionPcap.setDatalink
(Optional<PcapDlt> dlt) Set the link-layer header type to be used by a capture device . -
Uses of PcapDlt in org.jnetpcap.constant
Modifier and TypeMethodDescriptionstatic PcapDlt
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[]
PcapDlt.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of PcapDlt in org.jnetpcap.internal
Modifier and TypeMethodDescriptionstatic String
UnsafePcapHandle.makeDeadHandleName
(PcapDlt dlt) Make dead handle name. -
Uses of PcapDlt in org.jnetpcap.windows
Modifier and TypeMethodDescriptionstatic Npcap
Open a fake pcap_t for compiling filters or opening a capture for output.static WinPcap
Open a fake pcap_t for compiling filters or opening a capture for output.static Npcap
Npcap.openDeadWithTstampPrecision
(PcapDlt linktype, int snaplen, PcapTStampPrecision precision) Open a fake pcap_t for compiling filters or opening a capture for output.