Function ndpi_add_host_risk_mask
Defined in File ndpi_api.h
Function Documentation
-
int ndpi_add_host_risk_mask(struct ndpi_detection_module_struct *ndpi_mod, char *host, ndpi_risk mask)
Add a host-address based risk mask
- ndpi_mod = the detection module
- host = the hostname/domain for which you wanna set the mask
- mask = the host risk mask
- Returns:
0 if the rule is loaded correctly; -1 else