Function pfwl_set_timestamp_unit

Function Documentation

uint8_t pfwl_set_timestamp_unit(pfwl_state_t *state, pfwl_timestamp_unit_t unit)

Sets the unit of the timestamps used in the pfwl_dissect_* calls.

Return

0 if succeeded, 1 otherwise.

Parameters
  • state: The state of the library.

  • unit: The unit of the timestamps.