Function ndpi_is_master_only_protocol¶
- Defined in File ndpi_api.h
Function Documentation¶
-
bool
ndpi_is_master_only_protocol
(struct ndpi_detection_module_struct *ndpi_str, u_int16_t proto_id)¶ Checks if the specified protocol identifier can be placed only on the master_protocol field of ndpi_master_app_protocol
- Return
- true if proto_id cannot be used s app_protocol but only on master_protocol, false is it can be used on both fields
- Parameters
ndpi_str
: nDPI detection moduleproto_id
: nDPI protocol identifier