Function peafowl::getL7FieldId

Function Documentation

FieldId peafowl::getL7FieldId(ProtocolL7 protocol, std::string fieldName)

Returns the id associated to a protocol field name.

Return

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

Parameters
  • protocol: protocol The protocol.

  • fieldName: The name of the field.