Function ndpi_get_flow_masterprotocol

Function Documentation

u_int16_t ndpi_get_flow_masterprotocol(struct ndpi_flow_struct *flow)

Get the main protocol of the passed flows for the detected module

flow = the flow given for the detection module
Return
the ID of the master protocol detected