Package pcap.api.internal
Class UnixPcap
java.lang.Object
pcap.api.internal.Pcap
pcap.api.internal.UnixPcap
- All Implemented Interfaces:
java.lang.AutoCloseable,Pcap,Pcap.UnixPcap
public class UnixPcap extends Pcap implements Pcap.UnixPcap
Unix
Pcap handle.- Author:
- Ardika Rommy Sanjaya
-
Nested Class Summary
Nested classes/interfaces inherited from interface pcap.spi.Pcap
Pcap.Direction, Pcap.UnixPcap, Pcap.WinPcap -
Constructor Summary
Constructors Constructor Description UnixPcap(java.foreign.memory.Pointer<pcap_header.pcap> pcap)UnixPcap(java.foreign.memory.Pointer<pcap_header.pcap> pcap, int netmask) -
Method Summary
Modifier and Type Method Description TimestamprequiredSelectTimeout()intselectableFd()Methods inherited from class pcap.api.internal.Pcap
allocate, breakLoop, close, dispatch, dumpOpen, dumpOpenAppend, getNonBlock, isSwapped, loop, majorVersion, minorVersion, nextEx, send, send, send, setDirection, setFilter, setNonBlock, status
-
Constructor Details
-
Method Details
-
selectableFd
public int selectableFd()- Specified by:
selectableFdin interfacePcap.UnixPcap
-
requiredSelectTimeout
- Specified by:
requiredSelectTimeoutin interfacePcap.UnixPcap
-