nf_unRegisterDriver

Unloads a driver with the specified name.
NF_STATUS nf_unRegisterDriver(const char * driverName)

Parameters

driverName
The name of kernel extension.

Return Values

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

Remarks

Unloading kernel extensions requires root rights.