Uses of Enum Class
org.jnetpcap.constant.PcapDlt
Packages that use 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
Methods in org.jnetpcap that return PcapDltModifier 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.Methods in org.jnetpcap that return types with arguments of type PcapDltModifier and TypeMethodDescriptionPcap.listDataLinks()
Get a list of link-layer header types supported by a capture device.Pcap0_8.listDataLinks()
List data links.Methods in org.jnetpcap with parameters of type PcapDltModifier 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.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.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 .Method parameters in org.jnetpcap with type arguments of type PcapDltModifier 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
Methods in org.jnetpcap.constant that return PcapDltModifier 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.Methods in org.jnetpcap.constant that return types with arguments of type PcapDlt -
Uses of PcapDlt in org.jnetpcap.windows
Methods in org.jnetpcap.windows with parameters of type PcapDltModifier 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.