Function ndpi_init_empty_app_protocol¶
- Defined in File ndpi_api.h
Function Documentation¶
-
int
ndpi_init_empty_app_protocol
(ndpi_protocol_match const *const hostname_list, ndpi_protocol_match *const empty_app_protocol)¶ Creates a protocol match that does not contain any hostnames.
- hostname_list = the desired hostname list form which the first entry is used to create the match
- empty_app_protocol = the resulting protocol match that does contain all information except the hostname
- Return
- 0 on success, 1 otherwise