nf_udpDisableFiltering

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

Parameters

id
Socket 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 socket. The result is similar to changing the filtering flag to NF_ALLOW for the socket activity, i.e. the packets are transmitted without delays.

Requirements

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