Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-t38.h
blob22b04adf7e25e74f4b0561bbbfc68d8b636008ec
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 -q -L -p t38 -c ./t38.cnf -s ./packet-t38-template -D . -O ../.. T38_2002.asn */
6 /* packet-t38.h
8 * Routines for T38 dissection
9 * 2003 Hans Viens
10 * 2004 Alejandro Vaquero, add support to conversation
12 * Wireshark - Network traffic analyzer
13 * By Gerald Combs <gerald@wireshark.org>
14 * Copyright 1998 Gerald Combs
16 * SPDX-License-Identifier: GPL-2.0-or-later
19 #include "ws_symbol_export.h"
21 #define MAX_T38_DATA_ITEMS 4
22 #define MAX_T38_DESC 128
24 typedef struct _t38_packet_info {
25 uint16_t seq_num; /* UDPTLPacket sequence number */
26 int32_t type_msg; /* 0=t30-indicator 1=data */
27 uint32_t t30ind_value;
28 uint32_t data_value; /* standard and speed */
29 uint32_t setup_frame_number;
30 uint32_t Data_Field_field_type_value;
31 uint8_t t30_Facsimile_Control;
32 char desc[MAX_T38_DESC]; /* Description used to be displayed in the frame label Graph Analysis */
33 char desc_comment[MAX_T38_DESC]; /* Description used to be displayed in the Comment Graph Analysis */
34 double time_first_t4_data;
35 uint32_t frame_num_first_t4_data;
36 } t38_packet_info;
39 #define MAX_T38_SETUP_METHOD_SIZE 7
42 /* Info to save the State to reassemble Data (e.g. HDLC) and the Setup (e.g. SDP) in T38 conversations */
43 typedef struct _t38_conv_info t38_conv_info;
45 struct _t38_conv_info {
47 uint32_t reass_ID;
48 int reass_start_seqnum;
49 uint32_t reass_start_data_field;
50 uint32_t reass_data_type;
51 int32_t last_seqnum; /* used to avoid duplicated seq num shown in the Graph Analysis */
52 uint32_t packet_lost;
53 uint32_t burst_lost;
54 double time_first_t4_data;
55 uint32_t additional_hdlc_data_field_counter;
56 int32_t seqnum_prev_data_field;
57 t38_conv_info *next;
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
64 char setup_method[MAX_T38_SETUP_METHOD_SIZE + 1];
65 uint32_t setup_frame_number;
66 t38_conv_info src_t38_info;
67 t38_conv_info dst_t38_info;
68 } t38_conv;
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 char *setup_method, uint32_t setup_frame_number);
78 WS_DLL_PUBLIC const value_string t38_T30_indicator_vals[];
79 WS_DLL_PUBLIC const value_string t38_T30_data_vals[];