Packet Sniffer SDK VCL Edition

FastBPF

 Previous Next

Since version 2.1 Packet Sniffer SDK contains FastBPF - the technology of the fast BPF filtering developed in our company. FastBPF includes optimizing Just-In-Time BPF compiler as a part of the HNUserFilter object.

Now, when you set user-defined BPF filtering program by HNUserFilter object, HNUserFilter compiles BPF in a 32/64-bit optimized CPU code. Further traffic filtering is processed by this precompiled BPF program.

FastBPF works approximately 6 times faster than classic BPF filtering by BPF virtual machine.

To turn on FastBPF you should set UseFastUserFilter property of the HNAdapter object in TRUE.

See also:HNAdapter, HNUserFilter, UseFastUserFilter