nf_ipPostReceive

Indicates a packet to TCP/IP stack.
NF_STATUS nf_ipPostReceive(
	const char * buf, 
	int len, 
	PNF_IP_PACKET_OPTIONS options)

Parameters

buf
Pointer to data buffer
len
Buffer length
options
Pointer to NF_IP_PACKET_OPTIONS structure

Return Values

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

Remarks

It is necessary to specify values for all fields in NF_IP_PACKET_OPTIONS structure. When NFIF_READONLY is enabled in flags, the packet is ignored.

IP filtering is supported only with WFP driver.

Requirements

Driver type WFP
Header nfapi.h
Library nfapi.lib