diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2009-06-27 15:20:44 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2009-06-27 15:20:44 +0000 |
commit | a41d93603c07fa8b6a7a334e7bf969ebd188085e (patch) | |
tree | 016baf7e08cd27e1697572fef9c95e6c223c776c /wiretap/wtap-int.h | |
parent | 9b9880a25a5a168ed80db71a37596ac24249cd6f (diff) |
Add support for writing pcapng files with multiple
encapsulations.
This fixes a bug reported by Sake during the
Sharkfest 09. Thanks for providing a
Netscreen tracefile with multiple link layer
types.
This patch will be included in Wireshark 1.2.1
and higher.
svn path=/trunk/; revision=28862
Diffstat (limited to 'wiretap/wtap-int.h')
-rw-r--r-- | wiretap/wtap-int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wiretap/wtap-int.h b/wiretap/wtap-int.h index 0dc5269659..6086aa86be 100644 --- a/wiretap/wtap-int.h +++ b/wiretap/wtap-int.h @@ -272,6 +272,11 @@ typedef struct { struct wtap_nstime start_time; } dct2000_dump_t; +typedef struct { + GArray *interface_data; + guint number_of_interfaces; +} pcapng_dump_t; + struct wtap_dumper { FILE* fh; int file_type; @@ -290,6 +295,7 @@ struct wtap_dumper { k12_dump_t *k12; dct2000_dump_t *dct2000; nstrace_dump_t *nstr; + pcapng_dump_t *pcapng; } dump; subtype_write_func subtype_write; |