diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-04-23 17:17:56 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-04-23 17:17:56 +0000 |
commit | 319bf245663dedef4e56cd9a4ad652869e58a56c (patch) | |
tree | daf5660cf28a9ffd790ea11a120c0d24a50c49d1 /epan/packet_info.h | |
parent | c9ac7ec169525c4a9060474293ffd69967c36ab5 (diff) | |
download | wireshark-319bf245663dedef4e56cd9a4ad652869e58a56c.tar.gz |
Add curr_layer_num which can be used to keep track of multiple occurances of the same protocol in a frame.
svn path=/trunk/; revision=48997
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r-- | epan/packet_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h index b813b2dd4f..e2a242247d 100644 --- a/epan/packet_info.h +++ b/epan/packet_info.h @@ -182,6 +182,8 @@ typedef struct _packet_info { */ void *private_data; /**< pointer to data passed from one dissector to another */ GHashTable *private_table; /**< a hash table passed from one dissector to another */ + + guint16 curr_layer_num; /**< The current "depth" or layer number in the current frame */ /* TODO: Use emem_strbuf_t instead */ GString *layer_names; /**< layers of each protocol */ guint16 link_number; |