diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-07 05:49:06 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-07 05:49:06 +0000 |
commit | 5ab82d5dc6f7f0a7b6bf9a7e691787ee7b79d39b (patch) | |
tree | 35b9d1e26d85804314854f73fa1ad0ba15d32179 /epan/dissectors/packet-tcap.h | |
parent | fc346c8cec5ebc68898f36842fde9fc39ad4fc61 (diff) |
From Tim Endean:
- I have had to make some changes to packet-ber to allow for PRIVATE and APPLICATION tags.
- Both ANSI and ITU variants supported without configuration.
- Asn.1 dissectors can now register using an OID value as well as an SSN, the oid it tried first.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14572 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tcap.h')
-rw-r--r-- | epan/dissectors/packet-tcap.h | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/epan/dissectors/packet-tcap.h b/epan/dissectors/packet-tcap.h index c644b0a54e..327a094ee9 100644 --- a/epan/dissectors/packet-tcap.h +++ b/epan/dissectors/packet-tcap.h @@ -1,11 +1,15 @@ +/* Do not modify this file. */ +/* It is created automatically by the ASN.1 to Ethereal dissector compiler */ +/* .\packet-tcap.h */ +/* ../../tools/asn2eth.py -X -b -e -p tcap -c tcap.cnf -s packet-tcap-template tcap.asn */ + +/* Input file: packet-tcap-template.h */ + /* packet-tcap.h * * $Id$ * - * Copyright 2003, Michael Lum <mlum [AT] telostech.com>, - * In association with Telos Technology Inc. - * - * Taken from packet-mtp3.h + * Copyright 2004, Tim Endean <endeant@hotmail.com> * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -26,15 +30,9 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -typedef enum { - ITU_TCAP_STANDARD = 1, - ANSI_TCAP_STANDARD = 2 -} Tcap_Standard_Type; - -extern gint tcap_standard; - -extern const value_string tcap_component_type_str[]; +#ifndef PACKET_tcap_H +#define PACKET_tcap_H /* TCAP component type */ #define TCAP_COMP_INVOKE 0xa1 #define TCAP_COMP_RRL 0xa2 @@ -42,7 +40,7 @@ extern const value_string tcap_component_type_str[]; #define TCAP_COMP_REJECT 0xa4 #define TCAP_COMP_RRN 0xa7 -/* ANSI TCAP component type */ + #define ANSI_TC_INVOKE_L 0xe9 #define ANSI_TC_RRL 0xea #define ANSI_TC_RE 0xeb @@ -56,9 +54,21 @@ extern const value_string tcap_component_type_str[]; #define TCAP_INVOKE_ID_TAG 0x02 #define TCAP_LINKED_ID_TAG 0x80 -#define TCAP_EOC_LEN 2 /* 0x00 0x00 */ +#define TCAP_EOC_LEN 2 #define TCAP_CONSTRUCTOR(TCtag) (TCtag & 0x20) + + +extern gint tcap_standard; + +extern const value_string tcap_component_type_str[]; + + extern int tcap_find_eoc(ASN1_SCK *asn1); + extern gboolean tcap_check_tag(ASN1_SCK *asn1, guint tag); + + + +#endif /* PACKET_INAP_H */ |