Function ndpi_protocol2name¶
- Defined in File ndpi_api.h
Function Documentation¶
-
char *
ndpi_protocol2name
(struct ndpi_detection_module_struct *ndpi_mod, ndpi_protocol proto, char *buf, u_int buf_len)¶ Write the protocol name in the buffer -buf- as master_protocol.protocol
- ndpi_mod = the detection module
- proto = the struct ndpi_protocol contain the protocols name
- buf = the buffer to write the name of the protocols
- buf_len = the length of the buffer
- Return
- the buffer contains the master_protocol and protocol name