Packet Sniffer SDK DLL Edition

HNAdapter :: Properties :: AdpSetUserFilterActive

 Previous Next

Sets the status flag of the user-settable packet filter using.

Syntax:

BOOL __stdcall AdpSetUserFilterActive(HANDLE hAdp, BOOL bActiveBpf);

Parameters:

hAdp

[in] HNAdapter object handle.

bActiveBpf

[in] The new value of the status flag of the user-settable packet filter using.

Return values:

If the function succeeds the return value will be the bActiveBpf parameter value.

Description:

Use UserFilterActive with UserFilter property to control the traffic filtering process. Please refer to the Packet Sniffer SDK packets processing diagram.

See also:HNAdapter, AdpGetUserFilter, AdpSetUserFilter