Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abi() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Returns the value of the
abi
record component. - Accessing the int DLT value from integer constants table - Search tag in enum class org.jnetpcap.constant.PcapDlt
- Section
- Accessing the int DLT value using an enum constant - Search tag in enum class org.jnetpcap.constant.PcapDlt
- Section
- activate() - Method in class org.jnetpcap.Pcap
-
Activate a capture handle
- activate() - Method in class org.jnetpcap.Pcap1_0
-
Activate.
- address() - Method in class org.jnetpcap.SockAddr.Inet6SockAddr
-
IPv6 address.
- address() - Method in class org.jnetpcap.SockAddr.InetSockAddr
-
IPv4 address.
- address() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Length of the link-layer selector (usually 0).
- address() - Method in class org.jnetpcap.SockAddr.PacketSockAddr
-
Hardware address.
- address() - Method in record class org.jnetpcap.util.NetIp4Address
-
Returns the value of the
address
record component. - addresses() - Method in class org.jnetpcap.PcapIf
-
Gets a list of all the addresses (PcapAddr) associated with this pcap interface.
- addressLength() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Length of the link-layer address in bytes.
- addressType() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Link-layer address type (e.g., IFT_ETHER for Ethernet).
- AIRONET_HEADER - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The AIRONE t_ header.
- ALG - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The alg.
- APPLE_IP_OVER_IEEE1394 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The APPL e_ i p_ ove r_ iee e1394.
- APPLETALK - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The appletalk.
- ARCNET - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The ARCNET.
- ARCNET_LINUX - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The ARCNE t_ linux.
- ArpHdr - Enum Class in org.jnetpcap.constant
-
ARP protocol HARDWARE identifiers
- ARPHDR_ADAPT - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
COMMENT
- ARPHDR_APPLETLK - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
APPLEtalk.
- ARPHDR_ARCNET - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
ARCnet.
- ARPHDR_ASH - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
(Nexus Electronics) Ash.
- ARPHDR_ATM - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
ATM.
- ARPHDR_AX25 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
AX.25 Level 2.
- ARPHDR_BIF - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
AP1000 BIF.
- ARPHDR_CAN - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Controller Area Network.
- ARPHDR_CHAOS - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Chaosnet.
- ARPHDR_CISCO - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Cisco HDLC.
- ARPHDR_CSLIP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
CSLIP
- ARPHDR_CSLIP6 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
CSLIP6
- ARPHDR_DDCMP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Digital's DDCMP.
- ARPHDR_DLCI - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Frame Relay DLCI.
- ARPHDR_ECONET - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Acorn Econet.
- ARPHDR_EETHER - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Experimental Ethernet.
- ARPHDR_ETHER - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Ethernet 10/100Mbps.
- ARPHDR_EUI64 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
EUI-64.
- ARPHDR_FCAL - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Fibrechanel arbitrated loop.
- ARPHDR_FCFABRIC - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Fibrechanel fabric.
- ARPHDR_FCPL - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Fibrechanel public loop.
- ARPHDR_FCPP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Point to point fibrechanel.
- ARPHDR_FDDI - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Fiber Distributed Data Interface
- ARPHDR_FRAD - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Frame Relay Access Device.
- ARPHDR_HIPPI - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
High Performance Parallel Interface
- ARPHDR_HWX25 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Boards with X.25 in firmware.
- ARPHDR_IEEE1394 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IEEE 1394 IPv4 - RFC 2734.
- ARPHDR_IEEE802 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IEEE 802.2 Ethernet/TR/TB.
- ARPHDR_IEEE802_TR - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Magic type ident for TR.
- ARPHDR_IEEE80211 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IEEE 802.11.
- ARPHDR_IEEE80211_PRISM - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IEEE 802.11 + Prism2 header.
- ARPHDR_IEEE80211_RADIOTAP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IEEE 802.11 + radiotap header.
- ARPHDR_IEEE802154 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IEEE 802.15.4 header.
- ARPHDR_IEEE802154_PHY - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IEEE 802.15.4 PHY header.
- ARPHDR_INFINIBAND - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
InfiniBand.
- ARPHDR_IPDDP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IP-in-DDP tunnel.
- ARPHDR_IPGRE - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
GRE over IP.
- ARPHDR_IRDA - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Linux-IrDA.
- ARPHDR_LAPB - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
LAPB.
- ARPHDR_LOCALTLK - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Localtalk device.
- ARPHDR_LOOPBACK - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Loopback device.
- ARPHDR_MCTP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
COMMENT
- ARPHDR_METRICOM - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Metricom STRIP (new IANA id).
- ARPHDR_NETROM - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
From KA9Q: NET/ROM pseudo
- ARPHDR_NONE - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Zero header length
- ARPHDR_PIMREG - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
PIMSM register interface.
- ARPHDR_PPP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
COMMENT
- ARPHDR_PRONET - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
PROnet token ring.
- ARPHDR_RAWHDLC - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Raw HDLC.
- ARPHDR_RAWIP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Raw IP.
- ARPHDR_ROSE - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
COMMENT
- ARPHDR_RSRVD - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Notional KISS type.
- ARPHDR_SIT - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
sit0 device - IPv6-in-IPv4.
- ARPHDR_SKIP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
SKIP vif.
- ARPHDR_SLIP - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
SLIP
- ARPHDR_SLIP6 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
SLIP6
- ARPHDR_TUNNEL - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IPIP tunnel.
- ARPHDR_TUNNEL6 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
IPIP6 tunnel.
- ARPHDR_VOID - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
Void type, nothing is known
- ARPHDR_X25 - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
CCITT X.25.
- ARPHRD_HDLC - Enum constant in enum class org.jnetpcap.constant.ArpHdr
-
HDLC
- ASH - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The ash.
- asMemoryReference() - Method in class org.jnetpcap.PcapHeader
-
As memory reference.
- asMemorySegment() - Method in class org.jnetpcap.PcapHeader
-
As memory segment.
- ATM_CLIP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The AT m_ clip.
- ATM_RFC1483 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The AT m_ rf c1483.
- ATMPVC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The atmpvc.
- ATMSVC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The atmsvc.
- AUERSWALD_LOG - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Auerswald Logger Protocol description is provided on https://github.com/Auerswald-GmbH/auerlog/blob/master/auerlog.txt
- AURORA - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The AURORA.
- Auth(int, String, String) - Constructor for record class org.jnetpcap.windows.PcapRmt.Auth
-
Creates an instance of a
Auth
record class. - Auth(PcapSrc, String, String) - Constructor for record class org.jnetpcap.windows.PcapRmt.Auth
-
Instantiates a new RPCAP authentication record using PcapSrc constant.
- AX25 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The A x25.
- AX25 - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The ax25.
B
- BACNET_MS_TP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The BACNE t_ m s_ tp.
- BLUETOOTH - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The bluetooth.
- BpFilter - Class in org.jnetpcap
-
A Berkley Packet Filter program.
- breakloop() - Method in class org.jnetpcap.Pcap
-
Force a
dispatch
orloop
call to return. - breakloop() - Method in class org.jnetpcap.Pcap0_8
-
Breakloop.
- BRIDGE - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The bridge.
- broadcast() - Method in class org.jnetpcap.PcapIf.PcapAddr
-
The broadcast address corresponding to
PcapIf.PcapAddr.socketAddress()
, if the interface supports broadcasts.
C
- C_HDLC - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The C_ hdlc.
- CAIF - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The caif.
- CAN - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The can.
- canSetRfmon() - Method in class org.jnetpcap.Pcap
-
check whether monitor mode can be set for a not-yet-activated capture handle.
- canSetRfmon() - Method in class org.jnetpcap.Pcap1_0
-
Can set rfmon.
- capt() - Method in interface org.jnetpcap.PcapStat
-
Capt.
- capt() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Capt.
- CAPT - Enum constant in enum class org.jnetpcap.constant.WinPcapMode
-
The CAPTURE mode constant.
- captureLength() - Method in class org.jnetpcap.PcapHeader
-
Capture length.
- captureLength() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Capture length of the packet.
- captureLength(MemorySegment) - Static method in class org.jnetpcap.PcapHeader
-
Packet capture length for offline file capture.
- captureLength(MemorySegment, boolean) - Static method in class org.jnetpcap.PcapHeader
-
Packet capture length for offline file capture.
- captureLength(ByteBuffer) - Static method in class org.jnetpcap.PcapHeader
-
Packet capture length.
- captureLength(ByteBuffer, boolean) - Static method in class org.jnetpcap.PcapHeader
-
Packet capture length for offline file capture.
- CCITT - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
CCITT protocols, X.25 etc.
- CHAOS - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The CHAOS.
- CHAOS - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
MIT CHAOS protocols.
- CHAR_ENC_LOCAL - Enum constant in enum class org.jnetpcap.constant.PcapOption
-
strings are in the local character encoding.
- CHAR_ENC_UTF_8 - Enum constant in enum class org.jnetpcap.constant.PcapOption
-
strings are in UTF-8.
- checkIfContains(PcapIf) - Method in enum class org.jnetpcap.constant.SockAddrFamily
-
Check if a PcapIf (pcap device) contains this specific socket AF type.
- checkPcapVersion(String) - Static method in class org.jnetpcap.Pcap
-
Checks runtime version against application version of the java jNetPcap APIs.
- CISCO_IOS - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The CISC o_ ios.
- close() - Method in class org.jnetpcap.BpFilter
-
Close and deallocate native BPF program.
- close() - Method in class org.jnetpcap.Pcap
-
Close a capture device or savefile
- close() - Method in class org.jnetpcap.Pcap0_4
-
Close.
- close() - Method in class org.jnetpcap.PcapDumper
-
Close a savefile being written to.
- close() - Method in class org.jnetpcap.windows.PcapSendQueue
-
Close and destroy the send queue.
- CNT - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Computer Network Technology.
- COIP - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
connection-oriented IP, aka ST II.
- collisions() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Collisions.
- compareVersions(String, String) - Static method in exception class org.jnetpcap.util.PcapVersionException
-
Compare 2 versions.
- compareVersions(String, String, int) - Static method in exception class org.jnetpcap.util.PcapVersionException
-
Compare 2 versions.
- compile(String, boolean) - Method in class org.jnetpcap.Pcap
-
Compile a filter expression without a netmask.
- compile(String, boolean, int) - Method in class org.jnetpcap.Pcap
-
Compile a filter expression with netmask.
- compile(String, boolean, int) - Method in class org.jnetpcap.Pcap0_4
-
Compile.
- compileNoPcap(int, PcapDlt, String, boolean, int) - Static method in class org.jnetpcap.Pcap
-
Deprecated.
- compileNoPcap(int, PcapDlt, String, boolean, int) - Static method in class org.jnetpcap.Pcap0_5
-
Compile a filter expression against a dead handle opened using
openDead
. - Converting integer DLT value into a constant - Search tag in enum class org.jnetpcap.constant.PcapDlt
- Section
- Converting string DLT name into a constant - Search tag in enum class org.jnetpcap.constant.PcapDlt
- Section
- create(String) - Static method in class org.jnetpcap.Pcap
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.Pcap.Linux
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.Pcap.Unix
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.Pcap1_0
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.Pcap1_2
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.Pcap1_5
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.Pcap1_9
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.windows.Npcap
-
Create a live capture handle.
- create(String) - Static method in class org.jnetpcap.windows.WinPcap
-
Create a live capture handle.
- create(PcapIf) - Static method in class org.jnetpcap.Pcap
-
Create a live capture handle.
- create(PcapIf) - Static method in class org.jnetpcap.windows.Npcap
-
Create a live capture handle.
- createSrcStr(PcapSrc, String, String, String) - Static method in class org.jnetpcap.windows.WinPcap
-
Accept a set of strings (host name, port, ...), and it returns the complete source string according to the new format (e.g.
D
- data() - Method in class org.jnetpcap.SockAddr
-
Socket Address data (actual size may vary).
- data() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Variable-length data containing, interface name (null-terminated), Link-layer address Link-layer and selector (if any).
- data() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Returns the value of the
data
record component. - DATAKIT - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Datakit protocols.
- datalink() - Method in class org.jnetpcap.Pcap
-
Get the link-layer header type.
- datalink() - Method in class org.jnetpcap.Pcap0_4
-
Datalink.
- dataLinkExt() - Method in class org.jnetpcap.Pcap
-
Gets the link-layer header type for the live capture or ``savefile''.
- dataLinkExt() - Method in class org.jnetpcap.Pcap1_0
-
Data link ext.
- datalinkGetAsInt() - Method in class org.jnetpcap.Pcap0_4
-
Get the link-layer header type.
- datalinkNameToVal(String) - Static method in class org.jnetpcap.Pcap
-
Translates a link-layer header type name, which is a DLT_ name with the DLT_ removed, to the corresponding link-layer header type value.
- datalinkNameToVal(String) - Static method in class org.jnetpcap.Pcap0_8
-
Translates a link-layer header type name, which is a DLT_ name with the DLT_ removed, to the corresponding link-layer header type value.
- datalinkValToDescription(PcapDlt) - Static method in class org.jnetpcap.Pcap
-
link-layer header type.
- dataLinkValToDescription(PcapDlt) - Static method in class org.jnetpcap.Pcap0_8
-
Translates a link-layer header type value to a short description of that link-layer header type.
- datalinkValToName(PcapDlt) - Static method in class org.jnetpcap.Pcap
-
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.
- dataLinkValToName(PcapDlt) - Static method in class org.jnetpcap.Pcap0_8
-
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.
- DECnet - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
DECnet.
- DECNET - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The decnet.
- DEFAULT_JAVA_LIBRARY_PATH - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
The default java library path made up of many common paths on different platforms where libpcap is typically installed.
- DEFAULT_LOGGING_OUTPUT - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
The Constant which defines the default logging output which discards all of its input.
- DEFAULT_SO_IGNORE_LOAD_ERRORS - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
Default value ("true") for
Pcap.LibraryPolicy.SYSTEM_PROPERTY_SO_IGNORE_LOAD_ERRORS
property if not specified in system properties. - description - Variable in enum class org.jnetpcap.constant.PcapDlt
-
Description of the dlt retrieved by quering the native pcap library.
- description() - Method in class org.jnetpcap.PcapIf
-
Optional textual description of the interface.
- Description - Search tag in module org.jnetpcap
- Section
- destination() - Method in class org.jnetpcap.PcapIf.PcapAddr
-
The destination address corresponding to
PcapIf.PcapAddr.socketAddress()
if the interface is a point-to-point interface. - deviceId() - Method in class org.jnetpcap.SockAddr.IrdaSockAddr
-
A 4-byte device identifier for the IrDA device.
- DIRECTION_IN - Enum constant in enum class org.jnetpcap.constant.PcapDirection
-
Packet's direction is being received.
- DIRECTION_INOUT - Enum constant in enum class org.jnetpcap.constant.PcapDirection
-
Packet's direction is in either direction.
- DIRECTION_OUT - Enum constant in enum class org.jnetpcap.constant.PcapDirection
-
Packet's direction is being transmitted.
- dispatch(int, PcapDumper) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and save them directly to dump file.
- dispatch(int, PcapDumper) - Method in class org.jnetpcap.Pcap0_4
-
Dispatch.
- dispatch(int, PcapHandler.NativeCallback, MemorySegment) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and dispatch using low level callback.
- dispatch(int, PcapHandler.NativeCallback, MemorySegment) - Method in class org.jnetpcap.Pcap0_4
- dispatch(int, PcapHandler.OfArray<U>, U) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and copy to a newly allocated array and dispatches to handler.
- dispatch(int, PcapHandler.OfArray<U>, U) - Method in class org.jnetpcap.Pcap0_4
-
Dispatch.
- dispatch(int, PcapHandler.OfMemorySegment<U>, U) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and dispatch directly to handler.
- dispatch(int, PcapHandler.OfMemorySegment<U>, U) - Method in class org.jnetpcap.Pcap0_4
-
Dispatch.
- DLI - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
DEC Direct data link interface.
- DLT_AIRONET_HEADER - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_AIRONET_HEADER.
- DLT_APPLE_IP_OVER_IEEE1394 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_APPLE_IP_OVER_IEEE1394.
- DLT_ARCNET - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ARCNET.
- DLT_ARCNET_LINUX - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ARCNET_LINUX.
- DLT_ATM_CLIP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ATM_CLIP.
- DLT_ATM_RFC1483 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ATM_RFC1483.
- DLT_AUERSWALD_LOG - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
Auerswald Logger Protocol description is provided on https://github.com/Auerswald-GmbH/auerlog/blob/master/auerlog.txt
- DLT_AURORA - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_AURORA.
- DLT_AX25 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_AX25.
- DLT_BACNET_MS_TP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_BACNET_MS_TP.
- DLT_C_HDLC - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_C_HDLC.
- DLT_CHAOS - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_CHAOS.
- DLT_CISCO_IOS - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_CISCO_IOS.
- DLT_DOCSIS - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_DOCSIS.
- DLT_ECONET - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ECONET.
- DLT_EN10MB - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_EN10MB.
- DLT_EN3MB - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_EN3MB.
- DLT_ENC - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ENC.
- DLT_ERF_ETH - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ERF_ETH.
- DLT_ERF_POS - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_ERF_POS.
- DLT_ETW - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
Event Tracing for Windows messages.
- DLT_FDDI - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_FDDI.
- DLT_FIRA_UCI - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
Ultra-wideband (UWB) controller interface protocol (UCI).
- DLT_FRELAY - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_FRELAY.
- DLT_GCOM_SERIAL - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_GCOM_SERIAL.
- DLT_GCOM_T1E1 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_GCOM_T1E1.
- DLT_GPF_F - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_GPF_F.
- DLT_GPF_T - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_GPF_T.
- DLT_GPRS_LLC - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_GPRS_LLC.
- DLT_IBM_SN - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IBM_SN.
- DLT_IBM_SP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IBM_SP.
- DLT_IEEE802 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IEEE802.
- DLT_IEEE802_11 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IEEE802_11.
- DLT_IEEE802_11_RADIO - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IEEE802_11_RADIO.
- DLT_IEEE802_11_RADIO_AVS - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IEEE802_11_RADIO_AVS.
- DLT_IP_OVER_FC - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IP_OVER_FC.
- DLT_IPFILTER - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_IPFILTER.
- DLT_JUNIPER_ATM1 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_ATM1.
- DLT_JUNIPER_ATM2 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_ATM2.
- DLT_JUNIPER_ES - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_ES.
- DLT_JUNIPER_GGSN - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_GGSN.
- DLT_JUNIPER_MFR - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_MFR.
- DLT_JUNIPER_MLFR - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_MLFR.
- DLT_JUNIPER_MLPPP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_MLPPP.
- DLT_JUNIPER_MONITOR - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_MONITOR.
- DLT_JUNIPER_PIC_PEER - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_PIC_PEER.
- DLT_JUNIPER_PPPOE - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_PPPOE.
- DLT_JUNIPER_PPPOE_ATM - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_PPPOE_ATM.
- DLT_JUNIPER_SERVICES - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_JUNIPER_SERVICES.
- DLT_LINUX_IRDA - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_LINUX_IRDA.
- DLT_LINUX_LAPD - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_LINUX_LAPD.
- DLT_LINUX_SLL - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_LINUX_SLL.
- DLT_LOOP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_LOOP.
- DLT_LTALK - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_LTALK.
- DLT_MDB - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
MDB (Multi-Drop Bus) protocol between a vending machine controller and peripherals inside the vending machine.
- DLT_MTP2 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_MTP2.
- DLT_MTP2_WITH_PHDR - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_MTP2_WITH_PHDR.
- DLT_MTP3 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_MTP3.
- DLT_NETANALYZER_NG - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
Hilscher Gesellschaft fuer Systemautomation mbH netANALYZER NG hardware and software.
- DLT_NULL - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_NULL.
- DLT_PCI_EXP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PCI_EXP.
- DLT_PFLOG - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PFLOG.
- DLT_PFSYNC - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PFSYNC.
- DLT_PPP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PPP.
- DLT_PPP_BSDOS - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PPP_BSDOS.
- DLT_PPP_ETHER - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PPP_ETHER.
- DLT_PPP_PPPD - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PPP_PPPD.
- DLT_PPP_SERIAL - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PPP_SERIAL.
- DLT_PRISM_HEADER - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PRISM_HEADER.
- DLT_PRONET - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_PRONET.
- DLT_RAW - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_RAW.
- DLT_RIO - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_RIO.
- DLT_SCCP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_SCCP.
- DLT_SILABS_DEBUG_CHANNEL - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
Silicon Labs debug channel protocol.
- DLT_SLIP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_SLIP.
- DLT_SLIP_BSDOS - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_SLIP_BSDOS.
- DLT_SUNATM - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_SUNATM.
- DLT_SYMANTEC_FIREWALL - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_SYMANTEC_FIREWALL.
- DLT_TZSP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_TZSP.
- DLT_USB_2_0_FULL_SPEED - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
USB 1.1 packets as transmitted over the cable
- DLT_USB_2_0_HIGH_SPEED - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
USB 2.0 packets as transmitted over the cable
- DLT_USB_2_0_LOW_SPEED - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
USB 1.0 packets as transmitted over the cable
- DLT_USER0 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER0.
- DLT_USER1 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER1.
- DLT_USER10 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER10.
- DLT_USER11 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER11.
- DLT_USER12 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER12.
- DLT_USER13 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER13.
- DLT_USER14 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER14.
- DLT_USER15 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER15.
- DLT_USER2 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER2.
- DLT_USER3 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER3.
- DLT_USER4 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER4.
- DLT_USER5 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER5.
- DLT_USER6 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER6.
- DLT_USER7 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER7.
- DLT_USER8 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER8.
- DLT_USER9 - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
The Constant DLT_USER9.
- DLT_ZBOSS_NCP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
Serial NCP (Network Co-Processor) protocol for Zigbee stack ZBOSS by DSR.
- DLT_ZWAVE_TAP - Static variable in enum class org.jnetpcap.constant.PcapDlt
-
Z-Wave packets with a TAP meta-data header https://gitlab.com/exegin/zwave-g9959-tap requested on tcpdump-workers@
- DOCSIS - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The DOCSIS.
- drop() - Method in interface org.jnetpcap.PcapStat
-
number of packets dropped because there was no room in the operating system's buffer when they arrived, because packets weren't being read fast enough.
- drop() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Drop.
- dump(MemorySegment, MemorySegment) - Method in class org.jnetpcap.PcapDumper
-
Write a packet to a capture file.
- dumpFile() - Method in class org.jnetpcap.PcapDumper
-
Get the OS standard I/O stream for a savefile being written.
- dumpOpen(String) - Method in class org.jnetpcap.Pcap
-
Open a file to which to write packets.
- dumpOpen(String) - Method in class org.jnetpcap.Pcap0_4
-
Dump open.
E
- E164 - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Integrated Services Digital Network.
- ECMA - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
European computer manufacturers.
- ECONET - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The ECONET.
- EN10MB - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Ethernet link-type.
- EN3MB - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Lagacy 3MB ethernet link-type.
- ENC - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The ENC.
- equals(int) - Method in enum class org.jnetpcap.constant.PcapDlt
-
Compares the supplied value with the constant's assigned DLT value.
- equals(Object) - Method in record class org.jnetpcap.util.NetIp4Address
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jnetpcap.windows.PcapRmt.Auth
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
Indicates whether some other object is "equal to" this one.
- equals(String, String) - Static method in exception class org.jnetpcap.util.PcapVersionException
-
Equals.
- ERF_ETH - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The ER f_ eth.
- ERF_POS - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The ER f_ pos.
- ERROR - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
generic error full.
- ERROR_ACTIVATED - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
the operation can't be performed on already activated captures.
- ERROR_BREAK - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
loop terminated by pcap_breakloop.
- ERROR_CANTSET_TSTAMP_TYPE - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
this device doesn't support setting the time stamp type.
- ERROR_IFACE_NOT_UP - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
interface isn't up.
- ERROR_NO_SUCH_DEVICE - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
no such device exists.
- ERROR_NOT_ACTIVATED - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
the capture needs to be activated.
- ERROR_NOT_RFMON - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
operation supported only in monitor mode.
- ERROR_PERM_DENIED - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
no permission to open the device.
- ERROR_PROMISC_PERM_DENIED - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
you don't have permission to capture in promiscuous mode.
- ERROR_RFMON_NOTSUP - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
this device doesn't support rfmon (monitor) mode.
- ERROR_TSTAMP_PRECISION_NOTSUP - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
the requested time stamp precision is not supported.
- ETW - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Event Tracing for Windows messages.
F
- family() - Method in class org.jnetpcap.SockAddr
-
Address family (e.g., INET for IPv4)
- familyConstant() - Method in class org.jnetpcap.SockAddr
-
Gets the AF family value as a constant.
- FDDI - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The FDDI.
- file() - Method in class org.jnetpcap.Pcap0_4
-
Get the OS standard I/O stream for a savefile being read.
- fileno() - Method in class org.jnetpcap.Pcap0_4
-
Get the file descriptor for a live capture.
- findAddressOfFamily(SockAddrFamily) - Method in class org.jnetpcap.PcapIf
-
Search for a PCAP address of a specific socket address family type.
- findAddressOfType(Class<T>) - Method in class org.jnetpcap.PcapIf
-
Finds the first address in the list of PcapAddr addresses, which is of AF (Address Family) type represented but the supplied family subclass type.
- findAllDevs() - Static method in class org.jnetpcap.Pcap
-
Constructs a list of network devices that can be opened with pcap_create(3PCAP) and pcap_activate(3PCAP) or with pcap_open_live(3PCAP).
- findAllDevs() - Static method in class org.jnetpcap.Pcap0_7
-
Constructs a list of network devices that can be opened with pcap_create(3PCAP) and pcap_activate(3PCAP) or with pcap_open_live(3PCAP).
- findAllDevsEx(String, PcapSrc, String, String) - Static method in class org.jnetpcap.Pcap
-
Create a list of network devices that can be opened with
Pcap#open
. - findAllDevsEx(String, PcapSrc, String, String) - Static method in class org.jnetpcap.windows.WinPcap
-
Create a list of network devices that can be opened with
#openopen
. - FIRA_UCI - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Ultra-wideband (UWB) controller interface protocol (UCI).
- flags() - Method in class org.jnetpcap.PcapIf
-
Interface flags (e.g., PCAP_IF_LOOPBACK for loopback interfaces).
- flagsAsEnumSet() - Method in class org.jnetpcap.PcapIf
-
Interface flags (e.g., PCAP_IF_LOOPBACK for loopback interfaces), as an enum set.
- flowInfo() - Method in class org.jnetpcap.SockAddr.Inet6SockAddr
-
IPv6 flow information.
- flush() - Method in class org.jnetpcap.PcapDumper
-
Flush to a savefile packets dumped.
- freeCode(BpFilter) - Static method in class org.jnetpcap.BpFilter
-
Deallocates a native BPF program.
- FRELAY - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The FRELAY.
G
- GCOM_SERIAL - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The GCO m_ serial.
- GCOM_T1E1 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The GCO m_ t1 e1.
- getAbi() - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Gets the abi.
- getAsInt() - Method in enum class org.jnetpcap.constant.ArpHdr
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapCode
-
Gets the as int.
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapDirection
-
Gets the as int.
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapDlt
-
Gets the integer dlt value assigned by libpcap to this constant.
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapIfFlag
-
Gets the as int.
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapOption
-
Pcap option integer value.
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapSrc
-
Get int value of type.
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
Gets the as int.
- getAsInt() - Method in enum class org.jnetpcap.constant.PcapTstampType
-
Get TSTAMP_TYPE numerical constant.
- getAsInt() - Method in enum class org.jnetpcap.constant.SockAddrFamily
-
Gets the as int.
- getAsInt() - Method in enum class org.jnetpcap.constant.WinPcapMode
-
Gets WinPcap mode as numerical constant.
- getCode() - Method in exception class org.jnetpcap.PcapException
-
Gets the code.
- getDefault() - Static method in interface org.jnetpcap.Pcap.LibraryPolicy
-
Gets the default missing symbols policy.
- getDescription() - Method in enum class org.jnetpcap.constant.PcapDlt
-
Gets the description of the dlt retrieved by quering the native pcap library.
- geterr() - Method in class org.jnetpcap.Pcap
-
Get libpcap error message text.
- geterr() - Method in class org.jnetpcap.Pcap0_4
-
Gets the err.
- getEvent() - Method in class org.jnetpcap.windows.WinPcap
-
Return the handle of the event associated with the interface
Pcap
. - getLogginOutput() - Static method in interface org.jnetpcap.Pcap.LibraryPolicy
-
Gets the current logging output produced by the default missing symbols policy receiver.
- getMessage() - Method in enum class org.jnetpcap.constant.PcapCode
-
Gets the message associated with this error code.
- getMessage() - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Gets the message.
- getMessage(int) - Static method in enum class org.jnetpcap.constant.PcapCode
-
Looks up the error message for a give code.
- getMethodName() - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Gets the method name.
- getName() - Method in class org.jnetpcap.Pcap
-
Gets the name of this pcap handle.
- getNonBlock() - Method in class org.jnetpcap.Pcap
-
Gets the state of non-blocking mode on a capture device.
- getNonBlock() - Method in class org.jnetpcap.Pcap0_7
-
Gets the non block.
- getPcapHeaderABI() - Method in class org.jnetpcap.Pcap
-
Gets the pcap header ABI (Abstract Binary Interface).
- getPossiblities() - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Gets the possiblities.
- getSelectableFd() - Method in class org.jnetpcap.Pcap.Unix
-
Gets the selectable fd.
- getString(String) - Static method in class org.jnetpcap.Messages
-
Gets the string.
- getString(String) - Static method in class org.jnetpcap.PcapErrorHandler
-
Gets the error string.
- getTstampPrecision() - Method in class org.jnetpcap.Pcap
-
Get the time stamp precision returned in captures.
- getTstampPrecision() - Method in class org.jnetpcap.Pcap1_5
-
Gets the tstamp precision.
- getValue() - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Gets the value.
- GPF_F - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The GP f_ f.
- GPF_T - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The GP f_ t.
- GPRS_LLC - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The GPR s_ llc.
H
- handleArray(U, PcapHeader, byte[]) - Method in interface org.jnetpcap.PcapHandler.OfArray
-
Packet handler method.
- handleByteBuffer(U, PcapHeader, ByteBuffer) - Method in interface org.jnetpcap.PcapHandler.OfByteBuffer
-
Packet handler method.
- handleSegment(U, MemorySegment, MemorySegment) - Method in interface org.jnetpcap.PcapHandler.OfMemorySegment
-
Packet handler method.
- hardwareAddress() - Method in class org.jnetpcap.PcapIf
-
Returns the hardware address (usually MAC) of the interface if it has one and if it can be accessed given the current privileges.
- hardwareLength() - Method in class org.jnetpcap.SockAddr.PacketSockAddr
-
Hardware length.
- hardwareType() - Method in class org.jnetpcap.SockAddr.PacketSockAddr
-
Hardware type.
- hashCode() - Method in record class org.jnetpcap.util.NetIp4Address
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jnetpcap.windows.PcapRmt.Auth
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
Returns a hash code value for this object.
- header() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Returns the value of the
header
record component. - headerLength() - Method in class org.jnetpcap.PcapHeader
-
The length of this header.
- host() - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
Returns the value of the
host
record component. - HYLINK - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
NSC Hyperchannel.
I
- IBM_SN - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The IB m_ sn.
- IBM_SP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The IB m_ sp.
- IEEE802 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The IEE e802.
- IEEE802_11 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The IEE e802_11.
- IEEE802_11_RADIO - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The IEE e802_11_ radio.
- IEEE802_11_RADIO_AVS - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The IEE e802_11_ radi o_ avs.
- IEEE802154 - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The ieee802154.
- IF_CONNECTION_STATUS_CONNECTED - Enum constant in enum class org.jnetpcap.constant.PcapIfFlag
-
connected.
- IF_CONNECTION_STATUS_DISCONNECTED - Enum constant in enum class org.jnetpcap.constant.PcapIfFlag
-
disconnected.
- IF_CONNECTION_STATUS_NOT_APPLICABLE - Enum constant in enum class org.jnetpcap.constant.PcapIfFlag
-
not applicable.
- IF_LOOPBACK - Enum constant in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is loopback.
- IF_RUNNING - Enum constant in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is running.
- IF_UP - Enum constant in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is up.
- IF_WIRELESS - Enum constant in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is wireless (*NOT* necessarily Wi-Fi!).
- ifdrop() - Method in interface org.jnetpcap.PcapStat
-
number of packets dropped by the network interface or its driver.
- ifdrop() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Ifdrop.
- IMPLINK - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Arpanet imp addresses.
- INCLUDE_POSSIBILITIES - Static variable in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
A mutable flag that if set to true, then an extra list of per ABI possibilities for the out of range value field.
- index() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Interface index of the network device.
- INET - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The inet.
- INET6 - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The inet6.
- init(int) - Static method in class org.jnetpcap.Pcap
-
Initialize the native libpcap library.
- init(int) - Static method in class org.jnetpcap.Pcap1_0
-
Initialize the native libpcap library.
- init(PcapOption) - Static method in class org.jnetpcap.Pcap
-
Initialize the native libpcap library.
- inject(byte[]) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- inject(byte[], int, int) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- inject(MemorySegment, int) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- inject(MemorySegment, int) - Method in class org.jnetpcap.Pcap0_9
-
Inject.
- inject(ByteBuffer) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- intDlt - Variable in enum class org.jnetpcap.constant.PcapDlt
-
Integer dlt value assigned by libpcap to this constant.
- interfaceIndex() - Method in class org.jnetpcap.SockAddr.PacketSockAddr
-
Interface index.
- IP_OVER_FC - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The I p_ ove r_ fc.
- IPFILTER - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The IPFILTER.
- IPX - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The ipx.
- IRDA - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The irda.
- ISDN - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The isdn.
- isError() - Method in enum class org.jnetpcap.constant.PcapCode
-
Checks if this code is an pcap error.
- isFamily(SockAddrFamily) - Method in class org.jnetpcap.SockAddr
-
Checks if this AF address is of specifc family type.
- isInitialized() - Static method in class org.jnetpcap.Pcap0_4
-
Checks if this is a Windows based platform.
- isMatch(int) - Method in enum class org.jnetpcap.constant.SockAddrFamily
-
Checks if is match.
- ISO - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
ISO protocols.
- isOk() - Method in enum class org.jnetpcap.constant.PcapCode
-
Checks if this code is pcap status OK.
- isSupported() - Static method in class org.jnetpcap.Pcap
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap.Linux
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap.Unix
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap0_4
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap0_5
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap0_6
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap0_7
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap0_8
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap0_9
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap1_0
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap1_10
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap1_2
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap1_5
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.Pcap1_9
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.windows.Npcap
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSupported() - Static method in class org.jnetpcap.windows.WinPcap
-
Checks if the
Pcap
subclass at a specific libpcap API version is natively supported. - isSwapped() - Method in class org.jnetpcap.Pcap
-
Find out whether a savefile has the native byte order.
- isSwapped() - Method in class org.jnetpcap.Pcap0_4
-
Checks if is swapped.
- isWarning() - Method in enum class org.jnetpcap.constant.PcapCode
-
Checks if this code is pcap status warning.
J
- JUNIPER_ATM1 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ at m1.
- JUNIPER_ATM2 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ at m2.
- JUNIPER_ES - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ es.
- JUNIPER_GGSN - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ ggsn.
- JUNIPER_MFR - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ mfr.
- JUNIPER_MLFR - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ mlfr.
- JUNIPER_MLPPP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ mlppp.
- JUNIPER_MONITOR - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ monitor.
- JUNIPER_PIC_PEER - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ pi c_ peer.
- JUNIPER_PPPOE - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ pppoe.
- JUNIPER_PPPOE_ATM - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ pppo e_ atm.
- JUNIPER_SERVICES - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The JUNIPE r_ services.
K
- KCM - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The kcm.
- KEY - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The key.
L
- label() - Method in enum class org.jnetpcap.constant.ArpHdr
-
Human readable label.
- label() - Method in enum class org.jnetpcap.constant.PcapIfFlag
-
A human readable label for this constant.
- LAT - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
LAT.
- len() - Method in class org.jnetpcap.windows.PcapSendQueue
-
The value of the {code pcap_sendqueue_t.len} structure field.
- length() - Method in class org.jnetpcap.BpFilter
-
number of 64-bit long instructions.
- libVersion() - Static method in class org.jnetpcap.Pcap
-
Get the version information for libpcap.
- libVersion() - Static method in class org.jnetpcap.Pcap0_8
-
Returns a string identifying the libpcap library, implementation information and version.
- LINK - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Link layer interface.
- LINUX_IRDA - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The LINU x_ irda.
- LINUX_LAPD - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The LINU x_ lapd.
- LINUX_SLL - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The LINU x_ sll.
- listDataLinks() - Method in class org.jnetpcap.Pcap
-
Get a list of link-layer header types supported by a capture device.
- listDataLinks() - Method in class org.jnetpcap.Pcap0_8
-
List data links.
- listTstampTypes() - Method in class org.jnetpcap.Pcap
-
Get a list of time stamp types supported by a capture device.
- listTstampTypes() - Method in class org.jnetpcap.Pcap1_2
-
List tstamp types.
- liveDump(String, int, int) - Method in class org.jnetpcap.windows.WinPcap
-
Save a capture to file.
- liveDumpEnded(boolean) - Method in class org.jnetpcap.windows.WinPcap
-
Return the status of the kernel dump process, i.e.
- LLC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The llc.
- loadNativePcapLibrary() - Static method in class org.jnetpcap.Pcap
-
Checks if native libpcap library is loaded, and if its not,it will attempt to load it.
- loadNativePcapLibrary(boolean) - Method in interface org.jnetpcap.Pcap.LibraryPolicy
-
Calls on the private instanceof
ForeignInitializer
to load the native libpcap library. - LOCAL - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The local.
- Logging and handling errors on missing native symbols - Search tag in interface org.jnetpcap.Pcap.LibraryPolicy
- Section
- lookup(int) - Static method in enum class org.jnetpcap.constant.SockAddrFamily
-
Lookup a constant AF using numerical, platform dependent value.
- lookupDev() - Static method in class org.jnetpcap.Pcap
-
Deprecated.
- lookupDev() - Static method in class org.jnetpcap.Pcap0_4
-
Find the default device on which to capture.
- lookupNet(String) - Static method in class org.jnetpcap.Pcap
-
Find the IPv4 network number and netmask for a device.
- lookupNet(String) - Static method in class org.jnetpcap.Pcap0_4
-
Find the IPv4 network number and netmask for a device.
- lookupNet(PcapIf) - Static method in class org.jnetpcap.Pcap
-
Find the IPv4 network number and netmask for a device.
- loop(int, PcapDumper) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and save them directly to dump file.
- loop(int, PcapDumper) - Method in class org.jnetpcap.Pcap0_4
-
Loop.
- loop(int, PcapHandler.NativeCallback, MemorySegment) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and dispatch using low level callback.
- loop(int, PcapHandler.NativeCallback, MemorySegment) - Method in class org.jnetpcap.Pcap0_4
- loop(int, PcapHandler.OfArray<U>, U) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and copy to a newly allocated array and dispatches to handler.
- loop(int, PcapHandler.OfArray<U>, U) - Method in class org.jnetpcap.Pcap0_4
-
Loop.
- loop(int, PcapHandler.OfMemorySegment<U>, U) - Method in class org.jnetpcap.Pcap
-
Process packets from a live capture or savefile and dispatch directly to handler.
- loop(int, PcapHandler.OfMemorySegment<U>, U) - Method in class org.jnetpcap.Pcap0_4
- LOOP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The LOOP.
- LTALK - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The LTALK.
M
- majorVersion() - Method in class org.jnetpcap.Pcap
-
Get the version number of a savefile.
- majorVersion() - Method in class org.jnetpcap.Pcap0_4
-
Major version.
- MAX_SNAPLEN - Static variable in class org.jnetpcap.constant.PcapConstants
-
Maximum snaplen size of 64K.
- maxlen() - Method in class org.jnetpcap.windows.PcapSendQueue
-
The value of the {code pcap_sendqueue_t.maxlen} structure field.
- MDB - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
MDB (Multi-Drop Bus) protocol between a vending machine controller and peripherals inside the vending machine.
- Messages - Class in org.jnetpcap
-
Error message resource bundle factory.
- minorVersion() - Method in class org.jnetpcap.Pcap
-
Get the version number of a savefile.
- minorVersion() - Method in class org.jnetpcap.Pcap0_4
-
Minor version.
- MODE_CAPT - Static variable in enum class org.jnetpcap.constant.WinPcapMode
-
The Constant MODE_CAPT.
- MODE_MON - Static variable in enum class org.jnetpcap.constant.WinPcapMode
-
The Constant MODE_MON.
- MODE_STAT - Static variable in enum class org.jnetpcap.constant.WinPcapMode
-
The Constant MODE_STAT.
- MON - Enum constant in enum class org.jnetpcap.constant.WinPcapMode
-
The MONITOR mode constant.
- MPLS - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The mpls.
- MTP2 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The MT p2.
- MTP2_WITH_PHDR - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The MT p2_ wit h_ phdr.
- MTP3 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The MT p3.
- multicast() - Method in interface org.jnetpcap.windows.PcapStatEx
-
multicast packets received.
N
- name() - Method in class org.jnetpcap.PcapIf
-
Name of the interface (e.g., "eth0") .
- name() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
interface name.
- name() - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
Returns the value of the
name
record component. - nameLength() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Length of the interface name string.
- nativeCallback(MemorySegment, MemorySegment, MemorySegment) - Method in interface org.jnetpcap.PcapHandler.NativeCallback
-
Receive native packets.
- Native Library Loading - Search tag in interface org.jnetpcap.Pcap.LibraryPolicy
- Section
- NATM - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Native ATM access.
- NDRV - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Network Driver 'raw' access.
- NETANALYZER_NG - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Hilscher Gesellschaft fuer Systemautomation mbH netANALYZER NG hardware and software.
- NETBEUI - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The netbeui.
- netdrop() - Method in interface org.jnetpcap.PcapStat
-
Netdrop.
- netdrop() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Netdrop.
- NetIp4Address - Record Class in org.jnetpcap.util
-
A Network IPv4 Address with a netmask.
- NetIp4Address(int, int) - Constructor for record class org.jnetpcap.util.NetIp4Address
-
Creates an instance of a
NetIp4Address
record class. - NETLINK - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The netlink.
- netmask() - Method in class org.jnetpcap.PcapIf.PcapAddr
-
The netmask corresponding to
PcapIf.PcapAddr.socketAddress()
if the interface supports netmasks. - netmask() - Method in record class org.jnetpcap.util.NetIp4Address
-
Returns the value of the
netmask
record component. - netNum() - Method in class org.jnetpcap.SockAddr.IpxSockAddr
-
IPX network number.
- NETROM - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The netrom.
- News - 15 September 2018 - Search tag in class org.jnetpcap.windows.WinPcap
- Section
- next() - Method in class org.jnetpcap.Pcap
-
read the next packet from a handle.
- next() - Method in class org.jnetpcap.Pcap0_4
-
Next.
- nextEx() - Method in class org.jnetpcap.Pcap
-
Read the next packet from a pcap handle.
- nextEx() - Method in class org.jnetpcap.Pcap0_8
-
Next ex.
- NFC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The nfc.
- nodeNum() - Method in class org.jnetpcap.SockAddr.IpxSockAddr
-
IPX node number (MAC address).
- NON_PROMISCOUS - Enum constant in enum class org.jnetpcap.constant.PcapMode
-
Flag used with
openLive
to specify that the interface should be put into non-promisuous mode. - Npcap - Class in org.jnetpcap.windows
-
Npcap, is a wrapper, around libpcap implementation for Microsoft Windows.
- NS - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
XEROX NS protocols.
- NULL - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The NULL.
O
- offlineFilter(BpFilter, MemorySegment, MemorySegment) - Static method in class org.jnetpcap.Pcap
-
Check whether a filter matches a packet.
- offlineFilter(BpFilter, MemorySegment, MemorySegment) - Static method in class org.jnetpcap.Pcap1_0
-
Check whether a filter matches a packet.
- OK - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
ok.
- onMissingSymbols(String, List<String>, List<String>) - Method in interface org.jnetpcap.Pcap.LibraryPolicy
-
Called when a
ForeignInitializer
finishes initializing a class with native functions. - openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap.Linux
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap.Unix
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap0_7
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap0_8
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap0_9
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap1_0
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap1_10
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap1_2
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap1_5
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.Pcap1_9
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.windows.Npcap
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDead(PcapDlt, int) - Static method in class org.jnetpcap.windows.WinPcap
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDeadWithTstampPrecision(PcapDlt, int, PcapTStampPrecision) - Static method in class org.jnetpcap.Pcap.Linux
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDeadWithTstampPrecision(PcapDlt, int, PcapTStampPrecision) - Static method in class org.jnetpcap.Pcap
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDeadWithTstampPrecision(PcapDlt, int, PcapTStampPrecision) - Static method in class org.jnetpcap.Pcap.Unix
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDeadWithTstampPrecision(PcapDlt, int, PcapTStampPrecision) - Static method in class org.jnetpcap.Pcap1_10
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDeadWithTstampPrecision(PcapDlt, int, PcapTStampPrecision) - Static method in class org.jnetpcap.Pcap1_5
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDeadWithTstampPrecision(PcapDlt, int, PcapTStampPrecision) - Static method in class org.jnetpcap.Pcap1_9
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- openDeadWithTstampPrecision(PcapDlt, int, PcapTStampPrecision) - Static method in class org.jnetpcap.windows.Npcap
-
Open a fake pcap_t for compiling filters or opening a capture for output.
- Opening a capture handle for reading - Search tag in module org.jnetpcap
- Section
- Opening a capture handle for reading - Search tag in package org.jnetpcap
- Section
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap.Linux
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap.Unix
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap0_4
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap0_5
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap0_6
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap0_7
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap0_8
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap0_9
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap1_0
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap1_10
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap1_2
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap1_5
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap1_9
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.windows.Npcap
-
Open a device for capturing.
- openLive(String, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.windows.WinPcap
-
Open a device for capturing.
- openLive(PcapIf, int, boolean, long, TimeUnit) - Static method in class org.jnetpcap.Pcap
-
Open a device for capturing.
- openOffline(File) - Static method in class org.jnetpcap.Pcap
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap.Linux
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap.Unix
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap0_4
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap0_5
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap0_6
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap0_7
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap0_8
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap1_0
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap1_10
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap1_2
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap1_5
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.Pcap1_9
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.windows.Npcap
-
Open a saved capture file for reading.
- openOffline(String) - Static method in class org.jnetpcap.windows.WinPcap
-
Open a saved capture file for reading.
- order() - Method in class org.jnetpcap.Pcap
-
Returns the
ByteOrder
of the current capture based on results fromPcap.isSwapped()
method call. - org.jnetpcap - module org.jnetpcap
-
Native Pcap wrapper API and implementation on *Unix and Microsoft Windows platforms.
- org.jnetpcap - package org.jnetpcap
-
The Packet Capture library provides a high level interface to packet capture systems.
- org.jnetpcap.constant - package org.jnetpcap.constant
-
Various libpcap related constants
- org.jnetpcap.spi - package org.jnetpcap.spi
-
Message services
- org.jnetpcap.util - package org.jnetpcap.util
-
Utilities for jNetPcap library
- org.jnetpcap.windows - package org.jnetpcap.windows
-
Provides support for Pcap on Microsoft Windows platforms.
- OSI - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
ISO protocols.
- OutOfRangeException(PcapHeaderABI, int) - Constructor for exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Instantiates a new out of range exception.
P
- PACKET - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The packet.
- packetType() - Method in class org.jnetpcap.SockAddr.PacketSockAddr
-
Packet type.
- parseHexString(String) - Static method in class org.jnetpcap.util.PcapUtils
-
Parses a hex string to a byte array.
- parseSrcStr(String) - Static method in class org.jnetpcap.windows.WinPcap
-
Parse the source string and returns the pieces in which the source can be split.
- password() - Method in record class org.jnetpcap.windows.PcapRmt.Auth
-
Returns the value of the
password
record component. - Pcap - Class in org.jnetpcap
-
Entry point and base class for all Pcap API methods provided by jNetPcap library.
- PCAP_BUF_SIZE - Static variable in class org.jnetpcap.constant.PcapConstants
-
The Constant PCAP_BUF_SIZE.
- PCAP_CHAR_ENC_LOCAL - Static variable in class org.jnetpcap.constant.PcapConstants
-
Treat all strings supplied as arguments, and return all strings to the caller, as being in the local character encoding.
- PCAP_CHAR_ENC_LOCAL - Static variable in enum class org.jnetpcap.constant.PcapOption
-
strings are in the local character encoding.
- PCAP_CHAR_ENC_UTF_8 - Static variable in class org.jnetpcap.constant.PcapConstants
-
Treat all strings supplied as arguments, and return all strings to the caller, as being in UTF-8.
- PCAP_CHAR_ENC_UTF_8 - Static variable in enum class org.jnetpcap.constant.PcapOption
-
strings are in UTF-8.
- PCAP_DIRECTION_IN - Static variable in enum class org.jnetpcap.constant.PcapDirection
-
Packet's direction is being received.
- PCAP_DIRECTION_INOUT - Static variable in enum class org.jnetpcap.constant.PcapDirection
-
Packet's direction is in either direction.
- PCAP_DIRECTION_OUT - Static variable in enum class org.jnetpcap.constant.PcapDirection
-
Packet's direction is being transmitted.
- PCAP_ERRBUF_SIZE - Static variable in class org.jnetpcap.constant.PcapConstants
-
The Constant PCAP_ERRBUF_SIZE.
- PCAP_ERROR - Static variable in enum class org.jnetpcap.constant.PcapCode
-
generic error full.
- PCAP_ERROR_ACTIVATED - Static variable in enum class org.jnetpcap.constant.PcapCode
-
the operation can't be performed on already activated captures.
- PCAP_ERROR_BREAK - Static variable in enum class org.jnetpcap.constant.PcapCode
-
loop terminated by pcap_breakloop.
- PCAP_ERROR_BREAK - Static variable in class org.jnetpcap.constant.PcapConstants
-
loop terminated by pcap_breakloop.
- PCAP_ERROR_CANTSET_TSTAMP_TYPE - Static variable in enum class org.jnetpcap.constant.PcapCode
-
this device doesn't support setting the time stamp type.
- PCAP_ERROR_IFACE_NOT_UP - Static variable in enum class org.jnetpcap.constant.PcapCode
-
interface isn't up.
- PCAP_ERROR_NO_SUCH_DEVICE - Static variable in enum class org.jnetpcap.constant.PcapCode
-
no such device exists.
- PCAP_ERROR_NOT_ACTIVATED - Static variable in enum class org.jnetpcap.constant.PcapCode
-
the capture needs to be activated.
- PCAP_ERROR_NOT_RFMON - Static variable in enum class org.jnetpcap.constant.PcapCode
-
operation supported only in monitor mode.
- PCAP_ERROR_PERM_DENIED - Static variable in enum class org.jnetpcap.constant.PcapCode
-
no permission to open the device.
- PCAP_ERROR_PROMISC_PERM_DENIED - Static variable in enum class org.jnetpcap.constant.PcapCode
-
you don't have permission to capture in promiscuous mode.
- PCAP_ERROR_RFMON_NOTSUP - Static variable in enum class org.jnetpcap.constant.PcapCode
-
this device doesn't support rfmon (monitor) mode.
- PCAP_ERROR_TSTAMP_PRECISION_NOTSUP - Static variable in enum class org.jnetpcap.constant.PcapCode
-
the requested time stamp precision is not supported.
- PCAP_IF_CONNECTION_STATUS - Static variable in class org.jnetpcap.constant.PcapConstants
-
connection status:.
- PCAP_IF_CONNECTION_STATUS - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
connection status:.
- PCAP_IF_CONNECTION_STATUS_CONNECTED - Static variable in class org.jnetpcap.constant.PcapConstants
-
connected.
- PCAP_IF_CONNECTION_STATUS_CONNECTED - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
connected.
- PCAP_IF_CONNECTION_STATUS_DISCONNECTED - Static variable in class org.jnetpcap.constant.PcapConstants
-
disconnected.
- PCAP_IF_CONNECTION_STATUS_DISCONNECTED - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
disconnected.
- PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE - Static variable in class org.jnetpcap.constant.PcapConstants
-
not applicable.
- PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
not applicable.
- PCAP_IF_CONNECTION_STATUS_UNKNOWN - Static variable in class org.jnetpcap.constant.PcapConstants
-
unknown.
- PCAP_IF_CONNECTION_STATUS_UNKNOWN - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
unknown.
- PCAP_IF_LOOPBACK - Static variable in class org.jnetpcap.constant.PcapConstants
-
interface is loopback.
- PCAP_IF_LOOPBACK - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is loopback.
- PCAP_IF_LOOPBACK - Static variable in class org.jnetpcap.PcapIf
-
interface is loopback.
- PCAP_IF_RUNNING - Static variable in class org.jnetpcap.constant.PcapConstants
-
interface is running.
- PCAP_IF_RUNNING - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is running.
- PCAP_IF_RUNNING - Static variable in class org.jnetpcap.PcapIf
-
interface is running.
- PCAP_IF_UP - Static variable in class org.jnetpcap.constant.PcapConstants
-
interface is up.
- PCAP_IF_UP - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is up.
- PCAP_IF_UP - Static variable in class org.jnetpcap.PcapIf
-
interface is up.
- PCAP_IF_WIRELESS - Static variable in class org.jnetpcap.constant.PcapConstants
-
interface is wireless (*NOT* necessarily Wi-Fi!).
- PCAP_IF_WIRELESS - Static variable in enum class org.jnetpcap.constant.PcapIfFlag
-
interface is wireless (*NOT* necessarily Wi-Fi!).
- PCAP_MODE_NON_PROMISCUOUS - Static variable in enum class org.jnetpcap.constant.PcapMode
-
Flag used with
openLive
to specify that the interface should be put into non-promisuous mode. - PCAP_MODE_PROMISCUOUS - Static variable in enum class org.jnetpcap.constant.PcapMode
-
Flag used with
openLive
to specify that the interface should be put into promisuous mode. - PCAP_NETMASK_UNKNOWN - Static variable in class org.jnetpcap.constant.PcapConstants
-
Value to pass to pcap_compile() as the netmask if you don't know what the netmask is.
- PCAP_NEXT_EX_OK - Static variable in class org.jnetpcap.constant.PcapConstants
-
pcap_next_ex() returns 1 if the packet was read without problems.
- PCAP_NEXT_EX_TIMEOUT - Static variable in class org.jnetpcap.constant.PcapConstants
-
0 if packets are being read from a live capture and the packet buffer timeout expired.
- PCAP_OK - Static variable in enum class org.jnetpcap.constant.PcapCode
-
ok.
- PCAP_SRC_FILE - Static variable in enum class org.jnetpcap.constant.PcapSrc
-
local savefile.
- PCAP_SRC_IFLOCAL - Static variable in enum class org.jnetpcap.constant.PcapSrc
-
local network interface.
- PCAP_SRC_IFREMOTE - Static variable in enum class org.jnetpcap.constant.PcapSrc
-
interface on a remote host, using RPCAP.
- PCAP_STAT_EX_LENGTH - Static variable in interface org.jnetpcap.windows.PcapStatEx
-
The length of the pcap_stat_ex structure in bytes.
- PCAP_STAT_SIZE - Static variable in class org.jnetpcap.constant.PcapConstants
-
The Constant PCAP_STAT_SIZE.
- PCAP_TSTAMP_ADAPTER - Static variable in enum class org.jnetpcap.constant.PcapTstampType
-
device-provided, synced with the system clock.
- PCAP_TSTAMP_ADAPTER_UNSYNCED - Static variable in enum class org.jnetpcap.constant.PcapTstampType
-
device-provided, not synced with the system clock.
- PCAP_TSTAMP_HOST - Static variable in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, unknown characteristics.
- PCAP_TSTAMP_HOST_HIPREC - Static variable in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, high precision, synced with the system clock.
- PCAP_TSTAMP_HOST_HIPREC_UNSYNCED - Static variable in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, high precision, not synced with the system clock.
- PCAP_TSTAMP_HOST_LOWPREC - Static variable in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, low precision, synced with the system clock.
- PCAP_TSTAMP_PRECISION_MICRO - Static variable in class org.jnetpcap.constant.PcapConstants
-
use timestamps with microsecond precision, default.
- PCAP_TSTAMP_PRECISION_MICRO - Static variable in enum class org.jnetpcap.constant.PcapTStampPrecision
-
use timestamps with microsecond precision, default.
- PCAP_TSTAMP_PRECISION_NANO - Static variable in class org.jnetpcap.constant.PcapConstants
-
use timestamps with nanosecond precision.
- PCAP_TSTAMP_PRECISION_NANO - Static variable in enum class org.jnetpcap.constant.PcapTStampPrecision
-
use timestamps with nanosecond precision.
- PCAP_WARNING - Static variable in enum class org.jnetpcap.constant.PcapCode
-
generic warning.
- PCAP_WARNING - Static variable in class org.jnetpcap.constant.PcapConstants
-
generic warning full.
- PCAP_WARNING_PROMISC_NOTSUP - Static variable in enum class org.jnetpcap.constant.PcapCode
-
this device doesn't support promiscuous mode.
- PCAP_WARNING_PROMISC_NOTSUP - Static variable in class org.jnetpcap.constant.PcapConstants
-
this device doesn't support promiscuous mode.
- PCAP_WARNING_TSTAMP_TYPE_NOTSUP - Static variable in enum class org.jnetpcap.constant.PcapCode
-
the requested time stamp type is not supported.
- PCAP_WARNING_TSTAMP_TYPE_NOTSUP - Static variable in class org.jnetpcap.constant.PcapConstants
-
the requested time stamp type is not supported.
- Pcap.LibraryPolicy - Interface in org.jnetpcap
-
An interface which provides a hook into Pcap initialization process.
- Pcap.Linux - Class in org.jnetpcap
-
Linux only/specific calls.
- Pcap.Unix - Class in org.jnetpcap
-
Unix only/specific calls.
- Pcap0_4 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 0.4
- Pcap0_5 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 0.5
- Pcap0_6 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 0.6
- Pcap0_7 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 0.7
- Pcap0_8 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 0.8
- Pcap0_9 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 0.9
- Pcap1_0 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 1.0
- Pcap1_10 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 1.10
- Pcap1_2 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 1.2
- Pcap1_5 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 1.5
- Pcap1_9 - Class in org.jnetpcap
-
Provides Pcap API method calls for up to libpcap version 1.9
- PcapActivatedException - Exception Class in org.jnetpcap
-
Indicates that an operation is not permitted on an already activated pcap handle.
- PcapActivatedException(int) - Constructor for exception class org.jnetpcap.PcapActivatedException
-
Instantiates a new pcap activated exception.
- PcapActivatedException(int, String) - Constructor for exception class org.jnetpcap.PcapActivatedException
-
Instantiates a new pcap activated exception.
- PcapCode - Enum Class in org.jnetpcap.constant
-
Libppcap error and warning status codes.
- PcapConstants - Class in org.jnetpcap.constant
-
Pcap API constants.
- PcapDirection - Enum Class in org.jnetpcap.constant
-
Specifies the packet direction on a live capture, relative to the network interface.
- PcapDlt - Enum Class in org.jnetpcap.constant
-
Constants that represent the Pcap's Payload Link Type assignments.
- PcapDumper - Class in org.jnetpcap
-
Dump packets to a capture file.
- PcapErrorHandler - Class in org.jnetpcap
-
A multi-mudule I8N error handler for all jNetPcap messages.
- PcapErrorHandler() - Constructor for class org.jnetpcap.PcapErrorHandler
-
Instantiates a new pcap error handler.
- PcapException - Exception Class in org.jnetpcap
-
Checked Pcap errors, warnings and exceptions.
- PcapException(int) - Constructor for exception class org.jnetpcap.PcapException
-
Instantiates a new pcap exception.
- PcapException(int, String) - Constructor for exception class org.jnetpcap.PcapException
-
Instantiates a new pcap exception.
- PcapException(String) - Constructor for exception class org.jnetpcap.PcapException
-
Instantiates a new pcap exception.
- PcapException(PcapCode) - Constructor for exception class org.jnetpcap.PcapException
-
Instantiates a new pcap exception.
- PcapHandler - Interface in org.jnetpcap
-
A marker interface for all Pcap packet handling functional interfaces.
- PcapHandler.NativeCallback - Interface in org.jnetpcap
-
A native pcap callback which is called with packets captured using the
Pcap.loop(int, org.jnetpcap.PcapDumper)
orPcap.dispatch(int, org.jnetpcap.PcapDumper)
calls. - PcapHandler.OfArray<U> - Interface in org.jnetpcap
-
A safe packet handler which receives copies of packets in a byte array.
- PcapHandler.OfByteBuffer<U> - Interface in org.jnetpcap
-
A safe
ByteBuffer
packet handler. - PcapHandler.OfMemorySegment<U> - Interface in org.jnetpcap
-
An advanced low level, no copy, packet handler.
- PcapHeader - Class in org.jnetpcap
-
A Pcap packet header also called a descriptor that precedes each packet.
- PcapHeader(int, int, int, int) - Constructor for class org.jnetpcap.PcapHeader
-
Instantiates a new pcap header.
- PcapHeader(MemorySegment) - Constructor for class org.jnetpcap.PcapHeader
-
Instantiates a new pcap header.
- PcapHeader(MemorySegment, boolean) - Constructor for class org.jnetpcap.PcapHeader
-
Instantiates a new pcap header.
- PcapHeader(MemorySegment, boolean, boolean) - Constructor for class org.jnetpcap.PcapHeader
-
Instantiates a new pcap header.
- PcapHeader(ByteBuffer) - Constructor for class org.jnetpcap.PcapHeader
-
Instantiates a new pcap header.
- PcapHeaderException - Exception Class in org.jnetpcap
-
Reports any packet header runtime errors.
- PcapHeaderException(String) - Constructor for exception class org.jnetpcap.PcapHeaderException
-
Instantiates a new pcap header exception.
- PcapHeaderException(String, Throwable) - Constructor for exception class org.jnetpcap.PcapHeaderException
-
Instantiates a new pcap header exception.
- PcapHeaderException.OutOfRangeException - Exception Class in org.jnetpcap
-
Reports an out of range error for a value of native Pcap header field.
- PcapIf - Class in org.jnetpcap
-
Native Type pcap_if_t has the following members.
- PcapIf.PcapAddr<T> - Class in org.jnetpcap
-
The struct pcap_addr structure containing network interfaces/devices addresses.
- PcapIfFlag - Enum Class in org.jnetpcap.constant
-
Network interface status flags.
- PcapMessages - Class in org.jnetpcap
-
Pcap message localizer.
- PcapMessages(Reader) - Constructor for class org.jnetpcap.PcapMessages
-
Instantiates a new pcap messages.
- PcapMessagesProvider - Interface in org.jnetpcap.spi
-
The Interface PcapMessagesProvider.
- PcapMode - Enum Class in org.jnetpcap.constant
-
Pcap live capture mode flags.
- PcapOption - Enum Class in org.jnetpcap.constant
-
Options usable with
Pcap.init(PcapOption)
call. - PcapPacketRefPREVIEW - Record Class in org.jnetpcap.util
-
A utility class which holds references to native pcap header and native pcap packet data.
- PcapPacketRef(Object, MemorySegment, MemorySegment) - Constructor for record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Creates an instance of a
PcapPacketRef
record class. - PcapRmt - Interface in org.jnetpcap.windows
-
Remote RPCAP authentication and source string marker interface.
- PcapRmt.Auth - Record Class in org.jnetpcap.windows
-
Remote RPCAP authentication structure.
- PcapRmt.Source - Record Class in org.jnetpcap.windows
-
Remote RPCAP source string.
- PcapSendQueue - Class in org.jnetpcap.windows
-
A queue of raw packets that will be sent to the network with
transmit
on Microsoft Windows platforms. - PcapSendQueue(int) - Constructor for class org.jnetpcap.windows.PcapSendQueue
-
Instantiates a new pcap send queue.
- PcapSrc - Enum Class in org.jnetpcap.constant
-
Internal representation of the type of source in use (file, remote/local interface).
- PcapStat - Interface in org.jnetpcap
-
Packet statistics from the start of the pcap run to the time of the call.
- PcapStatEx - Interface in org.jnetpcap.windows
-
The Interface PcapStatEx.
- PcapTStampPrecision - Enum Class in org.jnetpcap.constant
-
Time stamp resolution types.
- PcapTstampType - Enum Class in org.jnetpcap.constant
-
Time stamp types.
- PcapUtils - Class in org.jnetpcap.util
-
Utility methods for jNetPcap library.
- PcapVersionException - Exception Class in org.jnetpcap.util
-
Indicates that installed runtime version of jNetPcap library is incompatible with the client application version of jNetPcap being used.
- PCI_EXP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PC i_ exp.
- perror(String) - Method in class org.jnetpcap.Pcap
-
Print libpcap error message text.
- perror(String) - Method in class org.jnetpcap.Pcap0_4
-
Perror.
- PFLOG - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PFLOG.
- PFSYNC - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PFSYNC.
- PHONET - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The phonet.
- port() - Method in class org.jnetpcap.SockAddr.Inet6SockAddr
-
Transport layer port number.
- port() - Method in class org.jnetpcap.SockAddr.InetSockAddr
-
Port number in network byte order.
- port() - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
Returns the value of the
port
record component. - PPP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PPP.
- PPP_BSDOS - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PP p_ bsdos.
- PPP_ETHER - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PP p_ ether.
- PPP_PPPD - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PP p_ pppd.
- PPP_SERIAL - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PP p_ serial.
- PPPOX - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The pppox.
- PRISM_HEADER - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PRIS m_ header.
- PROMISCUOUS - Enum constant in enum class org.jnetpcap.constant.PcapMode
-
Flag used with
openLive
to specify that the interface should be put into promisuous mode. - PRONET - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The PRONET.
- protocol() - Method in class org.jnetpcap.SockAddr.PacketSockAddr
-
Protocol (e.g., ETH_P_ALL, ETH_P_IP) .
- PSEUDO_BLUE - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Identify packets for Blue Box.
- PSEUDO_KEY - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Internal key-management function.
- PSEUDO_PIP - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Help Identify PIP packets.
- PSEUDO_RTIP - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Help Identify RTIP packets.
- PSEUDO_XTP - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
eXpress Transfer Protocol (no AF).
- PUP - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
PUP protocols: e.g.
Q
- QIPCRTR - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The qipcrtr.
- queue(MemorySegment, MemorySegment) - Method in class org.jnetpcap.windows.PcapSendQueue
-
Add a packet to a send queue.
- queue(PcapHeader, byte[], int) - Method in class org.jnetpcap.windows.PcapSendQueue
-
Add a packet to a send queue.
R
- RAW - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The RAW.
- RDS - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The rds.
- recv() - Method in interface org.jnetpcap.PcapStat
-
number of packets received.
- recv() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Recv.
- RIO - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The RIO.
- ROSE - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The rose.
- ROUTE - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Internal Routing Protocol.
- rxBytes() - Method in interface org.jnetpcap.windows.PcapStatEx
-
total bytes received.
- rxCrcErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
recv'd pkt with crc error.
- rxDropped() - Method in interface org.jnetpcap.windows.PcapStatEx
-
no space in Rx buffers.
- rxErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
bad packets received.
- rxFifoErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
recv'r fifo overrun.
- rxFrameErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
recv'd frame alignment error.
- rxLengthErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Rx length errors.
- rxMissedErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
recv'r missed packet.
- rxOverErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
receiver ring buff overflow.
- rxPackets() - Method in interface org.jnetpcap.windows.PcapStatEx
-
total packets received.
- RXRPC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The rxrpc.
S
- SCCP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The SCCP.
- scopeId() - Method in class org.jnetpcap.SockAddr.Inet6SockAddr
-
Scope ID (interface for link-local addresses).
- SECURITY - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The security.
- selector() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Link-layer selector.
- selectorLength() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
Selector length.
- sendPacket(byte[]) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- sendPacket(byte[], int, int) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- sendPacket(MemorySegment, int) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- sendPacket(MemorySegment, int) - Method in class org.jnetpcap.Pcap0_8
-
Send packet.
- sendPacket(ByteBuffer) - Method in class org.jnetpcap.Pcap
-
Transmit a packet.
- sendQueueTransmit(PcapSendQueue, boolean) - Method in class org.jnetpcap.windows.WinPcap
-
Transmit all packets in the send queue.
- sent() - Method in interface org.jnetpcap.PcapStat
-
Sent.
- sent() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Sent.
- serviceName() - Method in class org.jnetpcap.SockAddr.IrdaSockAddr
-
String specifying the service name.
- setBuff(int) - Method in class org.jnetpcap.windows.WinPcap
-
Set the size of the kernel buffer associated with an adapter.
- setBufferSize(int) - Method in class org.jnetpcap.Pcap
-
Sets the buffer size for a not-yet- activated capture handle.
- setBufferSize(int) - Method in class org.jnetpcap.Pcap1_0
- setDatalink(int) - Method in class org.jnetpcap.Pcap
-
Set the link-layer header type to be used by a capture device .
- setDatalink(int) - Method in class org.jnetpcap.Pcap0_8
-
Sets the datalink.
- setDatalink(Optional<PcapDlt>) - Method in class org.jnetpcap.Pcap
-
Set the link-layer header type to be used by a capture device .
- setDatalink(PcapDlt) - Method in class org.jnetpcap.Pcap
-
Set the link-layer header type to be used by a capture device .
- setDefault(Pcap.LibraryPolicy) - Static method in interface org.jnetpcap.Pcap.LibraryPolicy
-
Sets the default native Pcap library policy.
- setDirection(int) - Method in class org.jnetpcap.Pcap
-
pcap_setdirection() is used to specify a direction that packets will be captured.
- setDirection(int) - Method in class org.jnetpcap.Pcap0_9
-
Sets the direction.
- setDirection(Optional<PcapDirection>) - Method in class org.jnetpcap.Pcap
-
Set the direction for which packets will be captured.
- setDirection(PcapDirection) - Method in class org.jnetpcap.Pcap
-
Set the direction for which packets will be captured.
- setFilter(Optional<BpFilter>) - Method in class org.jnetpcap.Pcap
-
set the filter.
- setFilter(BpFilter) - Method in class org.jnetpcap.Pcap
-
set the filter.
- setFilter(BpFilter) - Method in class org.jnetpcap.Pcap0_4
-
Sets the filter.
- setImmediateMode(boolean) - Method in class org.jnetpcap.Pcap
-
Set immediate mode for a not-yet- activated capture handle.
- setImmediateMode(boolean) - Method in class org.jnetpcap.Pcap1_5
-
Sets the immediate mode.
- setLoggingOutput(Appendable) - Static method in interface org.jnetpcap.Pcap.LibraryPolicy
-
Sets the logging output produced by the default native library policy receiver.
- setMethodName(String) - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Sets the method name.
- setMinToCopy(int) - Method in class org.jnetpcap.windows.WinPcap
-
Set the minumum amount of data received by the kernel in a single call.
- setMode(int) - Method in class org.jnetpcap.windows.WinPcap
-
Set the working mode of the interface p to mode.
- setMode(WinPcapMode) - Method in class org.jnetpcap.windows.WinPcap
-
Set the working mode of the interface p to mode.
- setNanoTimePrecision(boolean) - Method in class org.jnetpcap.PcapHeader
-
Sets a flag if the timestamp for this header is calculated using nanosecond or the default microsecond precision.
- setNonBlock(boolean) - Method in class org.jnetpcap.Pcap
-
Sets the state of non-blocking mode on a capture device.
- setNonBlock(boolean) - Method in class org.jnetpcap.Pcap0_7
-
Sets the non block.
- setPossibilities(List<String>) - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Sets the possibilities.
- setPossiblities(List<String>) - Method in exception class org.jnetpcap.PcapHeaderException.OutOfRangeException
-
Sets the possiblities.
- setPromisc(boolean) - Method in class org.jnetpcap.Pcap
-
Set promiscuous mode for a not-yet-activated capture handle.
- setPromisc(boolean) - Method in class org.jnetpcap.Pcap1_0
-
Sets the promisc.
- setPromisc(int) - Method in class org.jnetpcap.Pcap1_0
-
Set promiscuous mode for a not-yet-activated capture handle.
- setProtocolLinux(int) - Method in class org.jnetpcap.Pcap.Linux
-
Set capture protocol for a not-yet-activated capture handle.
- setRfmon(boolean) - Method in class org.jnetpcap.Pcap
-
Set monitor mode for a not-yet-activated capture handle.
- setRfmon(boolean) - Method in class org.jnetpcap.Pcap1_0
-
Sets the rfmon.
- setRfmon(int) - Method in class org.jnetpcap.Pcap1_0
-
Set monitor mode for a not-yet-activated capture handle.
- setSnaplen(int) - Method in class org.jnetpcap.Pcap
-
Set the snapshot length for a not-yet-activated capture handle.
- setSnaplen(int) - Method in class org.jnetpcap.Pcap1_0
-
Sets the snaplen.
- setTimeout(int) - Method in class org.jnetpcap.Pcap
-
Set the packet buffer timeout for a not-yet-activated capture handle.
- setTimeout(int) - Method in class org.jnetpcap.Pcap1_0
-
Sets the timeout.
- setTstampPrecision(PcapTStampPrecision) - Method in class org.jnetpcap.Pcap
-
Set the time stamp precision returned in captures.
- setTstampPrecision(PcapTStampPrecision) - Method in class org.jnetpcap.Pcap1_5
-
Sets the tstamp precision.
- setTstampType(PcapTstampType) - Method in class org.jnetpcap.Pcap
-
Set the time stamp type to be used by a capture device.
- setTstampType(PcapTstampType) - Method in class org.jnetpcap.Pcap1_2
-
Sets the tstamp type.
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.jnetpcap.Pcap
-
Sets the uncaught exception handler for
Pcap.loop(int, org.jnetpcap.PcapDumper)
andPcap.dispatch(int, org.jnetpcap.PcapDumper)
methods. - setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.jnetpcap.Pcap0_4
-
Sets the uncaught exception handler for
Pcap0_4.loop(int, org.jnetpcap.PcapDumper)
andPcap0_4.dispatch(int, org.jnetpcap.PcapHandler.OfMemorySegment<U>, U)
methods. - setUncaughtExceptionHandler(Consumer<? super Throwable>) - Method in class org.jnetpcap.Pcap
-
Sets the uncaught exception handler for
Pcap.loop(int, org.jnetpcap.PcapDumper)
andPcap.dispatch(int, org.jnetpcap.PcapDumper)
methods. - SILABS_DEBUG_CHANNEL - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Silicon Labs debug channel protocol.
- SIP - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Simple Internet Protocol.
- size() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Size of this structure in bytes.
- SLIP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The SLIP.
- SLIP_BSDOS - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The SLI p_ bsdos.
- SMC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The smc.
- SNA - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The sna.
- snapshot() - Method in class org.jnetpcap.Pcap
-
Get the snapshot length.
- snapshot() - Method in class org.jnetpcap.Pcap0_4
-
Snapshot.
- SockAddr - Class in org.jnetpcap
-
The low level
sockaddr
structure containing an address of different types, depending on the protocol family value. - SockAddr.Inet6SockAddr - Class in org.jnetpcap
-
The structure of
sockaddr_in6
, used for IPv6 sockets. - SockAddr.InetSockAddr - Class in org.jnetpcap
-
The structure of
sockaddr_in
, used for IPv4 sockets. - SockAddr.IpxSockAddr - Class in org.jnetpcap
-
The structure of
sockaddr_ipx
, used for AF_IPX sockets. - SockAddr.IrdaSockAddr - Class in org.jnetpcap
-
The structure of
sockaddr_irda
, used with AF_IRDA sockets on windows (winsock2.h) to access link-layer information. - SockAddr.LinkSockAddr - Class in org.jnetpcap
-
The structure of
sockaddr_dl
, used with AF_LINK sockets on macOS to access link-layer information. - SockAddr.PacketSockAddr - Class in org.jnetpcap
-
The structure of
sockaddr_ll
, used with AF_PACKET sockets for raw packet access on Linux. - SockAddrFamily - Enum Class in org.jnetpcap.constant
-
The socket address protocol family constants.
- socket() - Method in class org.jnetpcap.SockAddr.IpxSockAddr
-
IPX socket number.
- socketAddress() - Method in class org.jnetpcap.PcapIf.PcapAddr
-
A family specific socket address for this interface.
- Source(int, String, String, String) - Constructor for record class org.jnetpcap.windows.PcapRmt.Source
-
Creates an instance of a
Source
record class. - SRC_FILE - Enum constant in enum class org.jnetpcap.constant.PcapSrc
-
Internal representation of the type of source in use (file, remote/local interface).
- SRC_IFLOCAL - Enum constant in enum class org.jnetpcap.constant.PcapSrc
-
local network interface.
- SRC_IFREMOTE - Enum constant in enum class org.jnetpcap.constant.PcapSrc
-
interface on a remote host, using RPCAP.
- STAT - Enum constant in enum class org.jnetpcap.constant.WinPcapMode
-
The STATISTICS mode constant.
- stats() - Method in class org.jnetpcap.Pcap
-
Get capture statistics.
- stats() - Method in class org.jnetpcap.Pcap0_4
-
Stats.
- statsEx() - Method in class org.jnetpcap.windows.WinPcap
-
Return statistics on current capture.
- statusToStr(int) - Static method in class org.jnetpcap.Pcap
-
Convert an error full value to a string.
- statusToStr(int) - Static method in class org.jnetpcap.Pcap1_0
-
Convert an error full value to a string.
- statusToStr(PcapCode) - Static method in class org.jnetpcap.Pcap
-
Convert an error full value to a string.
- strerror(int) - Static method in class org.jnetpcap.Pcap
-
Convert an error full value to a string.
- strerror(int) - Static method in class org.jnetpcap.Pcap0_4
-
Convert an error full value to a string.
- SUNATM - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The SUNATM.
- SYMANTEC_FIREWALL - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The SYMANTE c_ firewall.
- SYSTEM - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
Kernel event messages.
- SYSTEM_PROPERTY_ABI - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
System property used to override the selection of the PcapHeaderABI.
- SYSTEM_PROPERTY_JAVA_LIBRARY_PATH - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
System property used to search for native libraries.
- SYSTEM_PROPERTY_LIBPCAP_FILE - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
System property containing the absolute native file path to the pcap library.
- SYSTEM_PROPERTY_LIBPCAP_FILENAME - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
System property containing full native library filename, but no directory path.
- SYSTEM_PROPERTY_LIBPCAP_NAMES - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
A list of comma separated, undecorated library names.
- SYSTEM_PROPERTY_PCAPIF_SOCKADDR_BSD_STYLE - Static variable in class org.jnetpcap.PcapIf
-
System property if set to true, pcap uses BSD style sockaddr structure which has the addr_len field.
- SYSTEM_PROPERTY_SO_EXTENSIONS - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
Platform dependent list of shared-object extensions to use while attempting to load the native library.
- SYSTEM_PROPERTY_SO_IGNORE_LOAD_ERRORS - Static variable in interface org.jnetpcap.Pcap.LibraryPolicy
-
The system property which is used to define if load error messages should be ignored or not.
T
- throwIfNotOk(int) - Static method in exception class org.jnetpcap.PcapException
-
Throw if not ok.
- throwIfNotOk(int, Supplier<String>) - Static method in exception class org.jnetpcap.PcapException
-
Throw if not ok.
- throwIfNotOk(PcapCode, Supplier<String>) - Static method in exception class org.jnetpcap.PcapException
-
Throw if not ok.
- throwIfVersionMismatch(String, String) - Static method in exception class org.jnetpcap.util.PcapVersionException
-
Throw if version mismatch.
- throwIfVersionMismatch(String, String, int) - Static method in exception class org.jnetpcap.util.PcapVersionException
-
Throw if version mismatch.
- timestamp() - Method in class org.jnetpcap.PcapHeader
-
Timestamp with 32-bit seconds (MSB bits) and 32-bit usecs (LSB bits) from a base of January 1, 1970.
- timestamp(boolean) - Method in class org.jnetpcap.PcapHeader
-
Timestamp in either nano or milli second precision.
- TIPC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The tipc.
- toAddressString(byte[]) - Static method in class org.jnetpcap.util.PcapUtils
-
Format an array as either IP ver 4, IP ver 6 or MAC address.
- toArray() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Returns byte[] representation of the entire packet.
- toArray(int, int) - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Returns an array containing only the packet bytes starting at
offset
andoffset + length
. - toEnum(int) - Static method in enum class org.jnetpcap.constant.ArpHdr
-
Converts the supplied id to an ArpHdr enum constant.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.PcapCode
-
Converts an integer Pcap error code to a constant.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.PcapDirection
-
Converts integer pcap direction value to an enum.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.PcapDlt
-
Converts the supplied id to an ArpHdr enum constant.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.PcapMode
-
Converts numerical PCAP_MODE constant to an enum, if found.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.PcapOption
-
Converts an integer value into a PCAP option constant, if found.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.PcapSrc
-
Converts PCAP src numerical constant to an enum constant, if found.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.PcapTstampType
-
Converts numerical TSTAMP_TYPE constant to an enum, if found.
- toEnum(int) - Static method in enum class org.jnetpcap.constant.WinPcapMode
-
Converts numerical WinPcap mode constant to an enum, if found.
- toEnumSet(int) - Static method in enum class org.jnetpcap.constant.PcapIfFlag
-
Converts integer flag bit-field, to an enum set.
- toEpochMilli() - Method in class org.jnetpcap.PcapHeader
-
To epoch milli.
- toEpochMilli(boolean) - Method in class org.jnetpcap.PcapHeader
-
To epoch milli.
- toEpochMilli(long, long) - Method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
Converts second and fraction components, as read from pcap header, to milli seconds in epoch time suitable for use with java
Date
class. - toEpochSecond(long) - Method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
Computes number of seconds in epoch time by dropping the fractional part.
- toEpochTime(long, long) - Method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
To epoch time with this precision from supplied second and fraction components, as read fro pcap header.
- toFractionOfSecond(long) - Method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
Computes a fraction of a second from epoch time provided.
- toHexCurleyString(byte[]) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character enclosed within curley brackets {}.
- toHexCurleyString(byte[], int, int) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character enclosed within curley brackets {}.
- toHexCurleyString(ByteBuffer) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in a ByteBuffer to 2 digit hex values, each separated by ':' character enclosed within square brackets
[]
. - toHexSquareString(byte[]) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character enclosed within square brackets
[]
. - toHexSquareString(byte[], int, int) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character enclosed within square brackets
[]
. - toHexSquareString(ByteBuffer) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in a ByteBuffer to 2 digit hex values, each separated by ':' character enclosed within square brackets
[]
. - toHexString(byte[]) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character.
- toHexString(byte[], int, int) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character.
- toHexString(byte[], int, int, String, String) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character.
- toHexString(byte[], String, String) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in an array to 2 digit hex values, each separated by ':' character.
- toHexString(ByteBuffer) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats individual bytes in a ByteBuffer to 2 digit hex values, each separated by ':' character.
- toIp4AddressString(byte[]) - Static method in class org.jnetpcap.util.PcapUtils
-
Formats the given array as a IP ver 4 address in the form of 192.168.1.1.
- toLabel(int) - Static method in enum class org.jnetpcap.constant.ArpHdr
-
Searches for a constant matching the supplied id parameter and returns its label.
- toLabelSet(int) - Static method in enum class org.jnetpcap.constant.PcapIfFlag
-
To a set of PcapIf flags..
- toString() - Method in class org.jnetpcap.BpFilter
- toString() - Method in class org.jnetpcap.Pcap
-
Debug info about this pcap handle.
- toString() - Method in class org.jnetpcap.PcapDumper
-
Information about this pcap dumper.
- toString() - Method in class org.jnetpcap.PcapHeader
-
To string.
- toString() - Method in class org.jnetpcap.PcapIf.PcapAddr
-
String representation of the structure field values.
- toString() - Method in class org.jnetpcap.PcapIf
-
String representation of the structure field values.
- toString() - Method in class org.jnetpcap.SockAddr.Inet6SockAddr
-
String representation of the structure fields.
- toString() - Method in class org.jnetpcap.SockAddr.InetSockAddr
-
String representation of the structure field values.
- toString() - Method in class org.jnetpcap.SockAddr.IpxSockAddr
-
String representation of the structure field values.
- toString() - Method in class org.jnetpcap.SockAddr.IrdaSockAddr
-
String representation of the structure field values.
- toString() - Method in class org.jnetpcap.SockAddr.LinkSockAddr
-
String representation of the structure field values.
- toString() - Method in class org.jnetpcap.SockAddr.PacketSockAddr
-
String representation of the structure field values.
- toString() - Method in class org.jnetpcap.SockAddr
-
String representation of the structure field values.
- toString() - Method in record class org.jnetpcap.util.NetIp4Address
-
Returns a string representation of this record class.
- toString() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Returns a string representation of this record class.
- toString() - Method in record class org.jnetpcap.windows.PcapRmt.Auth
-
Returns a string representation of this record class.
- toString() - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
Returns a string representation of this record class.
- toString(int) - Static method in enum class org.jnetpcap.constant.PcapCode
-
Converts an integer Pcap error code to a string.
- totalLength() - Method in enum class org.jnetpcap.constant.SockAddrFamily
-
The total length of the socket address structure in bytes.
- totalLength() - Method in class org.jnetpcap.SockAddr
-
The total length of the socket address structure in bytes.
- TSTAMP_PRECISION_MICRO - Enum constant in enum class org.jnetpcap.constant.PcapTStampPrecision
-
use timestamps with microsecond precision, default.
- TSTAMP_PRECISION_NANO - Enum constant in enum class org.jnetpcap.constant.PcapTStampPrecision
-
use timestamps with nanosecond precision.
- TSTAMP_TYPE_ADAPTER - Enum constant in enum class org.jnetpcap.constant.PcapTstampType
-
device-provided, synced with the system clock.
- TSTAMP_TYPE_ADAPTER_UNSYNCED - Enum constant in enum class org.jnetpcap.constant.PcapTstampType
-
device-provided, not synced with the system clock.
- TSTAMP_TYPE_HOST - Enum constant in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, unknown characteristics.
- TSTAMP_TYPE_HOST_HIPREC - Enum constant in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, high precision, synced with the system clock.
- TSTAMP_TYPE_HOST_HIPREC_UNSYNCED - Enum constant in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, high precision, not synced with the system clock.
- TSTAMP_TYPE_HOST_LOWPREC - Enum constant in enum class org.jnetpcap.constant.PcapTstampType
-
host-provided, low precision, synced with the system clock.
- tvSec() - Method in class org.jnetpcap.PcapHeader
-
Tv sec.
- tvSec() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
The timestamp in seconds in epoch time.
- tvUsec() - Method in class org.jnetpcap.PcapHeader
-
Tv usec.
- tvUsec() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
The timestamp fraction of a second.
- txAbortedErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Tx aborted errors.
- txBytes() - Method in interface org.jnetpcap.windows.PcapStatEx
-
total bytes transmitted.
- txCarrierErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Tx carrier errros.
- txDropped() - Method in interface org.jnetpcap.windows.PcapStatEx
-
no space available for Tx.
- txErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
packet transmit problems.
- txFifoErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Tx fifo errors.
- txHeartbeatErrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Tx heartbeat errors.
- txPackets() - Method in interface org.jnetpcap.windows.PcapStatEx
-
total packets transmitted.
- txWindowErrrors() - Method in interface org.jnetpcap.windows.PcapStatEx
-
Tx window errrors.
- type() - Method in record class org.jnetpcap.windows.PcapRmt.Auth
-
Returns the value of the
type
record component. - type() - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
Returns the value of the
type
record component. - typeAsPcapSrc() - Method in record class org.jnetpcap.windows.PcapRmt.Source
-
PcapSrc type as constant..
- TZSP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The TZSP.
U
- UNSPEC - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The unspec.
- USB_2_0_FULL_SPEED - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
USB 1.1 packets as transmitted over the cable
- USB_2_0_HIGH_SPEED - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
USB 2.0 packets as transmitted over the cable
- USB_2_0_LOW_SPEED - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
USB 1.0 packets as transmitted over the cable
- USER0 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r0.
- USER1 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r1.
- USER10 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r10.
- USER11 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r11.
- USER12 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r12.
- USER13 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r13.
- USER14 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r14.
- USER15 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r15.
- USER2 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r2.
- USER3 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r3.
- USER4 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r4.
- USER5 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r5.
- USER6 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r6.
- USER7 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r7.
- USER8 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r8.
- USER9 - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
The USE r9.
- username() - Method in record class org.jnetpcap.windows.PcapRmt.Auth
-
Returns the value of the
username
record component.
V
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapCode
-
Converts an integer Pcap error code to a constant.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapDirection
-
Converts integer pcap direction value to an enum.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapDlt
-
Converts an integer value into a PcapDLT constant.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapMode
-
Converts numerical PCAP_MODE constant to an enum.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapOption
-
Converts an integer value into a PCAP option constant.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapSrc
-
Converts PCAP src numerical constant to an enum constant.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
Value of.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.PcapTstampType
-
Converts numerical TSTAMP_TYPE constant to an enum.
- valueOf(int) - Static method in enum class org.jnetpcap.constant.WinPcapMode
-
Converts numerical WinPcap mode constant to an enum.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.ArpHdr
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapDlt
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapIfFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapSrc
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.PcapTstampType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.SockAddrFamily
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.jnetpcap.constant.WinPcapMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jnetpcap.constant.ArpHdr
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapDlt
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapIfFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapSrc
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapTStampPrecision
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.PcapTstampType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.SockAddrFamily
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.jnetpcap.constant.WinPcapMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class org.jnetpcap.Pcap
-
The jNetPcap API version.
- VSOCK - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The vsock.
W
- WANPIPE - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The wanpipe.
- WARNING - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
generic warning.
- WARNING_PROMISC_NOTSUP - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
this device doesn't support promiscuous mode.
- WARNING_TSTAMP_TYPE_NOTSUP - Enum constant in enum class org.jnetpcap.constant.PcapCode
-
the requested time stamp type is not supported.
- WinPcap - Class in org.jnetpcap.windows
-
WinPcap is a wrapper around, windows packet capture library.
- WINPCAP_MODE_CAPT - Static variable in class org.jnetpcap.windows.WinPcap
-
The Constant WINPCAP_MODE_CAPT.
- WINPCAP_MODE_MON - Static variable in class org.jnetpcap.windows.WinPcap
-
The Constant WINPCAP_MODE_MON.
- WINPCAP_MODE_STAT - Static variable in class org.jnetpcap.windows.WinPcap
-
The Constant WINPCAP_MODE_STAT.
- WinPcapMode - Enum Class in org.jnetpcap.constant
-
WinPcap setmode values.
- wireLength() - Method in class org.jnetpcap.PcapHeader
-
Wire length.
- wireLength() - Method in record class org.jnetpcap.util.PcapPacketRefPREVIEW
-
Wire length of the packet.
- wireLength(MemorySegment) - Static method in class org.jnetpcap.PcapHeader
-
Packet wire length.
- wireLength(MemorySegment, boolean) - Static method in class org.jnetpcap.PcapHeader
-
Packet wire length for offline file capture.
- wireLength(ByteBuffer) - Static method in class org.jnetpcap.PcapHeader
-
Packet wire length .
- wireLength(ByteBuffer, boolean) - Static method in class org.jnetpcap.PcapHeader
-
Packet wire length for offline file capture.
- wsockInit() - Static method in class org.jnetpcap.windows.WinPcap
-
Initializes Winsock.
X
- X25 - Enum constant in enum class org.jnetpcap.constant.SockAddrFamily
-
The x25.
Z
- ZBOSS_NCP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Serial NCP (Network Co-Processor) protocol for Zigbee stack ZBOSS by DSR.
- ZWAVE_TAP - Enum constant in enum class org.jnetpcap.constant.PcapDlt
-
Z-Wave packets with a TAP meta-data header https://gitlab.com/exegin/zwave-g9959-tap requested on tcpdump-workers@
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Pcap.findAllDevs()
and use the first device