Uses of Enum Class
org.jnetpcap.constant.PcapDirection
Package
Description
The Packet Capture library provides a high level interface to packet capture
systems.
Various libpcap related constants
-
Uses of PcapDirection in org.jnetpcap
Modifier and TypeMethodDescriptionPcap.setDirection
(PcapDirection dir) Set the direction for which packets will be captured.Modifier and TypeMethodDescriptionPcap.setDirection
(Optional<PcapDirection> dir) Set the direction for which packets will be captured. -
Uses of PcapDirection in org.jnetpcap.constant
Modifier and TypeMethodDescriptionstatic PcapDirection
PcapDirection.valueOf
(int direction) Converts integer pcap direction value to an enum.static PcapDirection
Returns the enum constant of this class with the specified name.static PcapDirection[]
PcapDirection.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Optional
<PcapDirection> PcapDirection.toEnum
(int direction) Converts integer pcap direction value to an enum.