Function pfwl_get_L7_field_id

Function Documentation

pfwl_field_id_t pfwl_get_L7_field_id(pfwl_protocol_l7_t protocol, const char *field_name)

Returns the id associated to a protocol field name.

Return

The id associated to the protocol field with name ‘field_name’.

Parameters
  • protocol: The protocol.

  • field_name: The name of the field.