diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-06 07:55:17 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-09-06 07:55:17 +0000 |
commit | b3b9be09c796a007aabb621ca4cdad8b48f1a39f (patch) | |
tree | 93df0fc7a28dedd045d621090940588a3fad4aba /epan/packet_info.h | |
parent | 820ce62af5612df64d9e22d103dc7e559f50c117 (diff) | |
download | wireshark-b3b9be09c796a007aabb621ca4cdad8b48f1a39f.tar.gz |
We track all protocols that appear in each packet in the frame dissector. This is an expensive operation because we:
* Disable the TRY_TO_FAKE_THIS_ITEM optimization
* Use GString to store the protocols
We should only do this if the 'hf_frame_protocols' is referenced (unlikely)
svn path=/trunk/; revision=29733
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r-- | epan/packet_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h index f5da1e1c54..393b7a7f7d 100644 --- a/epan/packet_info.h +++ b/epan/packet_info.h @@ -174,6 +174,7 @@ typedef struct _packet_info { * in the SCTP packet */ void *private_data; /* pointer to data passed from one dissector to another */ + /* TODO: Use emem_strbuf_t instead */ GString *layer_names; /* layers of each protocol */ guint16 link_number; guint8 annex_a_used; |