Add the specified binding rule to driver.
NF_STATUS nf_addBindingRule(PNF_BINDING_RULE pRule, int toHead)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
The driver scans the list of rules from the beginning and uses the filtering flag of a first matching rule. The new rules are added to the list head or tail, depending on toHead parameter.
Binding rules are supported only by WFP driver.Driver type | WFP |
Header | nfapi.h |
Library | nfapi.lib |