Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

snort_packet_header.h

Go to the documentation of this file.
00001 #ifndef __SNORT_PKT_HEADER_H__
00002 #define __SNORT_PKT_HEADER_H__
00003 
00004 #ifdef HAVE_CONFIG_H
00005 #include "config.h"
00006 #endif
00007 
00008 #include <time.h>
00009 
00010 
00011 /* this is equivalent to the pcap pkthdr struct, but we need one for
00012  * portability once we introduce the pa_engine code 
00013  */
00014 typedef struct _SnortPktHeader
00015 {
00016     struct timeval ts;     /* packet timestamp */
00017     u_int32_t caplen;      /* packet capture length */
00018     u_int32_t pktlen;      /* packet "real" length */
00019 } SnortPktHeader;
00020 
00021 
00022 #endif // __SNORT_PKT_HEADER_H__

Generated on Sun May 14 14:51:18 2006 by  doxygen 1.4.2