Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
tap-tcp-stream.h File Reference

Go to the source code of this file.

Classes

struct  segment
 
struct  tcp_graph
 
struct  rtt_unack
 

Macros

#define COMPARE_CURR_DIR   0
 
#define COMPARE_ANY_DIR   1
 

Typedefs

typedef enum tcp_graph_type_ tcp_graph_type
 

Enumerations

enum  tcp_graph_type_ {
  GRAPH_TSEQ_STEVENS , GRAPH_TSEQ_TCPTRACE , GRAPH_THROUGHPUT , GRAPH_RTT ,
  GRAPH_WSCALE , GRAPH_UNDEFINED
}
 

Functions

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 *)
 
int rtt_is_retrans (struct rtt_unack *, unsigned int)
 
struct rtt_unackrtt_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 **)
 

Detailed Description

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

Function Documentation

◆ graph_segment_list_get()

void graph_segment_list_get ( capture_file cf,
struct tcp_graph tg 
)

Fill in the segment list for a TCP graph

Parameters
cfCapture file to scan
tgTCP 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.