forked from osmocom/wireshark
![Anders Broman](/assets/img/avatar_default.png)
- 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. svn path=/trunk/; revision=14572
75 lines
2 KiB
C
75 lines
2 KiB
C
/* 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 2004, Tim Endean <endeant@hotmail.com>
|
|
*
|
|
* Ethereal - Network traffic analyzer
|
|
* By Gerald Combs <gerald@ethereal.com>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
|
|
#ifndef PACKET_tcap_H
|
|
#define PACKET_tcap_H
|
|
/* TCAP component type */
|
|
#define TCAP_COMP_INVOKE 0xa1
|
|
#define TCAP_COMP_RRL 0xa2
|
|
#define TCAP_COMP_RE 0xa3
|
|
#define TCAP_COMP_REJECT 0xa4
|
|
#define TCAP_COMP_RRN 0xa7
|
|
|
|
|
|
#define ANSI_TC_INVOKE_L 0xe9
|
|
#define ANSI_TC_RRL 0xea
|
|
#define ANSI_TC_RE 0xeb
|
|
#define ANSI_TC_REJECT 0xec
|
|
#define ANSI_TC_INVOKE_N 0xed
|
|
#define ANSI_TC_RRN 0xee
|
|
|
|
#define TCAP_SEQ_TAG 0x30
|
|
#define TCAP_SET_TAG 0x31
|
|
|
|
#define TCAP_INVOKE_ID_TAG 0x02
|
|
#define TCAP_LINKED_ID_TAG 0x80
|
|
|
|
#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 */
|