Function pfwl_defragmentation_set_reassembly_timeout_ipv4

Function Documentation

uint8_t pfwl_defragmentation_set_reassembly_timeout_ipv4(pfwl_state_t *state, uint8_t timeout_seconds)

Sets the maximum time (in seconds) that can be spent to reassembly an IPv4 fragmented datagram. Is the maximum time gap between the first and last fragments of the datagram.

Return

0 if succeeded, 1 otherwise.

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

  • timeout_seconds: The reassembly timeout.