diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-03-20 10:52:53 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-03-20 10:52:53 +0000 |
commit | f331077a60e033e416dfa6fc83d73a8c8d20d56e (patch) | |
tree | 48c4368660ebe9fee09f1ef9cc2638198269666e /tap-iousers.c | |
parent | 17cee445d75cb021e4932d2700e4f84bf58afc30 (diff) | |
download | wireshark-f331077a60e033e416dfa6fc83d73a8c8d20d56e.tar.gz wireshark-f331077a60e033e416dfa6fc83d73a8c8d20d56e.tar.bz2 wireshark-f331077a60e033e416dfa6fc83d73a8c8d20d56e.zip |
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 'tap-iousers.c')
-rw-r--r-- | tap-iousers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tap-iousers.c b/tap-iousers.c index d7c779b981..1e7521f0d5 100644 --- a/tap-iousers.c +++ b/tap-iousers.c @@ -35,6 +35,7 @@ #include <string.h> #include <epan/packet_info.h> #include <epan/packet.h> +#include <epan/emem.h> #include <epan/addr_resolv.h> #include <epan/tap.h> #include <epan/stat_cmd_args.h> |