nf_deleteRules

Remove all filtering rules.

NF_STATUS nf_deleteRules()

Return Values

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

Remarks

The rules are deleted automatically when nf_free is called. The filtering flags assigned to an active TCP connection persist even after removing the corresponding rules, until closing the connection or the process attached to driver.