Packet Sniffer SDK DLL Edition
HNUserFilter :: Properties :: BpfGetProgrammSize | | Previous Next |
Returns the size of the user-settable packet filtering program in bytes.
Syntax:
DWORD __stdcall BpfGetProgrammSize(HANDLE hFtr);
Parameters:
hFtr
Return values:
If the function succeeds the return value will be the size of the user-settable packet filtering
program in bytes, otherwise it returns -1.
Description:
When you create the user-settable packet filtering program,
HNUserFilter object allocates memory for the
HN_BPF_PROGRAMM structure.
Use BpfGetProgrammSize to obtain the user-settable packet filtering program size.