Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
tap-iax2-analysis.h File Reference
#include <epan/address.h>
#include <epan/packet_info.h>

Go to the source code of this file.

Classes

struct  _iax2_bw_history_item
 Records a single bandwidth history sample for an IAX2 stream at a point in time. More...
struct  _tap_iax2_stat_t
 Accumulates per-packet statistics for an IAX2 stream delivered via the tap interface. More...

Macros

#define BUFF_BW   300
#define PT_UNDEFINED   -1
#define STAT_FLAG_FIRST   0x001
#define STAT_FLAG_MARKER   0x002
#define STAT_FLAG_WRONG_SEQ   0x004
#define STAT_FLAG_PT_CHANGE   0x008
#define STAT_FLAG_PT_CN   0x010
#define STAT_FLAG_FOLLOW_PT_CN   0x020
#define STAT_FLAG_REG_PT_CHANGE   0x040
#define STAT_FLAG_WRONG_TIMESTAMP   0x080

Typedefs

typedef struct _iax2_bw_history_item iax2_bw_history_item
 Records a single bandwidth history sample for an IAX2 stream at a point in time.
typedef struct _tap_iax2_stat_t tap_iax2_stat_t
 Accumulates per-packet statistics for an IAX2 stream delivered via the tap interface.

Functions

void iax2_packet_analyse (tap_iax2_stat_t *statinfo, packet_info *pinfo, const struct _iax2_info_t *iax2info)
 Analyzes an IAX2 packet and updates statistics.

Detailed Description

IAX2 analysis addition for Wireshark

based on rtp_analysis.c Copyright 2003, Alcatel Business Systems By Lars Ruoff lars..nosp@m.ruof.nosp@m.f@gmx.nosp@m..net

based on tap_rtp.c Copyright 2003, Iskratel, Ltd, Kranj By Miha Jemec m.jem.nosp@m.ec@i.nosp@m.skrat.nosp@m.el.s.nosp@m.i

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

???

Todo
what's this?

Macro Definition Documentation

◆ BUFF_BW

#define BUFF_BW   300

Number of bandwidth history entries retained in the rolling history buffer.

Function Documentation

◆ iax2_packet_analyse()

void iax2_packet_analyse ( tap_iax2_stat_t * statinfo,
packet_info * pinfo,
const struct _iax2_info_t * iax2info )
extern

Analyzes an IAX2 packet and updates statistics.

This function analyzes an incoming IAX2 packet, updating various statistics such as payload type changes, time differences, jitter, and delta times.

Parameters
statinfoPointer to the statistics structure to be updated.
pinfoPointer to the packet information structure.
iax2infoPointer to the IAX2-specific information structure.

< Number of bandwidth history entries retained in the rolling history buffer.

< Number of bandwidth history entries retained in the rolling history buffer.