nf_tcpDisableFiltering

Disables indicating TCP packets to user mode for the specified endpoint.
NF_STATUS nf_tcpDisableFiltering(ENDPOINT_ID id)

Parameters

id
Connection identifier

Return Values

NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.

Remarks

This function allows to improve the performance, in case if the filtering application is not interested in packets transmitted via some filtered connection (with NF_FILTER flag assigned). The driver stops indicating new packets to filtering application.

Requirements

Driver type WFP, TDI
Header nfapi.h
Library nfapi.lib