Packet Sniffer SDK DLL Edition
HNUserFilter :: Properties :: BpfGetUseFastBPF | | Previous Next |
Returns the status flag of FastBPF using.
Syntax:
BOOL __stdcall BpfGetUseFastBPF(HANDLE hFtr);
Parameters:
hFtr
Return values:
If the function succeeds the return value will be either TRUE or FALSE. The default value is FALSE.
Description:
Use BpfGetUseFastBPF to check FastBPF using.
UseFastBPF property is intended for using FastBPF technology in
user application by BpfCheckPacket function.
To use the FastBPF technology, please do the following:
- Create or load BPF program in the HNUserFilter component (see
BpfAddCmd,
BpfAddJmp,
BpfLoadFromFile,
BpfLoadFromMemory);
- Call BpfCompileToFastBPF function;
- Set UseFastBPF [Set] property to TRUE.