From 6eccd355058f2d9e17f6a8f4388891da035e0e11 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 15 Sep 2000 07:52:43 +0000 Subject: 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 --- wiretap/libpcap.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'wiretap/libpcap.h') 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 @@ -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); -- cgit v1.2.3