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 -b -p tcap -c ./tcap.cnf -s ./packet-tcap-template -D . -O ../../epan/dissectors tcap.asn UnidialoguePDUs.asn DialoguePDUs.asn */
6 /* Input file: packet-tcap-template.h */
8 #line 1 "../../asn1/tcap/packet-tcap-template.h"
13 * Copyright 2004, Tim Endean <endeant@hotmail.com>
15 * Wireshark - Network traffic analyzer
16 * By Gerald Combs <gerald@wireshark.org>
17 * Copyright 1998 Gerald Combs
19 * This program is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU General Public License
21 * as published by the Free Software Foundation; either version 2
22 * of the License, or (at your option) any later version.
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
38 #include "ws_symbol_export.h"
40 /* TCAP component type */
41 #define TCAP_COMP_INVOKE 0xa1
42 #define TCAP_COMP_RRL 0xa2
43 #define TCAP_COMP_RE 0xa3
44 #define TCAP_COMP_REJECT 0xa4
45 #define TCAP_COMP_RRN 0xa7
48 #define ANSI_TC_INVOKE_L 0xe9
49 #define ANSI_TC_RRL 0xea
50 #define ANSI_TC_RE 0xeb
51 #define ANSI_TC_REJECT 0xec
52 #define ANSI_TC_INVOKE_N 0xed
53 #define ANSI_TC_RRN 0xee
56 #define TCAP_SEQ_TAG 0x30
57 #define TCAP_SET_TAG 0x31
59 #define TCAP_INVOKE_ID_TAG 0x02
60 #define TCAP_LINKED_ID_TAG 0x80
62 #define TCAP_EOC_LEN 2
64 #define TCAP_CONSTRUCTOR(TCtag) (TCtag & 0x20)
70 #define TC_ANSI_ABORT 5
73 struct tcap_private_t
{
74 gboolean acv
; /* Is the Application Context Version present */
78 gchar
*TransactionID_str
;
81 extern gint tcap_standard
;
83 extern const value_string tcap_component_type_str
[];
84 void proto_reg_handoff_tcap(void);
85 void proto_register_tcap(void);
87 extern dissector_handle_t
get_itu_tcap_subdissector(guint32 ssn
);
88 dissector_handle_t
get_ansi_tcap_subdissector(guint32 ssn
);
90 extern void add_ansi_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
91 WS_DLL_PUBLIC
void add_itu_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
93 extern void delete_ansi_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
94 WS_DLL_PUBLIC
void delete_itu_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
96 extern void call_tcap_dissector(dissector_handle_t
, tvbuff_t
*, packet_info
*, proto_tree
*);
99 /*--- Included file: packet-tcap-exp.h ---*/
100 #line 1 "../../asn1/tcap/packet-tcap-exp.h"
101 extern const value_string tcap_UniDialoguePDU_vals
[];
102 extern const value_string tcap_DialoguePDU_vals
[];
103 int dissect_tcap_UniDialoguePDU(gboolean implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
104 int dissect_tcap_DialoguePDU(gboolean implicit_tag _U_
, tvbuff_t
*tvb _U_
, int offset _U_
, asn1_ctx_t
*actx _U_
, proto_tree
*tree _U_
, int hf_index _U_
);
106 /*--- End of included file: packet-tcap-exp.h ---*/
107 #line 91 "../../asn1/tcap/packet-tcap-template.h"
109 #endif /* PACKET_tcap_H */