aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-01-17 09:33:15 +0000
committerGuy Harris <guy@alum.mit.edu>1999-01-17 09:33:15 +0000
commit5910deaa460df74e66d8b4b4aa5f3293c31cd472 (patch)
tree2b334f7a4f0a6508e758291d9357487a274a8de2 /wiretap/wtap.h
parentea75a2a99ec61f9a7193f858f99935a78229ad47 (diff)
Add suppport for Microsoft Network Monitor Ethernet capture files.
svn path=/trunk/; revision=171
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 84bde9447f..45afc04ac9 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1,6 +1,6 @@
/* wtap.h
*
- * $Id: wtap.h,v 1.10 1999/01/07 16:15:37 gram Exp $
+ * $Id: wtap.h,v 1.11 1999/01/17 09:33:15 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -41,6 +41,7 @@
#define WTAP_FILE_NGSNIFFER 4
#define WTAP_FILE_SNOOP 6
#define WTAP_FILE_IPTRACE 7
+#define WTAP_FILE_NETMON 8
#include <sys/types.h>
#include <sys/time.h>
@@ -70,6 +71,12 @@ typedef struct {
guint16 version_minor;
} libpcap_t;
+typedef struct {
+ time_t start_secs;
+ guint32 start_msecs;
+ int end_offset;
+} netmon_t;
+
struct wtap_pkthdr {
struct timeval ts;
guint32 caplen;
@@ -95,6 +102,7 @@ typedef struct wtap {
libpcap_t *pcap;
lanalyzer_t *lanalyzer;
ngsniffer_t *ngsniffer;
+ netmon_t *netmon;
} capture;
subtype_func subtype_read;