diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-09-08 01:25:27 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-09-08 01:25:27 +0000 |
commit | abdac5bfac5f330de14c545d8d5f503393801d1f (patch) | |
tree | 8f40df8d4876d6f439e85b98170d7aa27472d4b1 /ui/tap-tcp-stream.h | |
parent | cc26962f96217d834e1dcf11312f9521bde9841c (diff) | |
download | wireshark-abdac5bfac5f330de14c545d8d5f503393801d1f.tar.gz |
Add the TCP RTT graph.
Show the time values in ms instead of s. Add a button and keyboard
shortcut to switch the connection direction. Move more code to
tap-tcp-stream.c. Update our axis labels.
svn path=/trunk/; revision=51832
Diffstat (limited to 'ui/tap-tcp-stream.h')
-rw-r--r-- | ui/tap-tcp-stream.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/tap-tcp-stream.h b/ui/tap-tcp-stream.h index 551b09af15..56953adc4e 100644 --- a/ui/tap-tcp-stream.h +++ b/ui/tap-tcp-stream.h @@ -89,6 +89,18 @@ int get_num_acks(struct tcp_graph *, int * ); struct tcpheader *select_tcpip_session(capture_file *, struct segment * ); +/* This is used by rtt module only */ +struct unack { + struct unack *next; + double time; + unsigned int seqno; +}; + +int rtt_is_retrans(struct unack * , unsigned int ); +struct unack *rtt_get_new_unack(double , unsigned int ); +void rtt_put_unack_on_list(struct unack ** , struct unack * ); +void rtt_delete_unack_from_list(struct unack ** , struct unack * ); + #ifdef __cplusplus } |