Go to the source code of this file.
|
#define | RTT_ALL 0x0001 |
|
#define | RTT_SAK 0x0002 |
|
#define | RTT_RTT 0x0004 |
|
#define | RTT_KRN 0x0008 |
|
#define | COMPARE_CURR_DIR 0 |
|
#define | COMPARE_ANY_DIR 1 |
|
|
typedef enum tcp_graph_type_ | tcp_graph_type |
|
typedef enum rtt_sampling_method_ | rtt_sampling_method |
|
|
enum | tcp_graph_type_ {
GRAPH_TSEQ_STEVENS
, GRAPH_TSEQ_TCPTRACE
, GRAPH_THROUGHPUT
, GRAPH_RTT
,
GRAPH_WSCALE
, GRAPH_UNDEFINED
} |
|
enum | rtt_sampling_method_ {
SAMPLING_ALL
, SAMPLING_ALL_SACK
, SAMPLING_RTT
, SAMPLING_KARN
,
SAMPLING_UNDEFINED
} |
|
|
void | graph_segment_list_get (capture_file *cf, struct tcp_graph *tg) |
|
void | graph_segment_list_free (struct tcp_graph *) |
|
int | compare_headers (address *saddr1, address *daddr1, uint16_t sport1, uint16_t dport1, const address *saddr2, const address *daddr2, uint16_t sport2, uint16_t dport2, int dir) |
|
int | get_num_dsegs (struct tcp_graph *) |
|
int | get_num_acks (struct tcp_graph *, int *) |
|
uint32_t | select_tcpip_session (capture_file *) |
|
bool | rtt_is_retrans (struct rtt_unack *list, unsigned int seqno) |
|
struct rtt_unack * | rtt_get_new_unack (double, unsigned int, unsigned int) |
|
void | rtt_put_unack_on_list (struct rtt_unack **, struct rtt_unack *) |
|
void | rtt_delete_unack_from_list (struct rtt_unack **, struct rtt_unack *) |
|
void | rtt_destroy_unack_list (struct rtt_unack **) |
|
TCP stream statistics Originally from tcp_graph.c by Pavel Mores pvl@u.nosp@m.h.cz Win32 port: rwh@u.nosp@m.nifi.nosp@m.edtec.nosp@m.h.co.nosp@m.m
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
◆ graph_segment_list_get()
Fill in the segment list for a TCP graph
- Parameters
-
cf | Capture file to scan |
tg | TCP graph. A valid stream must be set. If either the source or destination address types are AT_NONE the address and port information will be filled in using the first packet in the specified stream. |
◆ rtt_is_retrans()
bool rtt_is_retrans |
( |
struct rtt_unack * |
list, |
|
|
unsigned int |
seqno |
|
) |
| |
Check if a sequence number is currently in the Unacked list, typically for avoiding adding redundant sequences. In practice, the retrans meaning in this particular code is different from TCP's one and would rather cover Keep-Alives and Spurious Retrans.
- Parameters
-
list | The list containing the Unacked sequences |
seqno | The sequence number to be searched for in the Unacked list |
- Returns
- true if the list contains the sequence number, false otherwise