示例#1
0
文件: pcapReader.c 项目: Gejove/nDPI
static void terminateDetection(void)
{
  int i;

  for(i=0; i<NUM_ROOTS; i++) {
    ndpi_tdestroy(ndpi_flows_root[i], ndpi_flow_freer);
    ndpi_flows_root[i] = NULL;
  }

  ndpi_exit_detection_module(ndpi_struct, free_wrapper);
}
示例#2
0
static void terminateDetection(void)
{
  ndpi_tdestroy(ndpi_flows_root, ndpi_flow_freer);
  ndpi_flows_root = NULL;
  ndpi_exit_detection_module(ndpi_struct, free_wrapper);
}