Wireshark 4.5.0
The Wireshark network protocol analyzer
|
#include "ws_symbol_export.h"
#include <glib.h>
#include "packet_info.h"
#include "tap.h"
#include "address.h"
#include "wsutil/file_util.h"
Go to the source code of this file.
Classes | |
struct | _seq_analysis_item |
struct | _seq_analysis_info |
Macros | |
#define | MAX_NUM_NODES 40 |
Typedefs | |
typedef enum _ga_info_type | ga_info_type |
typedef struct _seq_analysis_item | seq_analysis_item_t |
typedef struct _seq_analysis_info | seq_analysis_info_t |
typedef struct register_analysis | register_analysis_t |
Enumerations | |
enum | _ga_info_type { GA_INFO_TYPE_NONE =0 , GA_INFO_TYPE_RTP } |
Flow sequence analysis
Copied from gtk/graph_analysis.h
Copyright 2004, Verso Technologies Inc. By Alejandro Vaquero aleja.nosp@m.ndro.nosp@m.vaque.nosp@m.ro@y.nosp@m.ahoo..nosp@m.com
based on rtp_analysis.c and io_stat
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
typedef enum _ga_info_type ga_info_type |
defines info types for graph analysis additional information
typedef struct register_analysis register_analysis_t |
Structure for information about a registered sequence analysis function
typedef struct _seq_analysis_info seq_analysis_info_t |
defines the graph analysis structure
typedef struct _seq_analysis_item seq_analysis_item_t |
defines an entry for the graph analysis
enum _ga_info_type |
defines info types for graph analysis additional information
WS_DLL_PUBLIC seq_analysis_item_t * sequence_analysis_create_sai_with_addresses | ( | packet_info * | pinfo, |
seq_analysis_info_t * | sainfo | ||
) |
Helper function to create a sequence analysis item with address fields populated Allocate a seq_analysis_item_t to return and populate the time_str and src_addr and dst_addr members based on seq_analysis_info_t any_addr member
pinfo | packet info |
sainfo | info determining address type |
WS_DLL_PUBLIC void sequence_analysis_dump_to_file | ( | FILE * | of, |
seq_analysis_info_t * | sainfo, | ||
unsigned | first_node | ||
) |
Write an ASCII version of the sequence diagram to a file.
of | File to write. |
sainfo | Sequence analysis information. |
first_node | Start drawing at this node. |
WS_DLL_PUBLIC register_analysis_t * sequence_analysis_find_by_name | ( | const char * | name | ) |
Find a registered sequence analysis "protocol" by name
name | Registered sequence analysis to find |
WS_DLL_PUBLIC void sequence_analysis_free_nodes | ( | seq_analysis_info_t * | sainfo | ) |
Free the node address list
sainfo | Sequence analysis information. |
WS_DLL_PUBLIC const char * sequence_analysis_get_name | ( | register_analysis_t * | analysis | ) |
Helper function to get sequence analysis name
analysis | Registered sequence analysis |
WS_DLL_PUBLIC int sequence_analysis_get_nodes | ( | seq_analysis_info_t * | sainfo | ) |
Fill in the node address list
sainfo | Sequence analysis information. |
WS_DLL_PUBLIC tap_packet_cb sequence_analysis_get_packet_func | ( | register_analysis_t * | analysis | ) |
Get tap function handler from sequence analysis
analysis | Registered sequence analysis |
WS_DLL_PUBLIC unsigned sequence_analysis_get_tap_flags | ( | register_analysis_t * | analysis | ) |
Helper function to get tap flags
analysis | Registered sequence analysis |
WS_DLL_PUBLIC const char * sequence_analysis_get_tap_listener_name | ( | register_analysis_t * | analysis | ) |
Helper function to get tap listener name
analysis | Registered sequence analysis |
WS_DLL_PUBLIC const char * sequence_analysis_get_ui_name | ( | register_analysis_t * | analysis | ) |
Helper function to get UI name
analysis | Registered sequence analysis |
WS_DLL_PUBLIC void sequence_analysis_info_free | ( | seq_analysis_info_t * | sainfo | ) |
Free a seq_analysis_info_t struct.
sainfo | A pointer to the seq_analysis_info_t struct to be freed. |
WS_DLL_PUBLIC seq_analysis_info_t * sequence_analysis_info_new | ( | void | ) |
Create and initialize a seq_analysis_info_t struct
WS_DLL_PUBLIC void sequence_analysis_list_free | ( | seq_analysis_info_t * | sainfo | ) |
Free the segment list
sainfo | Sequence analysis information. |
WS_DLL_PUBLIC void sequence_analysis_list_sort | ( | seq_analysis_info_t * | sainfo | ) |
Sort a seq_analysis_info_t struct.
sainfo | A pointer to the seq_analysis_info_t struct to be sorted |
WS_DLL_PUBLIC void sequence_analysis_table_iterate_tables | ( | wmem_foreach_func | func, |
void * | user_data | ||
) |
Interator to walk sequence_analysis tables and execute func
func | action to be performed on all sequence_analysis tables |
user_data | any data needed to help perform function |
WS_DLL_PUBLIC void sequence_analysis_use_col_info_as_label_comment | ( | packet_info * | pinfo, |
seq_analysis_item_t * | sai | ||
) |
Helper function to set frame label and comments to use protocol and info column data
pinfo | packet info |
sai | item to set label and comments |
WS_DLL_PUBLIC void sequence_analysis_use_color_filter | ( | packet_info * | pinfo, |
seq_analysis_item_t * | sai | ||
) |
Helper function to set colors for analysis the same as Wireshark display
pinfo | packet info |
sai | item to set color |