Function pfwl_guess_protocol

Function Documentation

pfwl_protocol_l7_t pfwl_guess_protocol(pfwl_dissection_info_t identification_info)

Guesses the protocol looking only at source/destination ports. This could be erroneous because sometimes protocols run over ports which are not their well-known ports.

Return

Returns the possible matching protocol.

Parameters
  • identification_info: Info about the identification done up to now (up to L4 parsing).