Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

Abstract(PacketBuffer) - Constructor for class pcap.spi.Packet.Abstract
A class that extends this abstract class must have constructor with single PacketBuffer parameter.
accept(T) - Method in interface pcap.spi.util.Consumer
Accept input.
ActivatedException - Exception in pcap.spi.exception.error
The operation can't be performed on already activated captures (-4).
ActivatedException(String) - Constructor for exception pcap.spi.exception.error.ActivatedException
Create new ActivatedException instance.
ADAPTER - Enum constant in enum pcap.spi.Timestamp.Type
High-precision time stamp supplied by the capture device; it's synchronized with the system clock.
ADAPTER_UNSYNCED - Enum constant in enum pcap.spi.Timestamp.Type
High-precision time stamp supplied by the capture device; it's not synchronized with the system clock.
address() - Method in interface pcap.spi.Address
Interface address.
Address - Interface in pcap.spi
Representation of an interface address.
addresses() - Method in interface pcap.spi.Interface
Interface addresses.
allocate(Class<T>) - Method in interface pcap.spi.Pcap
Create pointer to given type.
Async - Annotation Type in pcap.spi.annotation
Indicate the Pcap.dispatch(int, PacketHandler, Object) or Pcap.next(PacketHeader) is capable to perform non-blocking I/O.
attach(Object) - Method in interface pcap.spi.Selection
Attach some object.
attachment() - Method in interface pcap.spi.Selection
Get attachment.

B

BIG_ENDIAN - Enum constant in enum pcap.spi.PacketBuffer.ByteOrder
Big endianess.
BreakException - Exception in pcap.spi.exception.error
Loop terminated by pcap_breakloop (-2).
BreakException(String) - Constructor for exception pcap.spi.exception.error.BreakException
Create new BreakException instance.
breakLoop() - Method in interface pcap.spi.Pcap
broadcast() - Method in interface pcap.spi.Address
Brodcast address for interface address (Address.address()).
buffer() - Method in class pcap.spi.Packet.Abstract
Get packet buffer.
buffer() - Method in interface pcap.spi.Packet
Get packet buffer.
bufferSize() - Method in class pcap.spi.option.DefaultLiveOptions
Get buffer size options.
bufferSize() - Method in interface pcap.spi.Service.LiveOptions
Get buffer size options.
bufferSize(int) - Method in class pcap.spi.option.DefaultLiveOptions
Packets that arrive for a capture are stored in a buffer, so that they do not have to be read by the application as soon as they arrive.
bufferSize(int) - Method in interface pcap.spi.Service.LiveOptions
Packets that arrive for a capture are stored in a buffer, so that they do not have to be read by the application as soon as they arrive.
byteOrder() - Method in interface pcap.spi.PacketBuffer
Retrieves this buffer's native byte order.
byteOrder(PacketBuffer.ByteOrder) - Method in interface pcap.spi.PacketBuffer
Change this buffer's byte order.

C

cancel() - Method in interface pcap.spi.Selection
capacity() - Method in interface pcap.spi.PacketBuffer
Get buffer capacity.
capacity(long) - Method in interface pcap.spi.PacketBuffer
Reallocate buffer.
captureLength() - Method in interface pcap.spi.PacketHeader
Length of portion present (must be less then or equal to PacketHeader.length()).
cast(Class<T>) - Method in interface pcap.spi.PacketBuffer
Casting buffer to Packet.
clear() - Method in interface pcap.spi.PacketBuffer
Sets the readerIndex and writerIndex of this buffer to 0.
close() - Method in interface pcap.spi.Dumper
Closes a savefile.
close() - Method in interface pcap.spi.Pcap
Close PcapLive or PcapOffline.
close() - Method in interface pcap.spi.Selectable
compile(String, boolean) - Method in interface pcap.spi.Pcap
Compile filter syntax.
Consumer<T> - Interface in pcap.spi.util
Consumer.
copy() - Method in interface pcap.spi.PacketBuffer
Returns a copy of this buffer's readable bytes.
copy(long, long) - Method in interface pcap.spi.PacketBuffer
Returns a copy of this buffer's sub-region.
create(String) - Static method in class pcap.spi.Service.Creator
Create Service provider instance.

D

datalink() - Method in interface pcap.spi.Pcap
DefaultLiveOptions - Class in pcap.spi.option
DefaultLiveOptions() - Constructor for class pcap.spi.option.DefaultLiveOptions
 
DefaultOfflineOptions - Class in pcap.spi.option
DefaultOfflineOptions() - Constructor for class pcap.spi.option.DefaultOfflineOptions
 
DefaultTimeout - Class in pcap.spi.util
Default timeout.
DefaultTimeout() - Constructor for class pcap.spi.util.DefaultTimeout
Create default timeout for 1 seconds.
DefaultTimeout(long, Timeout.Precision) - Constructor for class pcap.spi.util.DefaultTimeout
Create timeout instance.
description() - Method in interface pcap.spi.Interface
Textual description of interface, or null.
destination() - Method in interface pcap.spi.Address
P2P destination address for interface address (Address.address()).
dispatch(int, PacketHandler<T>, T) - Method in interface pcap.spi.Pcap
Processes packets from a live capture or PcapLive until cnt packets are processed.
dropped() - Method in interface pcap.spi.Statistics
Number of packets dropped.
droppedByInterface() - Method in interface pcap.spi.Statistics
Number of packets dropped by interface (only supported on some platforms).
dump(PacketHeader, PacketBuffer) - Method in interface pcap.spi.Dumper
Write a packet to a savefile.
Dumper - Interface in pcap.spi
A handle for writing packet to a savefile.
dumpOpen(String) - Method in interface pcap.spi.Pcap
Open Dumper handler for writing the packets to savefile (Create/Override existing file).
dumpOpenAppend(String) - Method in interface pcap.spi.Pcap
Open savefile or create the new one if it's doesn't exist.
duplicate() - Method in interface pcap.spi.PacketBuffer
Duplicate the this PacketBuffer buffer.

E

ensureWritable(long) - Method in interface pcap.spi.PacketBuffer
Makes sure the number of the writable bytes is equal to or greater than the specified value.
equals(Object) - Method in class pcap.spi.Packet.Abstract
 
ErrorException - Exception in pcap.spi.exception
Error codes for the pcap API.
ErrorException(String) - Constructor for exception pcap.spi.exception.ErrorException
Create new ErrorException instance.

F

filter(PacketBuffer) - Method in interface pcap.spi.PacketFilter
Filter packet buffer.
flags() - Method in interface pcap.spi.Interface
Interface flags.
flush() - Method in interface pcap.spi.Dumper
Flushes the output buffer to the savefile.

G

getBoolean(long) - Method in interface pcap.spi.PacketBuffer
Gets a boolean at the specified absolute (@code index) in this buffer.
getByte(long) - Method in interface pcap.spi.PacketBuffer
Gets a byte at the specified absolute index in this buffer.
getBytes(long, byte[]) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(long, byte[], long, long) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(long, PacketBuffer) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index until the destination becomes non-writable.
getBytes(long, PacketBuffer, long) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getBytes(long, PacketBuffer, long, long) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the specified absolute index.
getCharSequence(long, long, PacketBuffer.Charset) - Method in interface pcap.spi.PacketBuffer
Gets a CharSequence with the given length at the given index.
getDouble(long) - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit floating point number at the specified absolute index in this buffer.
getDoubleRE(long) - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit floating point number at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
getFloat(long) - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit floating point number at the specified absolute index in this buffer.
getFloatRE(long) - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit floating point number at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
getInt(long) - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit integer at the specified absolute index in this buffer.
getIntRE(long) - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit integer at the specified absolute index in this buffer with Reserved Native Endian Byte Order.
getLong(long) - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit long integer at the specified absolute index in this buffer.
getLongRE(long) - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit long integer at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
getNonBlock() - Method in interface pcap.spi.Pcap
Returns blocking mode.
getShort(long) - Method in interface pcap.spi.PacketBuffer
Gets a 16-bit short integer at the specified absolute index in this buffer.
getShortRE(long) - Method in interface pcap.spi.PacketBuffer
Gets a 16-bit short integer at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
getTimestampPrecision() - Method in interface pcap.spi.Pcap
Get the time stamp precision returned in captures.
getUnsignedByte(long) - Method in interface pcap.spi.PacketBuffer
Gets an unsigned byte at the specified absolute index in this buffer.
getUnsignedInt(long) - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 32-bit integer at the specified absolute index in this buffer.
getUnsignedIntRE(long) - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 32-bit integer at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
getUnsignedShort(long) - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 16-bit short integer at the specified absolute index in this buffer.
getUnsignedShortRE(long) - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 16-bit short integer at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
gotPacket(T, PacketHeader, PacketBuffer) - Method in interface pcap.spi.PacketHandler
Callback specifies a PacketHandler routine to be called with three arguments : a args which is passed in the user argument to Pcap#loop() or Pcap#dispatch(), a PacketHeader pointer pointing to the packet time stamp and lengths, and a args to the first caplen bytes of data from the packet.

H

hashCode() - Method in class pcap.spi.Packet.Abstract
 
HOST - Enum constant in enum pcap.spi.Timestamp.Type
Offering time stamps provided by the host machine, rather than by the capture device, but not committing to any characteristics of the time stamp.
HOST_HIPREC - Enum constant in enum pcap.spi.Timestamp.Type
Provided by the host machine, that's high-precision; it might be more expensive to fetch.
HOST_HIPREC_UNSYNCED - Enum constant in enum pcap.spi.Timestamp.Type
Provided by the host machine, that's high-precision; it might be more expensive to fetch.
HOST_LOWPREC - Enum constant in enum pcap.spi.Timestamp.Type
Provided by the host machine, that's low-precision but relatively cheap to fetch; it's normally done using the system clock, so it's normally synchronized with times you'd fetch from system calls.

I

id() - Method in interface pcap.spi.Selectable
Get selectable file descriptor on Unix, or HANDLE event on Windows.
immediate(boolean) - Method in class pcap.spi.option.DefaultLiveOptions
In immediate mode, packets are always delivered as soon as they arrive, with no buffering.
immediate(boolean) - Method in interface pcap.spi.Service.LiveOptions
In immediate mode, packets are always delivered as soon as they arrive, with no buffering.
Incubating - Annotation Type in pcap.spi.annotation
Indicates that a feature is incubating (Unstable).
inject(PacketBuffer) - Method in interface pcap.spi.Pcap
Sends a raw packet through the network interface; directBuffer points to the data of the packet, including the link-layer header, and size is the number of bytes in the packet.
interestOperations() - Method in interface pcap.spi.Selection
Get the interest I/O operations for next Selector.select(Timeout).
interestOperations(int) - Method in interface pcap.spi.Selection
Set the interest I/O operations for next Selector.select(Timeout).
Interface - Interface in pcap.spi
Item in a list of interfaces.
InterfaceNotSupportTimestampTypeException - Exception in pcap.spi.exception.error
This device doesn't support setting the time stamp type (10).
InterfaceNotSupportTimestampTypeException(String) - Constructor for exception pcap.spi.exception.error.InterfaceNotSupportTimestampTypeException
Create new InterfaceNotSupportTimestampTypeException instance.
InterfaceNotUpException - Exception in pcap.spi.exception.error
Interface isn't up (-9).
InterfaceNotUpException(String) - Constructor for exception pcap.spi.exception.error.InterfaceNotUpException
Create new InterfaceNotUpException instance.
interfaces() - Method in interface pcap.spi.Service
Find all interfaces on your system.
Internal - Annotation Type in pcap.spi.annotation
Indicates method, type, field, etc is Unsafe and only for internal usage and may change at any time.
isImmediate() - Method in class pcap.spi.option.DefaultLiveOptions
Get immediate mode options.
isImmediate() - Method in interface pcap.spi.Service.LiveOptions
Get immediate mode options.
isPromiscuous() - Method in class pcap.spi.option.DefaultLiveOptions
Get promiscuous mode options.
isPromiscuous() - Method in interface pcap.spi.Service.LiveOptions
Get promiscuous mode options.
isReadable() - Method in interface pcap.spi.PacketBuffer
 
isReadable() - Method in interface pcap.spi.Selection
Is readable.
isReadable(long) - Method in interface pcap.spi.PacketBuffer
 
isRfmon() - Method in class pcap.spi.option.DefaultLiveOptions
Get radio frequency monitor mode options.
isRfmon() - Method in interface pcap.spi.Service.LiveOptions
Get radio frequency monitor mode options.
isSwapped() - Method in interface pcap.spi.Pcap
Find out out whether a savefile has the native byte order.
isWritable() - Method in interface pcap.spi.PacketBuffer
 
isWritable() - Method in interface pcap.spi.Selection
Is writable.
isWritable(long) - Method in interface pcap.spi.PacketBuffer
 

L

length() - Method in interface pcap.spi.PacketHeader
Length this packet (off wire).
LITTLE_ENDIAN - Enum constant in enum pcap.spi.PacketBuffer.ByteOrder
Little endianess.
live(Interface, Service.LiveOptions) - Method in interface pcap.spi.Service
Open live capture handle.
loop(int, PacketHandler<T>, T) - Method in interface pcap.spi.Pcap
Process packets from a live PcapLive or PcapOffline.

M

major() - Element in annotation type pcap.spi.annotation.Version
Get minimal required major version.
majorVersion() - Method in interface pcap.spi.Pcap
Get major version number of a savefile.
markReaderIndex() - Method in interface pcap.spi.PacketBuffer
Marks the current readerIndex in this buffer.
markWriterIndex() - Method in interface pcap.spi.PacketBuffer
Marks the current writerIndex in this buffer.
MemoryAccessException - Exception in pcap.spi.exception
Illegal memory access.
MemoryAccessException(String) - Constructor for exception pcap.spi.exception.MemoryAccessException
Create new MemoryAccessException instance.
memoryAddress() - Method in interface pcap.spi.PacketBuffer
Get the first byte memory address of this PacketBuffer.
MemoryLeakException - Exception in pcap.spi.exception
Memory leak detected.
MemoryLeakException(String) - Constructor for exception pcap.spi.exception.MemoryLeakException
Create new MemoryLeakException instance.
MICRO - Enum constant in enum pcap.spi.Timeout.Precision
Use timeout with microsecond precision.
MICRO - Enum constant in enum pcap.spi.Timestamp.Precision
Use timestamps with microsecond precision (default).
microSecond() - Method in interface pcap.spi.Timeout
Get microsecond.
microSecond() - Method in interface pcap.spi.Timestamp
This is the rest of the elapsed time (a fraction of a second), represented as the number of microseconds.
microSecond() - Method in class pcap.spi.util.DefaultTimeout
 
minor() - Element in annotation type pcap.spi.annotation.Version
Get minimal required minor version.
minorVersion() - Method in interface pcap.spi.Pcap
Get minor version number of a savefile.

N

name() - Method in interface pcap.spi.Interface
Interface name.
name() - Method in interface pcap.spi.PacketBuffer.Charset
Get charset name.
name() - Method in interface pcap.spi.Service
Get unique service name.
NANO - Enum constant in enum pcap.spi.Timeout.Precision
Use timeout with nanosecond precision.
NANO - Enum constant in enum pcap.spi.Timestamp.Precision
Use timestamps with nanosecond precision.
NATIVE - Static variable in enum pcap.spi.PacketBuffer.ByteOrder
Get native byte order.
netmask() - Method in interface pcap.spi.Address
Netmask for interface address (Address.address()).
next() - Method in interface pcap.spi.Address
Next available address.
next() - Method in interface pcap.spi.Interface
Next available interface.
next(PacketHeader) - Method in interface pcap.spi.Pcap
Read the next packet (by calling Pcap.dispatch(int, PacketHandler, Object)) with a cnt of 1) and returns a PacketBuffer.
nextEx(PacketHeader, PacketBuffer) - Method in interface pcap.spi.Pcap
Reads the next packet and returns a success/failure indication.
NoSuchDeviceException - Exception in pcap.spi.exception.error
No such device exists (-5).
NoSuchDeviceException(String) - Constructor for exception pcap.spi.exception.error.NoSuchDeviceException
Create new NoSuchDeviceException instance.
NoSuchSelectableException - Exception in pcap.spi.exception
No such Selectable registered on Selector.
NoSuchSelectableException(String) - Constructor for exception pcap.spi.exception.NoSuchSelectableException
Create new NoSuchSelectableException instance.
NotActivatedException - Exception in pcap.spi.exception.error
The capture needs to be activated (-3).
NotActivatedException(String) - Constructor for exception pcap.spi.exception.error.NotActivatedException
Create new NotActivatedException instance.
NotRadioFrequencyMonitorModeException - Exception in pcap.spi.exception.error
Operation supported only in monitor mode (-7).
NotRadioFrequencyMonitorModeException(String) - Constructor for exception pcap.spi.exception.error.NotRadioFrequencyMonitorModeException
Create new NotRadioFrequencyMonitorModeException instance.

O

offline(String, Service.OfflineOptions) - Method in interface pcap.spi.Service
Open offline handle.
OPERATION_READ - Static variable in interface pcap.spi.Selection
Operation-set bit for read operations.
OPERATION_WRITE - Static variable in interface pcap.spi.Selection
Operation-set bit for write operations.

P

Packet - Interface in pcap.spi
Packet.Abstract - Class in pcap.spi
Abstract packet.
PacketBuffer - Interface in pcap.spi
Used to wrap low-level memory address.
PacketBuffer.ByteOrder - Enum in pcap.spi
Byte order.
PacketBuffer.Charset - Interface in pcap.spi
Charset.
PacketBuffer.Sliced - Interface in pcap.spi
Indicate the buffer is sliced.
PacketFilter - Interface in pcap.spi
Packet filter.
PacketHandler<T> - Interface in pcap.spi
PacketHeader - Interface in pcap.spi
Generic per-packet information.
patch() - Element in annotation type pcap.spi.annotation.Version
Get minimal required patch version.
Pcap - Interface in pcap.spi
A handle for pcap instance.
PCAP_D_IN - Enum constant in enum pcap.spi.Pcap.Direction
Incoming packet's.
PCAP_D_INOUT - Enum constant in enum pcap.spi.Pcap.Direction
Incoming and Outgoing packet's.
PCAP_D_OUT - Enum constant in enum pcap.spi.Pcap.Direction
Outgoing packet's.
PCAP_IF_CONNECTION_STATUS - Static variable in interface pcap.spi.Interface
Connection status.
PCAP_IF_CONNECTION_STATUS_CONNECTED - Static variable in interface pcap.spi.Interface
Connected.
PCAP_IF_CONNECTION_STATUS_DISCONNECTED - Static variable in interface pcap.spi.Interface
Disconnected.
PCAP_IF_CONNECTION_STATUS_NOT_APPLICABLE - Static variable in interface pcap.spi.Interface
Not applicable.
PCAP_IF_CONNECTION_STATUS_UNKNOWN - Static variable in interface pcap.spi.Interface
Unknown.
PCAP_IF_LOOPBACK - Static variable in interface pcap.spi.Interface
Interface is loopback.
PCAP_IF_RUNNING - Static variable in interface pcap.spi.Interface
Interface is running.
PCAP_IF_UP - Static variable in interface pcap.spi.Interface
Interface is up.
PCAP_IF_WIRELESS - Static variable in interface pcap.spi.Interface
Interface is wireless (*NOT* necessarily Wi-Fi!).
Pcap.Direction - Enum in pcap.spi
Used to specify a direction that packets will be captured.
pcap.spi - package pcap.spi
 
pcap.spi.annotation - package pcap.spi.annotation
 
pcap.spi.exception - package pcap.spi.exception
 
pcap.spi.exception.error - package pcap.spi.exception.error
 
pcap.spi.exception.warn - package pcap.spi.exception.warn
 
pcap.spi.option - package pcap.spi.option
 
pcap.spi.util - package pcap.spi.util
 
PermissionDeniedException - Exception in pcap.spi.exception.error
No permission to open the device (-8).
PermissionDeniedException(String) - Constructor for exception pcap.spi.exception.error.PermissionDeniedException
Create new PermissionDeniedException instance.
position() - Method in interface pcap.spi.Dumper
savefile position.
promiscuous(boolean) - Method in class pcap.spi.option.DefaultLiveOptions
On broadcast LANs such as Ethernet, if the network isn't switched, or if the adapter is connected to a "mirror port" on a switch to which all packets passing through the switch are sent, a network adapter receives all packets on the LAN, including unicast or multicast packets not sent to a network address that the network adapter isn't configured to recognize.
promiscuous(boolean) - Method in interface pcap.spi.Service.LiveOptions
On broadcast LANs such as Ethernet, if the network isn't switched, or if the adapter is connected to a "mirror port" on a switch to which all packets passing through the switch are sent, a network adapter receives all packets on the LAN, including unicast or multicast packets not sent to a network address that the network adapter isn't configured to recognize.
PromiscuousModeNotSupported - Exception in pcap.spi.exception.warn
This device doesn't support promiscuous mode (2).
PromiscuousModeNotSupported(String) - Constructor for exception pcap.spi.exception.warn.PromiscuousModeNotSupported
Create new PromiscuousModeNotSupported instance.
PromiscuousModePermissionDeniedException - Exception in pcap.spi.exception.error
You don't have permission to capture in promiscuous mode (-11).
PromiscuousModePermissionDeniedException(String) - Constructor for exception pcap.spi.exception.error.PromiscuousModePermissionDeniedException
Create new PromiscuousModePermissionDeniedException instance.

R

RadioFrequencyModeNotSupportedException - Exception in pcap.spi.exception.error
This device doesn't support rfmon (monitor) mode (-6).
RadioFrequencyModeNotSupportedException(String) - Constructor for exception pcap.spi.exception.error.RadioFrequencyModeNotSupportedException
Create new RadioFrequencyModeNotSupportedException instance.
readableBytes() - Method in interface pcap.spi.PacketBuffer
Get readable bytes from a buffer.
readBoolean() - Method in interface pcap.spi.PacketBuffer
Gets a boolean at the current readerIndex and increases the readerIndex by 1 in this buffer.
readByte() - Method in interface pcap.spi.PacketBuffer
Gets a byte at the current readerIndex and increases the readerIndex by 1 in this buffer.
readBytes(byte[]) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= dst.length).
readBytes(byte[], long, long) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readBytes(PacketBuffer) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex until the destination becomes non-writable, and increases the readerIndex by the number of the transferred bytes.
readBytes(PacketBuffer, long) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readBytes(PacketBuffer, long, long) - Method in interface pcap.spi.PacketBuffer
Transfers this buffer's data to the specified destination starting at the current readerIndex and increases the readerIndex by the number of the transferred bytes (= length).
readCharSequence(long, PacketBuffer.Charset) - Method in interface pcap.spi.PacketBuffer
Gets a CharSequence with the given length at the current readerIndex and increases the readerIndex by the given length.
readDouble() - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit floating point number at the current readerIndex and increases the readerIndex by 8 in this buffer.
readDoubleRE() - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit floating point number at the current readerIndex in Reserved Native Endian Byte Order and increases the readerIndex by 8 in this buffer.
readerIndex() - Method in interface pcap.spi.PacketBuffer
Get reader buffer index.
readerIndex(long) - Method in interface pcap.spi.PacketBuffer
Sets the readerIndex of this buffer.
readFloat() - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit floating point number at the current readerIndex and increases the readerIndex by 4 in this buffer.
readFloatRE() - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit floating point number at the current readerIndex in Reserved Native Endian Byte Order and increases the readerIndex by 4 in this buffer.
readInt() - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readIntRE() - Method in interface pcap.spi.PacketBuffer
Gets a 32-bit integer at the current readerIndex in the Reserved Native Endian Byte Order and increases the readerIndex by 4 in this buffer.
readLong() - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit integer at the current readerIndex and increases the readerIndex by 8 in this buffer.
readLongRE() - Method in interface pcap.spi.PacketBuffer
Gets a 64-bit integer at the current readerIndex in the Reserved Native Endian Byte Order and increases the readerIndex by 8 in this buffer.
readShort() - Method in interface pcap.spi.PacketBuffer
Gets a 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readShortRE() - Method in interface pcap.spi.PacketBuffer
Gets a 16-bit short integer at the current readerIndex in the Reserved Native Endian Byte Order and increases the readerIndex by 2 in this buffer.
readUnsignedByte() - Method in interface pcap.spi.PacketBuffer
Gets an unsigned byte at the current readerIndex and increases the readerIndex by 1 in this buffer.
readUnsignedInt() - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 32-bit integer at the current readerIndex and increases the readerIndex by 4 in this buffer.
readUnsignedIntRE() - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 32-bit integer at the current readerIndex in the Reserved Native Endian Byte Order and increases the readerIndex by 4 in this buffer.
readUnsignedShort() - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 16-bit short integer at the current readerIndex and increases the readerIndex by 2 in this buffer.
readUnsignedShortRE() - Method in interface pcap.spi.PacketBuffer
Gets an unsigned 16-bit short integer at the current readerIndex in the Reserved Native Endian Byte Order and increases the readerIndex by 2 in this buffer.
readyOperations() - Method in interface pcap.spi.Selection
Get ready I/O operations.
received() - Method in interface pcap.spi.Statistics
Number of packets received.
register(Selectable) - Method in interface pcap.spi.Selector
Register given Selectable object to this Selector.
register(Selector, int, Object) - Method in interface pcap.spi.Selectable
Register Selectable to given Selector.
release() - Method in interface pcap.spi.PacketBuffer
Release this PacketBuffer buffer
resetReaderIndex() - Method in interface pcap.spi.PacketBuffer
Repositions the current readerIndex to the marked readerIndex in this buffer.
resetWriterIndex() - Method in interface pcap.spi.PacketBuffer
Repositions the current writerIndex to the marked writerIndex in this buffer.
Restricted - Annotation Type in pcap.spi.annotation
Restricted function.
rfmon(boolean) - Method in class pcap.spi.option.DefaultLiveOptions
On IEEE 802.11 wireless LANs, even if an adapter is in promiscuous mode, it will supply to the host only frames for the network with which it's associated.
rfmon(boolean) - Method in interface pcap.spi.Service.LiveOptions
On IEEE 802.11 wireless LANs, even if an adapter is in promiscuous mode, it will supply to the host only frames for the network with which it's associated.

S

second() - Method in interface pcap.spi.Timeout
Get second.
second() - Method in interface pcap.spi.Timestamp
This represents the number of whole seconds of elapsed time.
second() - Method in class pcap.spi.util.DefaultTimeout
 
select(Timeout) - Method in interface pcap.spi.Selector
Selects a set of registered objects whose corresponding Selectable are ready for I/O operations.
select(Consumer<Selection>, Timeout) - Method in interface pcap.spi.Selector
Selects a set of registered objects whose corresponding Selectable are ready for I/O operations.
selectable() - Method in interface pcap.spi.Selection
Get Selection object for this Selection.
Selectable - Interface in pcap.spi
Object that can be multiplexed via a Selector.
Selection - Interface in pcap.spi
Selection key.
selector() - Method in interface pcap.spi.Selection
Get selector for this Selection.
selector() - Method in interface pcap.spi.Service
Opens a new Selector.
Selector - Interface in pcap.spi
A multiplexor of Selectable objects.
sendPacket(PacketBuffer) - Method in interface pcap.spi.Pcap
Send a raw packet through the network interface.
Service - Interface in pcap.spi
Pcap service.
Service.Creator - Class in pcap.spi
A creator class for creating Service instance by ServiceLoader.
Service.LiveOptions - Interface in pcap.spi
Options for opening live capture handle by Service.live(Interface, LiveOptions).
Service.OfflineOptions - Interface in pcap.spi
Options for opening savefile by Service.offline(String, OfflineOptions).
setBoolean(long, boolean) - Method in interface pcap.spi.PacketBuffer
Sets the specified boolean at the specified absolute index in this buffer.
setByte(long, int) - Method in interface pcap.spi.PacketBuffer
Sets the specified byte at the specified absolute index in this buffer.
setBytes(long, byte[]) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source array's data to this buffer starting at the specified absolute index.
setBytes(long, byte[], long, long) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source array's data to this buffer starting at the specified absolute index.
setBytes(long, PacketBuffer) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index until the source buffer becomes unreadable.
setBytes(long, PacketBuffer, long) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
setBytes(long, PacketBuffer, long, long) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source buffer's data to this buffer starting at the specified absolute index.
setCharSequence(long, CharSequence, PacketBuffer.Charset) - Method in interface pcap.spi.PacketBuffer
Writes the specified CharSequence at the current writerIndex and increases the writerIndex by the written bytes.
setDirection(Pcap.Direction) - Method in interface pcap.spi.Pcap
Used to specify a direction that packets will be captured.
setDouble(long, double) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit floating-point number at the specified absolute index in this buffer.
setDoubleRE(long, double) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit floating-point number at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
setFilter(String, boolean) - Method in interface pcap.spi.Pcap
BPF packet filter.
setFilter(PacketFilter) - Method in interface pcap.spi.Pcap
BPF packet filter.
setFloat(long, float) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit floating-point number at the specified absolute index in this buffer.
setFloatRE(long, float) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit floating-point number at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
setIndex(long, long) - Method in interface pcap.spi.PacketBuffer
Combination of writerIndex(...) and readerIndex(...).
setInt(long, int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit integer at the specified absolute index in this buffer.
setIntRE(long, int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit integer at the specified absolute index in this buffer with Reserved Native Endian byte order .
setLong(long, long) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit long integer at the specified absolute index in this buffer.
setLongRE(long, long) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit long integer at the specified absolute index in this buffer in Reserved Native Endian Byte Order.
setNonBlock(boolean) - Method in interface pcap.spi.Pcap
Puts a this capture handle into non-blocking mode, or takes it out of non-blocking mode, depending on whether the blocking argument is true or false.
setShort(long, int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 16-bit short integer at the specified absolute index in this buffer.
setShortRE(long, int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 16-bit short integer at the specified absolute index in this buffer with the Reserved Native Endian Byte Order.
size() - Method in class pcap.spi.Packet.Abstract
Get packet size.
skipBytes(long) - Method in interface pcap.spi.PacketBuffer
Increases the current readerIndex by the specified length in this buffer.
slice() - Method in interface pcap.spi.PacketBuffer
Returns a slice of this buffer's readable bytes.
slice(long, long) - Method in interface pcap.spi.PacketBuffer
Returns a slice of this buffer's sub-region.
snapshot() - Method in interface pcap.spi.Pcap
Get snapshot length.
snapshotLength() - Method in class pcap.spi.option.DefaultLiveOptions
Get snapshot length.
snapshotLength() - Method in interface pcap.spi.Service.LiveOptions
Get snapshot length.
snapshotLength(int) - Method in class pcap.spi.option.DefaultLiveOptions
If, when capturing, you capture the entire contents of the packet, that requires more CPU time to copy the packet to your application, more disk and possibly network bandwidth to write the packet data to a file, and more disk space to save the packet.
snapshotLength(int) - Method in interface pcap.spi.Service.LiveOptions
If, when capturing, you capture the entire contents of the packet, that requires more CPU time to copy the packet to your application, more disk and possibly network bandwidth to write the packet data to a file, and more disk space to save the packet.
Statistics - Interface in pcap.spi
As returned by the Pcap.stats().
stats() - Method in interface pcap.spi.Pcap
Represent packet statistics from the start of the run to the time of the call.
superBuffer - Variable in class pcap.spi.Packet.Abstract
 
superLength - Variable in class pcap.spi.Packet.Abstract
 
superOffset - Variable in class pcap.spi.Packet.Abstract
 

T

timeout() - Element in annotation type pcap.spi.annotation.Async
Get timeout in millisecond.
timeout() - Method in class pcap.spi.option.DefaultLiveOptions
Get read timeout options in millisecond.
timeout() - Method in interface pcap.spi.Service.LiveOptions
Get read timeout options in millisecond.
timeout(int) - Method in class pcap.spi.option.DefaultLiveOptions
If, when capturing, packets are delivered as soon as they arrive, the application capturing the packets will be woken up for each packet as it arrives, and might have to make one or more calls to the operating system to fetch each packet.
timeout(int) - Method in interface pcap.spi.Service.LiveOptions
If, when capturing, packets are delivered as soon as they arrive, the application capturing the packets will be woken up for each packet as it arrives, and might have to make one or more calls to the operating system to fetch each packet.
Timeout - Interface in pcap.spi
Timeout.
Timeout.Precision - Enum in pcap.spi
Timeout precision.
TimeoutException - Exception in pcap.spi.exception
Timeout occurred while reading packet's.
TimeoutException(String) - Constructor for exception pcap.spi.exception.TimeoutException
Create new TimeoutException instance.
timestamp() - Method in interface pcap.spi.PacketHeader
Timestamp per-packet.
Timestamp - Interface in pcap.spi
Specify a time interval (elapsed time).
Timestamp.Precision - Enum in pcap.spi
Time stamp resolution types.
Timestamp.Type - Enum in pcap.spi
Timestamp type.
timestampPrecision() - Method in class pcap.spi.option.DefaultLiveOptions
Get timestamp precision options.
timestampPrecision() - Method in class pcap.spi.option.DefaultOfflineOptions
Get timestamp precision options.
timestampPrecision() - Method in interface pcap.spi.Service.LiveOptions
Get timestamp precision options.
timestampPrecision() - Method in interface pcap.spi.Service.OfflineOptions
Get timestamp precision options.
timestampPrecision(Timestamp.Precision) - Method in class pcap.spi.option.DefaultLiveOptions
Set timestamp precision options.
timestampPrecision(Timestamp.Precision) - Method in class pcap.spi.option.DefaultOfflineOptions
Set timestamp precicion options.
timestampPrecision(Timestamp.Precision) - Method in interface pcap.spi.Service.LiveOptions
Set timestamp precision options.
timestampPrecision(Timestamp.Precision) - Method in interface pcap.spi.Service.OfflineOptions
Set timestamp precicion options.
TimestampPrecisionNotSupportedException - Exception in pcap.spi.exception.error
The requested time stamp precision is not supported (-12).
TimestampPrecisionNotSupportedException(String) - Constructor for exception pcap.spi.exception.error.TimestampPrecisionNotSupportedException
Create new TimestampPrecisionNotSupportedException instance.
timestampType() - Method in class pcap.spi.option.DefaultLiveOptions
Get timestamp type options.
timestampType() - Method in interface pcap.spi.Service.LiveOptions
Get timestamp type options.
timestampType(Timestamp.Type) - Method in class pcap.spi.option.DefaultLiveOptions
On some platforms, the time stamp given to packets on live captures can come from different sources that can have different resolutions or that can have different relationships to the time values for the current time supplied by routines on the native operating system.
timestampType(Timestamp.Type) - Method in interface pcap.spi.Service.LiveOptions
On some platforms, the time stamp given to packets on live captures can come from different sources that can have different resolutions or that can have different relationships to the time values for the current time supplied by routines on the native operating system.
TimestampTypeNotSupportedException - Exception in pcap.spi.exception.warn
The requested time stamp type is not supported (3).
TimestampTypeNotSupportedException(String) - Constructor for exception pcap.spi.exception.warn.TimestampTypeNotSupportedException
Create new TimestampTypeNotSupportedException instance.
toString() - Method in class pcap.spi.util.DefaultTimeout
 

U

unSlice() - Method in interface pcap.spi.PacketBuffer.Sliced
Unslice buffer.

V

value() - Method in enum pcap.spi.Timeout.Precision
Get precision ID.
value() - Method in enum pcap.spi.Timestamp.Precision
Value will be pass to native code.
value() - Method in enum pcap.spi.Timestamp.Type
Value will be pass to native code.
valueOf(String) - Static method in enum pcap.spi.PacketBuffer.ByteOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pcap.spi.Pcap.Direction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pcap.spi.Timeout.Precision
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pcap.spi.Timestamp.Precision
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum pcap.spi.Timestamp.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum pcap.spi.PacketBuffer.ByteOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pcap.spi.Pcap.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pcap.spi.Timeout.Precision
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pcap.spi.Timestamp.Precision
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum pcap.spi.Timestamp.Type
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in interface pcap.spi.Service
Get native pcap library version.
Version - Annotation Type in pcap.spi.annotation
Required minimal native pcap library version for specific functions.

W

WarningException - Exception in pcap.spi.exception
Warning codes for the pcap API.
WarningException(String) - Constructor for exception pcap.spi.exception.WarningException
Create new WarningException instance.
writableBytes() - Method in interface pcap.spi.PacketBuffer
Get readable bytes from a buffer.
writeBoolean(boolean) - Method in interface pcap.spi.PacketBuffer
Sets the specified boolean at the current writerIndex and increases the writerIndex by 1 in this buffer.
writeByte(int) - Method in interface pcap.spi.PacketBuffer
Sets the specified byte at the current writerIndex and increases the writerIndex by 1 in this buffer.
writeBytes(byte[]) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source array's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= src.length).
writeBytes(byte[], long, long) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source array's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeBytes(PacketBuffer) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source buffer's data to this buffer starting at the current writerIndex until the source buffer becomes unreadable, and increases the writerIndex by the number of the transferred bytes.
writeBytes(PacketBuffer, long) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source buffer's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeBytes(PacketBuffer, long, long) - Method in interface pcap.spi.PacketBuffer
Transfers the specified source buffer's data to this buffer starting at the current writerIndex and increases the writerIndex by the number of the transferred bytes (= length).
writeCharSequence(CharSequence, PacketBuffer.Charset) - Method in interface pcap.spi.PacketBuffer
Writes the specified CharSequence at the current writerIndex and increases the writerIndex by the written bytes.
writeDouble(double) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit floating point number at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeDoubleRE(double) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit floating point number at the current writerIndex in Reserved Native Endian Byte Order and increases the writerIndex by 8 in this buffer.
writeFloat(float) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit floating point number at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeFloatRE(float) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit floating point number at the current writerIndex in Reserved Native Endian Byte Order and increases the writerIndex by 4 in this buffer.
writeInt(int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit integer at the current writerIndex and increases the writerIndex by 4 in this buffer.
writeIntRE(int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 32-bit integer at the current writerIndex in the Reserved Native Endian Byte Order and increases the writerIndex by 4 in this buffer.
writeLong(long) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit long integer at the current writerIndex and increases the writerIndex by 8 in this buffer.
writeLongRE(long) - Method in interface pcap.spi.PacketBuffer
Sets the specified 64-bit long integer at the current writerIndex in the Reserved Native Endian Byte Order and increases the writerIndex by 8 in this buffer.
writerIndex() - Method in interface pcap.spi.PacketBuffer
Get writer buffer index.
writerIndex(long) - Method in interface pcap.spi.PacketBuffer
Sets the writerIndex of this buffer.
writeShort(int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 16-bit short integer at the current writerIndex and increases the writerIndex by 2 in this buffer.
writeShortRE(int) - Method in interface pcap.spi.PacketBuffer
Sets the specified 16-bit short integer in the Reserved Native Endian Byte Order at the current writerIndex and increases the writerIndex by 2 in this buffer.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form