Function pfwl_statistic_add

Function Documentation

uint8_t pfwl_statistic_add(pfwl_state_t *state, pfwl_statistic_t stat)

pfwl_statistic_add Enables the computation of a specific flow statistic.

Return

0 if succeeded, 1 otherwise.

Parameters
  • state: A pointer to the state of the library.

  • stat: The statistic to be enabled.