summaryrefslogtreecommitdiff
path: root/wiretap/libpcap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-09-15 07:52:43 +0000
committerGuy Harris <guy@alum.mit.edu>2000-09-15 07:52:43 +0000
commit6eccd355058f2d9e17f6a8f4388891da035e0e11 (patch)
treebef4eeb18b4eaf06d0bcfbffa2fffbc5f7d27c1d /wiretap/libpcap.h
parent00b4224ee0665561e4237e30caf3197c605201cf (diff)
downloadwireshark-6eccd355058f2d9e17f6a8f4388891da035e0e11.tar.gz
Code to read capture files from some version of tcpdump from some sort
of Nokia box (firewall) - yep, it's yet *another* mutant libpcap format that didn't change the magic number, sigh.... svn path=/trunk/; revision=2440
Diffstat (limited to 'wiretap/libpcap.h')
-rw-r--r--wiretap/libpcap.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/wiretap/libpcap.h b/wiretap/libpcap.h
index 28b50a8f89..937d2ea262 100644
--- a/wiretap/libpcap.h
+++ b/wiretap/libpcap.h
@@ -1,6 +1,6 @@
/* libpcap.h
*
- * $Id: libpcap.h,v 1.9 2000/08/11 13:32:35 deniel Exp $
+ * $Id: libpcap.h,v 1.10 2000/09/15 07:52:43 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -86,6 +86,12 @@ struct pcaprec_ss990915_hdr {
guint8 pad[3]; /* pad to a 4-byte boundary */
};
+/* "libpcap" record header for version used on some Nokia boxes (firewalls?) */
+struct pcaprec_nokia_hdr {
+ struct pcaprec_hdr hdr; /* the regular header */
+ guint8 stuff[4]; /* mysterious stuff */
+};
+
int libpcap_open(wtap *wth, int *err);
gboolean libpcap_dump_open(wtap_dumper *wdh, int *err);
int libpcap_dump_can_write_encap(int filetype, int encap);