Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
SCTPAssocAnalyseDialog Class Reference

Dialog that presents a detailed analysis of a single SCTP association, including TSN graphs, byte-throughput graphs, advertised receiver window (ARWND) graphs, chunk statistics, and display-filter controls. More...

#include <sctp_assoc_analyse_dialog.h>

Inheritance diagram for SCTPAssocAnalyseDialog:

Public Slots

void setCaptureFile (capture_file *cf)
 Updates the capture file pointer used for packet lookups.
 

Signals

void filterPackets (QString new_filter, bool force)
 Emitted when the dialog requests a display-filter change.
 

Public Member Functions

 SCTPAssocAnalyseDialog (QWidget *parent=0, const _sctp_assoc_info *assoc=NULL, capture_file *cf=NULL)
 Constructs the SCTP Association Analysis dialog and populates its tabs.
 
 ~SCTPAssocAnalyseDialog ()
 Destroys the dialog and frees all owned resources.
 
void fillTabs (const _sctp_assoc_info *selected_assoc)
 Populates all analysis tabs with data from selected_assoc.
 

Static Public Member Functions

static const _sctp_assoc_infofindAssocForPacket (capture_file *cf)
 Searches the capture file for the SCTP association that owns the currently selected packet.
 
static const _sctp_assoc_infofindAssoc (QWidget *parent, uint16_t assoc_id)
 Looks up an SCTP association by its numeric identifier, showing an error dialog via parent if the ID is not found.
 

Detailed Description

Dialog that presents a detailed analysis of a single SCTP association, including TSN graphs, byte-throughput graphs, advertised receiver window (ARWND) graphs, chunk statistics, and display-filter controls.

Constructor & Destructor Documentation

◆ SCTPAssocAnalyseDialog()

SCTPAssocAnalyseDialog::SCTPAssocAnalyseDialog ( QWidget *  parent = 0,
const _sctp_assoc_info assoc = NULL,
capture_file cf = NULL 
)
explicit

Constructs the SCTP Association Analysis dialog and populates its tabs.

Parameters
parentOptional parent widget.
assocPointer to the SCTP association to analyse; NULL opens an empty dialog.
cfPointer to the capture file providing packet context; NULL if unavailable.

Member Function Documentation

◆ fillTabs()

void SCTPAssocAnalyseDialog::fillTabs ( const _sctp_assoc_info selected_assoc)

Populates all analysis tabs with data from selected_assoc.

Parameters
selected_assocPointer to the association whose data fills the tabs.

◆ filterPackets

void SCTPAssocAnalyseDialog::filterPackets ( QString  new_filter,
bool  force 
)
signal

Emitted when the dialog requests a display-filter change.

Parameters
new_filterThe display filter expression to apply.
forceIf true, reapply even if the filter string is unchanged.

◆ findAssoc()

const _sctp_assoc_info * SCTPAssocAnalyseDialog::findAssoc ( QWidget *  parent,
uint16_t  assoc_id 
)
static

Looks up an SCTP association by its numeric identifier, showing an error dialog via parent if the ID is not found.

Parameters
parentWidget used as the parent for any error dialogs shown.
assoc_idAssociation identifier to search for.
Returns
Pointer to the matching _sctp_assoc_info, or NULL if not found.

◆ findAssocForPacket()

const sctp_assoc_info_t * SCTPAssocAnalyseDialog::findAssocForPacket ( capture_file cf)
static

Searches the capture file for the SCTP association that owns the currently selected packet.

Parameters
cfCapture file to search.
Returns
Pointer to the matching _sctp_assoc_info, or NULL if not found.

◆ setCaptureFile

void SCTPAssocAnalyseDialog::setCaptureFile ( capture_file cf)
inlineslot

Updates the capture file pointer used for packet lookups.

Parameters
cfNew capture file pointer; may be NULL when a file is closed.

The documentation for this class was generated from the following files: