diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-02-09 22:24:00 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-02-09 22:24:00 +0000 |
commit | bec5abb473fb6f97021b5bbc786e6789f05a839c (patch) | |
tree | f7ae0b617c5a4845773f2bb1d9be1f32221a8e11 /wiretap/wtap.h | |
parent | 5f66577aac7904555ad1ad79b01b13b2c8a9c95e (diff) |
Add pcapng variables to wtap_pkthdr.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40947 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 1d002de72c..d070f91fb3 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -822,9 +822,17 @@ struct wtap_nstime { struct wtap_pkthdr { struct wtap_nstime ts; - guint32 caplen; - guint32 len; + guint32 caplen; /* data length in the file */ + guint32 len; /* data length on the wire */ int pkt_encap; + /* pcapng variables */ + guint32 interface_id; /* identifier of the interface. */ + guint16 drops_count; /* drops count, only valid for packet block */ + /* 0xffff if information not available */ + /* options */ + gchar *opt_comment; /* NULL if not available */ + guint64 drop_count; + guint32 pack_flags; /* XXX - 0 for now (any value for "we don't have it"?) */ }; struct Buffer; |