1 /* Do not modify this file. Changes will be overwritten. */
2 /* Generated automatically by the ASN.1 to Wireshark dissector compiler */
4 /* ../../tools/asn2wrs.py -p t38 -c ./t38.cnf -s ./packet-t38-template -D . -O ../../epan/dissectors T38_2002.asn */
6 /* Input file: packet-t38-template.h */
8 #line 1 "../../asn1/t38/packet-t38-template.h"
11 * Routines for T38 dissection
13 * 2004 Alejandro Vaquero, add support to conversation
17 * Wireshark - Network traffic analyzer
18 * By Gerald Combs <gerald@wireshark.org>
19 * Copyright 1998 Gerald Combs
21 * This program is free software; you can redistribute it and/or
22 * modify it under the terms of the GNU General Public License
23 * as published by the Free Software Foundation; either version 2
24 * of the License, or (at your option) any later version.
26 * This program is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
31 * You should have received a copy of the GNU General Public License
32 * along with this program; if not, write to the Free Software
33 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
36 #include "ws_symbol_export.h"
38 #define MAX_T38_DATA_ITEMS 4
39 #define MAX_T38_DESC 128
41 typedef struct _t38_packet_info
{
42 guint16 seq_num
; /* UDPTLPacket sequence number */
43 gint32 type_msg
; /* 0=t30-indicator 1=data */
45 guint32 data_value
; /* standard and speed */
46 guint32 setup_frame_number
;
47 guint32 Data_Field_field_type_value
;
48 guint8 t30_Facsimile_Control
;
49 gchar desc
[MAX_T38_DESC
]; /* Description used to be displayed in the frame label Graph Anlaysis */
50 gchar desc_comment
[MAX_T38_DESC
]; /* Description used to be displayed in the Comment Graph Anlaysis */
51 double time_first_t4_data
;
52 guint32 frame_num_first_t4_data
;
56 #define MAX_T38_SETUP_METHOD_SIZE 7
59 /* Info to save the State to reassemble Data (e.g. HDLC) and the Setup (e.g. SDP) in T38 conversations */
60 typedef struct _t38_conv_info
64 int reass_start_seqnum
;
65 guint32 reass_data_type
;
66 gint32 last_seqnum
; /* used to avoid duplicated seq num shown in the Graph Analysis */
69 double time_first_t4_data
;
70 guint32 additional_hdlc_data_field_counter
;
71 gint32 seqnum_prev_data_field
;
75 /* Info to save the State to reassemble Data (e.g. HDLC) and the Setup (e.g. SDP) in T38 conversations */
76 typedef struct _t38_conv
78 gchar setup_method
[MAX_T38_SETUP_METHOD_SIZE
+ 1];
79 guint32 setup_frame_number
;
80 t38_conv_info src_t38_info
;
81 t38_conv_info dst_t38_info
;
84 /* Add an T38 conversation with the given details */
86 void t38_add_address(packet_info
*pinfo
,
87 address
*addr
, int port
,
89 const gchar
*setup_method
, guint32 setup_frame_number
);
93 /*--- Included file: packet-t38-exp.h ---*/
94 #line 1 "../../asn1/t38/packet-t38-exp.h"
95 WS_DLL_PUBLIC
const value_string t38_T30_indicator_vals
[];
96 WS_DLL_PUBLIC
const value_string t38_T30_data_vals
[];
98 /*--- End of included file: packet-t38-exp.h ---*/
99 #line 85 "../../asn1/t38/packet-t38-template.h"