Function set_ndpi_flow_malloc

Function Documentation

void set_ndpi_flow_malloc(void *(*__ndpi_flow_malloc)(size_t size))

Set a custom malloc function for nDPI’s flow-specific memory allocator.

Parameters:

__ndpi_flow_malloc – Function pointer to the custom flow malloc implementation