Function pfwl_set_protocol_accuracy_L7¶
Defined in File peafowl.h
Function Documentation¶
-
uint8_t
pfwl_set_protocol_accuracy_L7(pfwl_state_t *state, pfwl_protocol_l7_t protocol, pfwl_dissector_accuracy_t accuracy)¶ Some L7 protocols dissectors (e.g. SIP) can be applied with a different level of accuracy (and of performance). By using this call the user can decide if running the dissector in its most accurate version (at the cost of a higher processing latency).
- Return
0 if succeeded, 1 otherwise.
- Parameters
state: A pointer to the state of the library.protocol: The L7 protocol for which we want to change the accuracy.accuracy: The accuracy level.