// Placeholder for all the stuff to do when processing stops static int core_processing_stop() { if (*PTYPE_BOOL_GETVAL(core_param_offline_dns)) dns_cleanup(); // Free all the conntracks proto_finish(); return POM_OK; }
// Placeholder for all the stuff to do when processing stops static int core_processing_stop() { core_pause_processing(); if (*PTYPE_BOOL_GETVAL(core_param_offline_dns)) dns_core_cleanup(); // Free all the conntracks proto_finish(); // Give the analyzers the chance to clear their state analyzer_finish(); core_resume_processing(); return POM_OK; }