- pcapBreakLoop() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapBreakLoop() - Method in interface com.ardikars.jxnet.Context
-
Set a flag that will force PcapDispatch() or PcapLoop() to return rather than looping.
- pcapCanSetRfMon() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapCanSetRfMon() - Method in interface com.ardikars.jxnet.Context
-
Checks whether monitor mode could be set on a capture handle when the handle is activated.
- pcapClose() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapClose() - Method in interface com.ardikars.jxnet.Context
-
Close the files associated with pcap and deallocates resources.
- pcapCompile(String, BpfProgram.BpfCompileMode, int) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapCompile(String, BpfProgram.BpfCompileMode, int) - Method in interface com.ardikars.jxnet.Context
-
Compile a packet filter, converting an high level filtering expression
(see Filtering expression syntax) in a program that can be interpreted
by the kernel-level filtering engine.
- pcapCompileNoPcap(int, DataLinkType, String, BpfProgram.BpfCompileMode, Inet4Address) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapCompileNoPcap(int, DataLinkType, String, BpfProgram.BpfCompileMode, Inet4Address) - Method in interface com.ardikars.jxnet.Context
-
Compile a packet filter without the need of opening an adapter.
- pcapDataLink() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDataLink() - Method in interface com.ardikars.jxnet.Context
-
Return the link layer of an adapter on success.
- pcapDispatch(int, PcapHandler<T>, T) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDispatch(int, PcapHandler<T>, T, Executor) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDispatch(int, PcapHandler<T>, T) - Method in interface com.ardikars.jxnet.Context
-
Collect a group of packets.
- pcapDispatch(int, PcapHandler<T>, T, Executor) - Method in interface com.ardikars.jxnet.Context
-
Collect a group of packets.
- pcapDump(PcapPktHdr, ByteBuffer) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDump(PcapPktHdr, ByteBuffer) - Method in interface com.ardikars.jxnet.Context
-
Save a packet to disk.
- pcapDumpClose(PcapDumper) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDumpClose(PcapDumper) - Method in interface com.ardikars.jxnet.Context
-
Closes a savefile.
- pcapDumpFlush() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDumpFlush() - Method in interface com.ardikars.jxnet.Context
-
Flushes the output buffer to the savefile, so that any packets written
with PcapDump() but not yet written to the savefile will be written.
- pcapDumpFTell() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDumpFTell() - Method in interface com.ardikars.jxnet.Context
-
Return the file position for a savefile.
- pcapDumpOpen(String) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapDumpOpen(String) - Method in interface com.ardikars.jxnet.Context
-
Open a file to write packets.
- pcapFreeCode() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapFreeCode() - Method in interface com.ardikars.jxnet.Context
-
Free a filter.
- pcapGetErr() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapGetErr() - Method in interface com.ardikars.jxnet.Context
-
Return the error text pertaining to the last pcap library error.
- pcapGetNonBlock(StringBuilder) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapGetNonBlock(StringBuilder) - Method in interface com.ardikars.jxnet.Context
-
Get the "non-blocking" state of an interface.
- pcapGetTStampPrecision() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapGetTStampPrecision() - Method in interface com.ardikars.jxnet.Context
-
Get the timestamp precision returned in captures.
- pcapInject(ByteBuffer, int) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapInject(ByteBuffer, int) - Method in interface com.ardikars.jxnet.Context
-
Sends a raw packet through the network interface; buf points to the data of the packet,
including the link-layer header, and size is the number of bytes in the packet.
- pcapIsSwapped() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapIsSwapped() - Method in interface com.ardikars.jxnet.Context
-
Returns true (1) if the current savefile uses a different byte order than the current system.
- pcapListDataLinks(List<DataLinkType>) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapListDataLinks(List<DataLinkType>) - Method in interface com.ardikars.jxnet.Context
-
Get list of datalinks.
- pcapListTStampTypes(List<PcapTimestampType>) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapListTStampTypes(List<PcapTimestampType>) - Method in interface com.ardikars.jxnet.Context
-
Get link of time stamp types.
- pcapLoop(int, PcapHandler<T>, T) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapLoop(int, PcapHandler<T>, T, Executor) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapLoop(int, PcapHandler<T>, T) - Method in interface com.ardikars.jxnet.Context
-
Collect a group of packets.
- pcapLoop(int, PcapHandler<T>, T, Executor) - Method in interface com.ardikars.jxnet.Context
-
Collect a group of packets.
- pcapMajorVersion() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapMajorVersion() - Method in interface com.ardikars.jxnet.Context
-
Return the major version number of the pcap library used to write the savefile.
- pcapMinorVersion() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapMinorVersion() - Method in interface com.ardikars.jxnet.Context
-
Return the minor version number of the pcap library used to write the savefile.
- pcapNext(PcapPktHdr) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapNext(PcapPktHdr) - Method in interface com.ardikars.jxnet.Context
-
Return the next available packet.
- pcapNextEx(PcapPktHdr, ByteBuffer) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapNextEx(PcapPktHdr, ByteBuffer) - Method in interface com.ardikars.jxnet.Context
-
Read a packet from an interface or from an offline capture.
- pcapOfflineFilter(BpfProgram, PcapPktHdr, ByteBuffer) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapOfflineFilter(BpfProgram, PcapPktHdr, ByteBuffer) - Method in interface com.ardikars.jxnet.Context
-
Given a BPF program, a PcapPktHdr structure for a packet, and the raw
data for the packet, check whether the packet passes the filter.
- pcapPError(String) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapPError(String) - Method in interface com.ardikars.jxnet.Context
-
Print the text of the last pcap library error on stderr, prefixed by prefix.
- pcapSendPacket(ByteBuffer, int) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapSendPacket(ByteBuffer, int) - Method in interface com.ardikars.jxnet.Context
-
Send a raw packet.
- pcapSetDataLink(DataLinkType) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapSetDataLink(DataLinkType) - Method in interface com.ardikars.jxnet.Context
-
Set the current data link type of the pcap descriptor to the type
specified by dlt.
- pcapSetDirection(PcapDirection) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapSetDirection(PcapDirection) - Method in interface com.ardikars.jxnet.Context
-
used to specify a direction that packets will be
captured.
- pcapSetFilter() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapSetFilter() - Method in interface com.ardikars.jxnet.Context
-
Associate a filter to a capture.
- pcapSetNonBlock(boolean, StringBuilder) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapSetNonBlock(boolean, StringBuilder) - Method in interface com.ardikars.jxnet.Context
-
Switch between blocking and nonblocking mode.
- pcapSnapshot() - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapSnapshot() - Method in interface com.ardikars.jxnet.Context
-
Return the dimension of the packet portion (in bytes) that is delivered to the application.
- pcapStats(PcapStat) - Method in class com.ardikars.jxnet.ApplicationContext
-
- pcapStats(PcapStat) - Method in interface com.ardikars.jxnet.Context
-
Return statistics on current capture.