Function ndpi_protocol2id¶
- Defined in File ndpi_api.h
Function Documentation¶
-
char *
ndpi_protocol2id
(ndpi_protocol proto, char *buf, u_int buf_len)¶ Same as ndpi_protocol2name() with the difference that the numeric protocol name is returned
- 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