Function pfwl_field_mmap_tags_add_L7¶
Defined in File peafowl.h
Function Documentation¶
pfwl_field_map_tags_add Adds a tag matching rule for a specific field.
Adds a tag matching rule for a specific multimap field.
- Parameters
state: A pointer to the state of the library.field: The field identifier.key: The key of the multimap value. The comparison will always be case insensitive. I.e. if searching for ‘BarFoo’, ‘barfoo’ and ‘BaRfOo’ will match as well.value: The value of the multimap value. The comparison will always be case insensitive. I.e. if searching for ‘BarFoo’, ‘barfoo’ and ‘BaRfOo’ will match as well.matchingType: Can be ‘PREFIX’, ‘EXACT’ or ‘SUFFIX’.tag: The tag to assign to the packet when the field matches with ‘value’.