- All Known Subinterfaces:
PcapDispatcher,PcapHandler.NativeCallback,PcapHandler.OfArray<U>,PcapHandler.OfByteBuffer<U>,PcapHandler.OfMemorySegment<U>
- All Known Implementing Classes:
StandardPcapDispatcher
public interface PcapHandler
A marker interface for all Pcap packet handling functional interfaces.
- Author:
- Sly Technologies, repos@slytechs.com
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA native pcap callback which is called with packets captured using thePcap.loop(int, org.jnetpcap.PcapDumper)orPcap.dispatch(int, org.jnetpcap.PcapDumper)calls.static interfaceA safe packet handler which receives copies of packets in a byte array.static interfaceA safeByteBufferpacket handler.static interfaceAn advanced low level, no copy, packet handler.