NF_STATUS nf_ipPostReceive( const char * buf, int len, PNF_IP_PACKET_OPTIONS options)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
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.
Driver type | WFP |
Header | nfapi.h |
Library | nfapi.lib |