Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-t38.h
1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
3 /* packet-t38.h */
4 /* asn2wrs.py -p t38 -c ./t38.cnf -s ./packet-t38-template -D . -O ../.. T38_2002.asn */
5 
6 /* Input file: packet-t38-template.h */
7 
8 #line 1 "./asn1/t38/packet-t38-template.h"
9 /* packet-t38.h
10  *
11  * Routines for T38 dissection
12  * 2003 Hans Viens
13  * 2004 Alejandro Vaquero, add support to conversation
14  *
15  * Wireshark - Network traffic analyzer
16  * By Gerald Combs <gerald@wireshark.org>
17  * Copyright 1998 Gerald Combs
18  *
19  * SPDX-License-Identifier: GPL-2.0-or-later
20  */
21 
22 #include "ws_symbol_export.h"
23 
24 #define MAX_T38_DATA_ITEMS 4
25 #define MAX_T38_DESC 128
26 
27 typedef struct _t38_packet_info {
28  guint16 seq_num; /* UDPTLPacket sequence number */
29  gint32 type_msg; /* 0=t30-indicator 1=data */
30  guint32 t30ind_value;
31  guint32 data_value; /* standard and speed */
32  guint32 setup_frame_number;
33  guint32 Data_Field_field_type_value;
34  guint8 t30_Facsimile_Control;
35  gchar desc[MAX_T38_DESC]; /* Description used to be displayed in the frame label Graph Anlaysis */
36  gchar desc_comment[MAX_T38_DESC]; /* Description used to be displayed in the Comment Graph Anlaysis */
37  double time_first_t4_data;
38  guint32 frame_num_first_t4_data;
40 
41 
42 #define MAX_T38_SETUP_METHOD_SIZE 7
43 
44 
45 /* Info to save the State to reassemble Data (e.g. HDLC) and the Setup (e.g. SDP) in T38 conversations */
46 typedef struct _t38_conv_info
47 {
48 
49  guint32 reass_ID;
50  int reass_start_seqnum;
51  guint32 reass_data_type;
52  gint32 last_seqnum; /* used to avoid duplicated seq num shown in the Graph Analysis */
53  guint32 packet_lost;
54  guint32 burst_lost;
55  double time_first_t4_data;
56  guint32 additional_hdlc_data_field_counter;
57  gint32 seqnum_prev_data_field;
58 
60 
61 /* Info to save the State to reassemble Data (e.g. HDLC) and the Setup (e.g. SDP) in T38 conversations */
62 typedef struct _t38_conv
63 {
64  gchar setup_method[MAX_T38_SETUP_METHOD_SIZE + 1];
65  guint32 setup_frame_number;
66  t38_conv_info src_t38_info;
67  t38_conv_info dst_t38_info;
68 } t38_conv;
69 
70 /* Add an T38 conversation with the given details */
71 WS_DLL_PUBLIC
72 void t38_add_address(packet_info *pinfo,
73  address *addr, int port,
74  int other_port,
75  const gchar *setup_method, guint32 setup_frame_number);
76 
77 
78 
79 /*--- Included file: packet-t38-exp.h ---*/
80 #line 1 "./asn1/t38/packet-t38-exp.h"
81 WS_DLL_PUBLIC const value_string t38_T30_indicator_vals[];
82 WS_DLL_PUBLIC const value_string t38_T30_data_vals[];
83 
84 /*--- End of included file: packet-t38-exp.h ---*/
85 #line 71 "./asn1/t38/packet-t38-template.h"
86 
87 
88 
Definition: packet_info.h:44
Definition: packet-t38-template.h:38
Definition: packet-t38-template.h:19
Definition: value_string.h:24
Definition: packet-t38-template.h:54
Definition: address.h:47