Packet Sniffer SDK DLL Edition

HNUserFilter :: Methods

 Previous Next

Please see HNUserFilter functions short descriptions below:

BpfAddCmd

Adds an instruction to the user-settable packet filtering program.

BpfAddJmp

Adds JMP instruction to the user-settable packet filtering program.

BpfCheckFilter

Checks the BPF program code accuracy.

BpfCheckPacket

Checks the packet by the user-settable packet filtering program.

BpfClear

Clears the user-settable packet filtering program.

BpfCompileBPFAsmFromFile

Compiles the BPF filtering program written in BPF assembler from a specified file.

BpfCompileBPFAsmFromStr.htm

Compiles the BPF filtering program written in BPF assembler from a string.

BpfCompileBPFDefinesFromFile

Compiles constants definitions from a file.

BpfCompileBPFDefinesFromStr

Compiles constants definitions from an ASCIIZ string.

BpfCompileToFastBPF

Compiles BPF filter in a 32/64-bit optimized CPU code.

BpfCreate

Creates HNUserFilter object.

BpfDecompileBPFAsmToFile

Decompiles BPF program into BPF assembler source and saves it in a file.

BpfDecompileBPFAsmToStr

Decompiles BPF program into BPF assembler source and saves it in the memory allocated by application.

BpfDestroy

Destroys HNUserFilter object.

BpfLoadFromFile

Loads the BPF program from the file.

BpfLoadFromMemory

Loads the BPF program from the memory block.

BpfSaveToFile

Saves the BPF program to the file.

BpfSaveToMemory

Saves the BPF program to memory.