NF_STATUS nf_init(const char * driverName, NF_EventHandler * pHandler)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
By default the driver uses NFEXT_BYPASS filtering flag and doesn't filter the transmitted data. To filter the transmitted packets add the filtering rules with necessary flags using the function nf_setRules.