Uses of Class
org.jnetpcap.BpFilter
Package
Description
The Packet Capture library provides a high level interface to packet capture
systems.
-
Uses of BpFilter in org.jnetpcap
Modifier and TypeMethodDescriptionCompile a filter expression without a netmask.Compile a filter expression with netmask.final BpFilter
Compile.static BpFilter
Pcap.compileNoPcap
(int snaplen, PcapDlt pcapDlt, String str, boolean optimize, int netmask) Deprecated.static BpFilter
Pcap0_5.compileNoPcap
(int snaplen, PcapDlt pcapDlt, String str, boolean optimize, int netmask) Compile a filter expression against a dead handle opened usingopenDead
.Modifier and TypeMethodDescriptionstatic void
Deallocates a native BPF program.static boolean
Pcap.offlineFilter
(BpFilter bpFilter, MemorySegment pktHdr, MemorySegment pktData) Check whether a filter matches a packet.static boolean
Pcap1_0.offlineFilter
(BpFilter bpFilter, MemorySegment pktHdr, MemorySegment pktData) Check whether a filter matches a packet.set the filter.final Pcap0_4
Sets the filter.