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 /gtk | |
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 'gtk')
-rw-r--r-- | gtk/conversations_tcpip.c | 1 | ||||
-rw-r--r-- | gtk/flow_graph.c | 1 | ||||
-rw-r--r-- | gtk/hostlist_tcpip.c | 1 | ||||
-rw-r--r-- | gtk/tcp_graph.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/gtk/conversations_tcpip.c b/gtk/conversations_tcpip.c index 67f932968f..8f9e60a865 100644 --- a/gtk/conversations_tcpip.c +++ b/gtk/conversations_tcpip.c @@ -33,6 +33,7 @@ #include <gtk/gtk.h> #include <string.h> #include "epan/packet.h" +#include <epan/emem.h> #include <epan/stat_cmd_args.h> #include "../stat_menu.h" #include "gui_stat_menu.h" diff --git a/gtk/flow_graph.c b/gtk/flow_graph.c index 714da95d48..fa2dd28aff 100644 --- a/gtk/flow_graph.c +++ b/gtk/flow_graph.c @@ -46,6 +46,7 @@ #include <epan/to_str.h> #include <epan/tap.h> +#include <epan/emem.h> #include <epan/dissectors/packet-tcp.h> #include <string.h> diff --git a/gtk/hostlist_tcpip.c b/gtk/hostlist_tcpip.c index a3a5cecc17..ea3272e050 100644 --- a/gtk/hostlist_tcpip.c +++ b/gtk/hostlist_tcpip.c @@ -37,6 +37,7 @@ #include "../stat_menu.h" #include "gui_stat_menu.h" #include <epan/tap.h> +#include <epan/emem.h> #include "../register.h" #include "hostlist_table.h" #include <epan/dissectors/packet-tcp.h> diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 496b73835f..e7a3d666d6 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -36,6 +36,7 @@ #include <epan/ipproto.h> #include "globals.h" /* cfile */ #include <epan/packet.h> /* frame_data */ +#include <epan/emem.h> #include "gtkglobals.h" /* packet_list */ #include "simple_dialog.h" #include "gui_utils.h" |