summaryrefslogtreecommitdiff
path: root/ui/tap-tcp-stream.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-09-04 23:15:59 +0000
committerGerald Combs <gerald@wireshark.org>2013-09-04 23:15:59 +0000
commit03fd39d7f0c409a45e422d9142b48536ec5c8647 (patch)
treee8c1be0562459e4d302310d65cfd367b929e5564 /ui/tap-tcp-stream.h
parent1abd5a5965e3542c7dfcf6ec258daffe1d9fb504 (diff)
downloadwireshark-03fd39d7f0c409a45e422d9142b48536ec5c8647.tar.gz
Throughput graph updates.
GTK+: Fix what appears to be an off-by-one error in the MA period (21 segments instead of 20). Throw away our initial segment length instead of subtracting it from the moving sum, which skews the sum. Qt: Add the througput graph. Use bits/s for the throughput y axis. Let the user switch between graph types. The dialog hangs when doing this. I haven't been able to track down the cause. Remove some unused code. Both: Tell the user that we're using a 20 segment moving average. Move more routines to tap-tcp-stream.[ch]. svn path=/trunk/; revision=51759
Diffstat (limited to 'ui/tap-tcp-stream.h')
-rw-r--r--ui/tap-tcp-stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/tap-tcp-stream.h b/ui/tap-tcp-stream.h
index 71f9a5c0f6..551b09af15 100644
--- a/ui/tap-tcp-stream.h
+++ b/ui/tap-tcp-stream.h
@@ -84,8 +84,12 @@ void graph_segment_list_free(struct tcp_graph * );
int compare_headers(address *saddr1, address *daddr1, guint16 sport1, guint16 dport1, const address *saddr2, const address *daddr2, guint16 sport2, guint16 dport2, int dir);
+int get_num_dsegs(struct tcp_graph * );
+int get_num_acks(struct tcp_graph *, int * );
+
struct tcpheader *select_tcpip_session(capture_file *, struct segment * );
+
#ifdef __cplusplus
}
#endif /* __cplusplus */