5 * Copyright 2004, Tim Endean <endeant@hotmail.com>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
30 #include "ws_symbol_export.h"
32 /* TCAP component type */
33 #define TCAP_COMP_INVOKE 0xa1
34 #define TCAP_COMP_RRL 0xa2
35 #define TCAP_COMP_RE 0xa3
36 #define TCAP_COMP_REJECT 0xa4
37 #define TCAP_COMP_RRN 0xa7
40 #define ANSI_TC_INVOKE_L 0xe9
41 #define ANSI_TC_RRL 0xea
42 #define ANSI_TC_RE 0xeb
43 #define ANSI_TC_REJECT 0xec
44 #define ANSI_TC_INVOKE_N 0xed
45 #define ANSI_TC_RRN 0xee
48 #define TCAP_SEQ_TAG 0x30
49 #define TCAP_SET_TAG 0x31
51 #define TCAP_INVOKE_ID_TAG 0x02
52 #define TCAP_LINKED_ID_TAG 0x80
54 #define TCAP_EOC_LEN 2
56 #define TCAP_CONSTRUCTOR(TCtag) (TCtag & 0x20)
62 #define TC_ANSI_ABORT 5
65 struct tcap_private_t
{
66 gboolean acv
; /* Is the Application Context Version present */
70 gchar
*TransactionID_str
;
73 extern gint tcap_standard
;
75 extern const value_string tcap_component_type_str
[];
76 void proto_reg_handoff_tcap(void);
77 void proto_register_tcap(void);
79 extern dissector_handle_t
get_itu_tcap_subdissector(guint32 ssn
);
80 dissector_handle_t
get_ansi_tcap_subdissector(guint32 ssn
);
82 extern void add_ansi_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
83 WS_DLL_PUBLIC
void add_itu_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
85 extern void delete_ansi_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
86 WS_DLL_PUBLIC
void delete_itu_tcap_subdissector(guint32 ssn
, dissector_handle_t dissector
);
88 extern void call_tcap_dissector(dissector_handle_t
, tvbuff_t
*, packet_info
*, proto_tree
*);
90 #include "packet-tcap-exp.h"
92 #endif /* PACKET_tcap_H */