#include "ids.h"#include "con/print.cpp"Go to the source code of this file.
Defines | |
| #define | DEBUG | 
Variables | |
| const char | idsid [] = "\100$ Free Agent: ids.cpp, v 0.1 2002/05/29 red0x Exp $" | 
| unsigned long int | icmp = 0 | 
| unsigned long int | udp = 0 | 
| unsigned long int | tcp = 0 | 
| unsigned long int | ip = 0 | 
| unsigned long int | max_icmp = 0 | 
| unsigned long int | max_udp = 0 | 
| unsigned long int | max_tcp = 0 | 
| unsigned long int | max_ip = 0 | 
Add a startup function to setup a libpcap sniffer. Add a function to get a list of protocol handlers and Start them running. Then, start capturing packets and passing them off to the protocol handlers.
Move DEBUG define to toplevel config.h
Definition in file ids.cpp.
      
  | 
  
| 
 Value:  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
1.2.8.1 written by Dimitri van Heesch,
 © 1997-2001