aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap-int.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2008-01-13 20:05:07 +0000
committerUlf Lamping <ulf.lamping@web.de>2008-01-13 20:05:07 +0000
commit4f565d1a4dcfe67006ee3799507f0340e0898734 (patch)
tree93106f1d8fb1fb931e8cc0c0955219cf74a4ca42 /wiretap/wtap-int.h
parentaa81806094322d426f6ff1ec1d5b5a8b33552195 (diff)
add very experimental support for pcapng "PCAP Next Generation Dump File Format" - this is incomplete and buggy, be careful!
svn path=/trunk/; revision=24079
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r--wiretap/wtap-int.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -97,6 +97,12 @@ typedef struct {
} libpcap_t;
typedef struct {
+ gboolean byte_swapped;
+ guint16 version_major;
+ guint16 version_minor;
+} pcapng_t;
+
+typedef struct {
time_t start_secs;
guint32 start_usecs;
guint8 version_major;
@@ -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;