Packet Sniffer SDK DLL Edition
Structures :: HN_BPF_PROGRAMM | | Previous Next |
HN_BPF_PROGRAMM structure is intended for BPF program creation and is used in the
HNUserFilter component.
Syntax:
C/C++
typedef struct _HN_BPF_PROGRAMM
{
DWORD CommandCount;
HN_BPF_INSTRUCTION Instructions[1];
}HN_BPF_PROGRAMM, *PHN_BPF_PROGRAMM;Delphi
HN_BPF_PROGRAMM = record
CommandCount : DWORD;
Instructions : array [0..1000] of HN_BPF_INSTRUCTION;
end;
PHN_BPF_PROGRAMM = ^HN_BPF_PROGRAMM;
Elements:
CommandCount
The total number of instructions in the BPF program.
Instructions
Instructions array.