Function pfwl_defragmentation_set_per_host_memory_limit_ipv4

Function Documentation

uint8_t pfwl_defragmentation_set_per_host_memory_limit_ipv4(pfwl_state_t *state, uint32_t per_host_memory_limit)

Sets the amount of memory (in bytes) that a single host can use for IPv4 defragmentation.

Return

0 if succeeded, 1 otherwise.

Parameters
  • state: A pointer to the library state.

  • per_host_memory_limit: The maximum amount of memory that any IPv4 host can use.