nf_completeTCPConnectRequest
Complete TCP connect request pended using flag NF_PEND_CONNECT_REQUEST in tcpConnectRequest event.
NF_STATUS nf_completeTCPConnectRequest(ENDPOINT_ID id, PNF_TCP_CONN_INFO pConnInfo)
Parameters
- id
- Connection identifier
- pConnInfo
- Pointer to NF_TCP_CONN_INFO structure
Return Values
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
Remarks
The creation of TCP connections can be pended from tcpConnectRequest by specifying the flag NF_PEND_CONNECT_REQUEST in NF_TCP_CONN_INFO.filteringFlag.
In this case the creation of the connection must be continued later from any thread using nf_completeTCPConnectRequest.
If the flag NF_PEND_CONNECT_REQUEST is specified, nf_completeTCPConnectRequest cannot be called from tcpConnectRequest event.
Requirements
Driver type |
WFP, TDI
|
Header |
nfapi.h
|
Library |
nfapi.lib |