aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bittorrent.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-20 10:52:53 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-03-20 10:52:53 +0000
commit7cb1aee1c82f28ee76b9ef1b3d8a423709ffc2e1 (patch)
tree48c4368660ebe9fee09f1ef9cc2638198269666e /epan/dissectors/packet-bittorrent.c
parent8341ff87a17c8bb88213b9f1b36ad77c141f2af4 (diff)
waste a couple of bytes per tcp conversation and make the tree for acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global.
while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite tcp analysis might actually work and work well even for tcp over tcp tunnelling. this also means that if you include packet-tcp.h you also need to include emem.h . git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17681 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bittorrent.c')
-rw-r--r--epan/dissectors/packet-bittorrent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bittorrent.c b/epan/dissectors/packet-bittorrent.c
index 1be80b59db..c76ed44480 100644
--- a/epan/dissectors/packet-bittorrent.c
+++ b/epan/dissectors/packet-bittorrent.c
@@ -37,6 +37,7 @@
#include <epan/conversation.h>
#include <epan/packet.h>
#include <epan/strutil.h>
+#include <epan/emem.h>
#include "packet-tcp.h"