Exemplo n.º 1
0
// executed for each packet in the pcap file
void sigproc(int sig) {
  static int called = 0;

  if(called) return; else called = 1;
  shutdown_app = 1;

  closePcapFile();
  printResults(0);
  terminateDetection();
  exit(0);
}
Exemplo n.º 2
0
Win32ScreenDriver::~Win32ScreenDriver()
{
  terminateDetection();
}