From 4f565d1a4dcfe67006ee3799507f0340e0898734 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Sun, 13 Jan 2008 20:05:07 +0000 Subject: add very experimental support for pcapng "PCAP Next Generation Dump File Format" - this is incomplete and buggy, be careful! svn path=/trunk/; revision=24079 --- wiretap/wtap-int.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'wiretap/wtap-int.h') diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h index a5afdceb1f..4a0bd848f5 100644 --- a/wiretap/wtap-int.h +++ b/wiretap/wtap-int.h @@ -96,6 +96,12 @@ typedef struct { guint16 version_minor; } libpcap_t; +typedef struct { + gboolean byte_swapped; + guint16 version_major; + guint16 version_minor; +} pcapng_t; + typedef struct { time_t start_secs; guint32 start_usecs; @@ -180,6 +186,7 @@ struct wtap { catapult_dct2000_t *catapult_dct2000; mpeg_t *mpeg; void *generic; + pcapng_t *pcapng; } capture; subtype_read_func subtype_read; -- cgit v1.2.3