aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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 /plugins
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 'plugins')
-rw-r--r--plugins/agentx/packet-agentx.c1
-rw-r--r--plugins/asn1/packet-asn1.c1
-rw-r--r--plugins/gryphon/packet-gryphon.c1
-rw-r--r--plugins/opsi/packet-opsi.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/plugins/agentx/packet-agentx.c b/plugins/agentx/packet-agentx.c
index 28bcfbeef7..e10a48204e 100644
--- a/plugins/agentx/packet-agentx.c
+++ b/plugins/agentx/packet-agentx.c
@@ -41,6 +41,7 @@
#include <epan/packet.h>
#include <epan/prefs.h>
+#include <epan/emem.h>
#include <epan/dissectors/packet-tcp.h>
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c
index 3d73115553..2d31c6ebd8 100644
--- a/plugins/asn1/packet-asn1.c
+++ b/plugins/asn1/packet-asn1.c
@@ -81,6 +81,7 @@
#include <epan/strutil.h>
#include <epan/filesystem.h>
#include <epan/report_err.h>
+#include <epan/emem.h>
#include <epan/dissectors/packet-tcp.h>
#include <epan/asn1.h>
#include <wiretap/file_util.h>
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c
index 4d6b67f35b..fe7b16fe92 100644
--- a/plugins/gryphon/packet-gryphon.c
+++ b/plugins/gryphon/packet-gryphon.c
@@ -36,6 +36,7 @@
#include <gmodule.h>
#include <epan/packet.h>
+#include <epan/emem.h>
#include "packet-gryphon.h"
#include <epan/dissectors/packet-tcp.h>
#include <epan/prefs.h>
diff --git a/plugins/opsi/packet-opsi.c b/plugins/opsi/packet-opsi.c
index 41cfd5aa96..4ef2796b50 100644
--- a/plugins/opsi/packet-opsi.c
+++ b/plugins/opsi/packet-opsi.c
@@ -37,6 +37,7 @@
#include <glib.h>
#include <epan/packet.h>
+#include <epan/emem.h>
#include <epan/dissectors/packet-tcp.h>
#include <epan/prefs.h>