1 /* packet-h225.h 2 * Routines for h225 packet dissection 3 * Copyright 2005, Anders Broman <anders.broman@ericsson.com> 4 * 5 * Wireshark - Network traffic analyzer 6 * By Gerald Combs <gerald@wireshark.org> 7 * Copyright 1998 Gerald Combs 8 * 9 * SPDX-License-Identifier: GPL-2.0-or-later 10 */ 11 12 #ifndef PACKET_H225_H 13 #define PACKET_H225_H 14 15 typedef enum _h225_msg_type { 16 H225_RAS, 17 H225_CS, 18 H225_OTHERS 19 } h225_msg_type; 20 21 typedef enum _h225_cs_type { 22 H225_SETUP, 23 H225_CALL_PROCEDING, 24 H225_CONNECT, 25 H225_ALERTING, 26 H225_INFORMATION, 27 H225_RELEASE_COMPLET, 28 H225_FACILITY, 29 H225_PROGRESS, 30 H225_EMPTY, 31 H225_STATUS, 32 H225_STATUS_INQUIRY, 33 H225_SETUP_ACK, 34 H225_NOTIFY, 35 H225_OTHER 36 } h225_cs_type; 37 38 typedef struct _h225_packet_info { 39 h225_msg_type msg_type; /* ras or cs message */ 40 h225_cs_type cs_type; /* cs message type */ 41 gint msg_tag; /* message tag*/ 42 gint reason; /* reason tag, if available */ 43 guint requestSeqNum; /* request sequence number of ras-message, if available */ 44 e_guid_t guid; /* globally unique call id */ 45 gboolean is_duplicate; /* true, if this is a repeated message */ 46 gboolean request_available; /* true, if response matches to a request */ 47 nstime_t delta_time; /* this is the RAS response time delay */ 48 /* added for h225 conversations analysis */ 49 gboolean is_faststart; /* true, if faststart field is included */ 50 gboolean is_h245; 51 gboolean is_h245Tunneling; 52 guint32 h245_address; 53 guint16 h245_port; 54 gchar dialedDigits[129]; /* Dialed Digits in the LRQ and LCF used for voip analysis */ 55 gboolean is_destinationInfo; 56 gchar frame_label[50]; /* the Frame label used by graph_analysis, what is a abreviation of cinfo */ 57 } h225_packet_info; 58 59 /* 60 * the following allows TAP code access to the messages 61 * without having to duplicate it. With MSVC and a 62 * libwireshark.dll, we need a special declaration. 63 */ 64 65 #include <epan/asn1.h> 66 #include <epan/dissectors/packet-per.h> 67 68 #include "packet-h225-exp.h" 69 70 #endif /* PACKET_H225_H */ 71 72 /* 73 * Editor modelines - https://www.wireshark.org/tools/modelines.html 74 * 75 * Local Variables: 76 * c-basic-offset: 2 77 * tab-width: 8 78 * indent-tabs-mode: nil 79 * End: 80 * 81 * vi: set shiftwidth=2 tabstop=8 expandtab: 82 * :indentSize=2:tabSize=8:noTabs=true: 83 */ 84