aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netsync.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-03-20 10:52:53 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-03-20 10:52:53 +0000
commitf331077a60e033e416dfa6fc83d73a8c8d20d56e (patch)
tree48c4368660ebe9fee09f1ef9cc2638198269666e /epan/dissectors/packet-netsync.c
parent17cee445d75cb021e4932d2700e4f84bf58afc30 (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 . svn path=/trunk/; revision=17681
Diffstat (limited to 'epan/dissectors/packet-netsync.c')
-rw-r--r--epan/dissectors/packet-netsync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-netsync.c b/epan/dissectors/packet-netsync.c
index 1068adb7ba..db41dfff2f 100644
--- a/epan/dissectors/packet-netsync.c
+++ b/epan/dissectors/packet-netsync.c
@@ -39,7 +39,8 @@
#include <epan/addr_resolv.h>
#include <epan/prefs.h>
#include <epan/strutil.h>
-#include <epan/dissectors/packet-tcp.h>
+#include <epan/emem.h>
+#include "packet-tcp.h"
/*
* See