2006-10-10 21:52:52 +00:00
/*
* packet - h248_q1950 . c
* Q .1950 annex A
*
2012-06-20 10:46:38 +00:00
* ( c ) 2006 , Anders Broman < anders . broman @ ericsson . com >
2006-10-10 21:52:52 +00:00
*
* $ Id $
*
2007-01-02 14:11:35 +00:00
* Wireshark - Network traffic analyzer
2007-01-02 17:19:25 +00:00
* By Gerald Combs < gerald @ wireshark . org >
2006-10-10 21:52:52 +00:00
* 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
2012-06-28 22:56:06 +00:00
* Foundation , Inc . , 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 USA .
2006-10-10 21:52:52 +00:00
*
* Ref ITU - T Rec . Q .1950 ( 12 / 2002 )
*/
2009-09-28 17:58:47 +00:00
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
2006-10-10 21:52:52 +00:00
# include "packet-h248.h"
# include "packet-isup.h"
# define PNAME "H.248 Q.1950 Annex A"
# define PSNAME "H248Q1950"
# define PFNAME "h248q1950"
static int proto_q1950 = - 1 ;
2007-02-25 10:13:49 +00:00
static gboolean implicit = FALSE ;
2006-10-10 21:52:52 +00:00
/* A.3 Bearer characteristics package */
static int hf_h248_pkg_BCP = - 1 ;
static int hf_h248_pkg_BCP_BNCChar = - 1 ;
2011-02-11 21:27:46 +00:00
static gint ett_h248_pkg_BCP = - 1 ;
2006-10-10 21:52:52 +00:00
2007-04-14 14:01:53 +00:00
static const value_string h248_pkg_BCP_parameters [ ] _U_ = {
2006-10-10 21:52:52 +00:00
{ 0x0001 , " BNCChar (BNC Characteristics) " } ,
{ 0 , NULL }
} ;
2007-01-24 17:19:44 +00:00
2007-02-23 20:57:22 +00:00
static const value_string h248_pkg_BCP_props_vals [ ] = {
2012-03-13 13:41:28 +00:00
{ 0 , " Bearer Characteristics Q.1950 Annex A (bcp) " } ,
{ 1 , " BNC Characteristics (BNCChar) " } ,
2007-02-23 20:57:22 +00:00
{ 0 , NULL }
} ;
2006-10-10 21:52:52 +00:00
/* Properties */
h248_pkg_param_t h248_pkg_BCP_props [ ] = {
2007-01-30 06:16:39 +00:00
{ 0x0001 , & hf_h248_pkg_BCP_BNCChar , h248_param_ber_integer , & implicit } ,
2006-10-10 21:52:52 +00:00
{ 0 , NULL , NULL , NULL }
} ;
/* Packet defenitions */
static h248_package_t h248_pkg_BCP = {
0x001e ,
& hf_h248_pkg_BCP ,
& ett_h248_pkg_BCP ,
2007-02-23 20:57:22 +00:00
h248_pkg_BCP_props_vals ,
NULL ,
NULL ,
NULL ,
2006-10-10 21:52:52 +00:00
h248_pkg_BCP_props , /* Properties */
NULL , /* signals */
NULL , /* events */
NULL /* statistics */
} ;
2007-02-23 20:57:22 +00:00
/* A.4 Bearer Network connection cut-through package */
2007-02-25 10:13:49 +00:00
static int hf_h248_pkg_BNCCT = - 1 ;
static int hf_h248_pkg_BNCCT_prop = - 1 ;
2011-02-11 21:27:46 +00:00
static gint ett_h248_pkg_BNCCT = - 1 ;
2007-02-25 10:13:49 +00:00
2007-04-14 14:01:53 +00:00
static const value_string h248_pkg_BNCCT_parameters [ ] _U_ = {
2007-02-25 10:13:49 +00:00
{ 0x0001 , " BNC Cut Through Capability " } ,
{ 0 , NULL }
} ;
static const value_string h248_pkg_BNCCT_props_vals [ ] = {
2012-03-13 13:41:28 +00:00
{ 0 , " Bearer Network Connection Cut Q.1950 Annex A " } ,
2007-02-25 10:13:49 +00:00
{ 1 , " BNCCT " } ,
{ 0 , NULL }
} ;
static const value_string h248_pkg_BNCCT_prop_vals [ ] = {
{ 1 , " Early " } ,
{ 2 , " Late " } ,
{ 0 , NULL }
} ;
/* Properties */
static const h248_pkg_param_t h248_pkg_BNCCT_props [ ] = {
{ 0x0001 , & hf_h248_pkg_BNCCT_prop , h248_param_ber_integer , & implicit } ,
{ 0 , NULL , NULL , NULL }
} ;
/* Packet defenitions */
static h248_package_t h248_pkg_BNCCT = {
0x001f ,
& hf_h248_pkg_BNCCT ,
& ett_h248_pkg_BNCCT ,
h248_pkg_BNCCT_props_vals ,
NULL ,
NULL ,
NULL ,
h248_pkg_BNCCT_props , /* Properties */
NULL , /* signals */
NULL , /* events */
NULL /* statistics */
} ;
/* A.5 Bearer Reuse Idle Package */
static int hf_h248_pkg_RI = - 1 ;
static int hf_h248_pkg_RII = - 1 ;
2011-02-11 21:27:46 +00:00
static gint ett_h248_pkg_RI = - 1 ;
2007-02-25 10:13:49 +00:00
static const value_string h248_pkg_RI_parameters [ ] = {
2012-03-13 13:41:28 +00:00
{ 0x0000 , " Reuse Idle Q.1950 Annex A " } ,
{ 0x0001 , " Reuse Idle Indication " } ,
2007-02-25 10:13:49 +00:00
{ 0 , NULL }
} ;
static const value_string h248_pkg_RII_vals [ ] = {
{ 0 , " Not_Reuse_Idle " } ,
{ 1 , " ReUse_Idle " } ,
{ 0 , NULL }
} ;
/* Properties */
h248_pkg_param_t h248_pkg_RI_props [ ] = {
{ 0x0001 , & hf_h248_pkg_RII , h248_param_ber_integer , & implicit } ,
{ 0 , NULL , NULL , NULL }
} ;
/* Packet defenitions */
static h248_package_t h248_pkg_RI = {
0x0020 ,
& hf_h248_pkg_RI ,
& ett_h248_pkg_RI ,
h248_pkg_RI_parameters ,
NULL ,
NULL ,
NULL ,
h248_pkg_RI_props , /* Properties */
NULL , /* signals */
NULL , /* events */
NULL /* statistics */
} ;
2007-02-23 20:57:22 +00:00
/* A.5 Bearer Reuse Idle Package */
2011-02-11 21:27:46 +00:00
/* A.6 Generic bearer connection package
2007-01-30 22:52:09 +00:00
Package Name : GB
Package ID : 0x0021
*/
2007-02-25 10:13:49 +00:00
static int hf_h248_pkg_GB = - 1 ;
static int hf_h248_pkg_GB_BNCChange = - 1 ;
static int hf_h248_pkg_GB_BNCChange_type = - 1 ;
static int hf_h248_pkg_GB_EstBNC = - 1 ;
static int hf_h248_pkg_GB_ModBNC = - 1 ;
static int hf_h248_pkg_GB_RelBNC = - 1 ;
static int hf_h248_pkg_GB_RelBNC_Generalcause = - 1 ;
static int hf_h248_pkg_GB_RelBNC_Failurecause = - 1 ;
static int hf_h248_pkg_GB_RelBNC_Reset = - 1 ;
static gint ett_h248_pkg_GB = - 1 ;
static gint ett_h248_pkg_GB_EstBNC = - 1 ;
static gint ett_h248_pkg_GB_ModBNC = - 1 ;
static gint ett_h248_pkg_GB_RelBNC = - 1 ;
static gint ett_h248_pkg_GB_BNCChange = - 1 ;
static const value_string h248_pkg_GB_events_vals [ ] = {
{ 0x0001 , " BNCChange " } ,
{ 0 , NULL }
} ;
static const value_string h248_pkg_GB_BNCChange_type_vals [ ] = {
{ 0x01 , " Bearer Established " } ,
{ 0x02 , " Bearer Modified " } ,
{ 0x03 , " Bearer Cut through " } ,
{ 0x04 , " Bearer Modification Failure " } ,
{ 0 , NULL }
} ;
2007-03-06 22:13:12 +00:00
static const value_string h248_pkg_GB_BNCChange_params_vals [ ] = {
{ 0x01 , " Type " } ,
{ 0 , NULL }
} ;
2007-02-25 10:13:49 +00:00
static const h248_pkg_param_t h248_pkg_GB_BNCChange_pars [ ] = {
{ 0x0001 , & hf_h248_pkg_GB_BNCChange_type , h248_param_ber_integer , & implicit } ,
{ 0 , NULL , NULL , NULL }
} ;
static const h248_pkg_evt_t h248_pkg_GB_events [ ] = {
2007-03-06 22:13:12 +00:00
{ 0x0001 , & hf_h248_pkg_GB_BNCChange , & ett_h248_pkg_GB_BNCChange , h248_pkg_GB_BNCChange_pars , h248_pkg_GB_BNCChange_params_vals } ,
2007-03-06 23:16:59 +00:00
{ 0 , NULL , NULL , NULL , NULL }
2007-02-25 10:13:49 +00:00
} ;
static const value_string h248_pkg_GB_signals_vals [ ] = {
{ 0x01 , " Establish BNC " } ,
{ 0x02 , " Modify BNC " } ,
{ 0 , NULL }
} ;
static const value_string h248_pkg_GB_RelBNC_vals [ ] = {
{ 0x01 , " Generalcause " } ,
{ 0x02 , " Failurecause " } ,
{ 0x03 , " Reset " } ,
{ 0 , NULL }
} ;
static const value_string h248_pkg_GB_RelBNC_Generalcause_vals [ ] = {
{ 0x01 , " Normal Release " } ,
{ 0x02 , " Unavailable Resources " } ,
{ 0x03 , " Failure, Temporary " } ,
{ 0x04 , " Failure, Permanent " } ,
{ 0x05 , " Interworking Error " } ,
{ 0x06 , " Unsupported " } ,
{ 0 , NULL }
} ;
static const h248_pkg_param_t h248_pkg_GB_RelBNC_pars [ ] = {
{ 0x0001 , & hf_h248_pkg_GB_RelBNC_Generalcause , h248_param_ber_integer , & implicit } ,
{ 0x0002 , & hf_h248_pkg_GB_RelBNC_Failurecause , h248_param_ber_octetstring , & implicit } ,
{ 0x0003 , & hf_h248_pkg_GB_RelBNC_Reset , h248_param_ber_boolean , & implicit } ,
{ 0 , NULL , NULL , NULL }
} ;
static const h248_pkg_sig_t h248_pkg_GB_signals [ ] = {
{ 0x0001 , & hf_h248_pkg_GB_EstBNC , & ett_h248_pkg_GB_EstBNC , NULL , NULL } ,
{ 0x0002 , & hf_h248_pkg_GB_ModBNC , & ett_h248_pkg_GB_ModBNC , NULL , NULL } ,
{ 0x0003 , & hf_h248_pkg_GB_RelBNC , & ett_h248_pkg_GB_RelBNC , h248_pkg_GB_RelBNC_pars , h248_pkg_GB_RelBNC_vals } ,
{ 0 , NULL , NULL , NULL , NULL }
} ;
2012-03-13 13:41:28 +00:00
static const value_string h248_pkg_GB_props_vals [ ] = {
{ 0x0000 , " Generic Bearer Connection Q.1950 Annex A (gb) " } ,
{ 0 , NULL }
} ;
2007-02-25 10:13:49 +00:00
static h248_package_t h248_pkg_GB = {
0x0021 ,
& hf_h248_pkg_GB ,
& ett_h248_pkg_GB ,
2012-03-13 13:41:28 +00:00
h248_pkg_GB_props_vals ,
2007-02-25 10:13:49 +00:00
h248_pkg_GB_signals_vals ,
2007-03-06 23:23:59 +00:00
h248_pkg_GB_events_vals ,
2007-02-25 10:13:49 +00:00
NULL ,
NULL , /* Properties */
h248_pkg_GB_signals , /* signals */
h248_pkg_GB_events , /* events */
NULL /* statistics */
} ;
2007-01-30 22:52:09 +00:00
/* A.7 Bearer control tunnelling package */
2007-03-01 00:24:57 +00:00
static dissector_handle_t bctp_dissector = NULL ;
2007-01-30 22:52:09 +00:00
2007-02-25 10:13:49 +00:00
static int hf_h248_pkg_bt = - 1 ;
static int hf_h248_pkg_bt_tind = - 1 ;
static int hf_h248_pkg_bt_tunopt = - 1 ;
static int hf_h248_pkg_bt_bit = - 1 ;
2007-01-30 22:52:09 +00:00
2007-02-25 10:13:49 +00:00
static gint ett_h248_pkg_bt = - 1 ;
static gint ett_h248_pkg_bt_tind = - 1 ;
static gint ett_h248_pkg_bt_bit = - 1 ;
2007-01-30 22:52:09 +00:00
2007-02-25 10:13:49 +00:00
static void dissect_bt_tunneled_proto ( proto_tree * tree , tvbuff_t * tvb , packet_info * pinfo , int hfid , h248_curr_info_t * i _U_ , void * d _U_ ) {
2007-03-01 00:24:57 +00:00
tvbuff_t * bctp_tvb = NULL ;
2007-01-31 09:30:08 +00:00
gint8 class ;
gboolean pc ;
gint32 tag ;
2007-05-15 05:49:43 +00:00
asn1_ctx_t asn1_ctx ;
asn1_ctx_init ( & asn1_ctx , ASN1_ENC_BER , TRUE , pinfo ) ;
2011-02-11 21:27:46 +00:00
2007-01-31 09:30:08 +00:00
get_ber_identifier ( tvb , 0 , & class , & pc , & tag ) ;
2011-02-11 21:27:46 +00:00
2007-01-31 09:30:08 +00:00
/* XXX: is this enough to guess it? */
2011-04-22 17:31:57 +00:00
if ( tag = = BER_UNI_TAG_OCTETSTRING ) {
2007-05-15 05:49:43 +00:00
dissect_ber_octet_string ( FALSE , & asn1_ctx , tree , tvb , 0 , hfid , & bctp_tvb ) ;
2011-02-11 21:27:46 +00:00
2007-03-01 00:24:57 +00:00
if ( bctp_tvb ) {
call_dissector ( bctp_dissector , bctp_tvb , pinfo , tree ) ;
2007-01-31 09:30:08 +00:00
}
} else {
2011-11-09 17:33:18 +00:00
proto_tree_add_item ( tree , hfid , tvb , 0 , - 1 , ENC_NA ) ;
2007-01-31 09:30:08 +00:00
}
2011-02-11 21:27:46 +00:00
2007-01-30 22:52:09 +00:00
}
2007-02-25 10:13:49 +00:00
/* Properties */
static const value_string h248_pkg_bt_props_vals [ ] = {
2012-03-13 13:41:28 +00:00
{ 0 , " Bearer Control Tunnelling Q.1950 Annex A " } ,
{ 1 , " Tunnelling Options " } ,
{ 0 , NULL }
2007-02-25 10:13:49 +00:00
} ;
2012-07-24 13:05:25 +00:00
static const value_string h248_pkg_bt_tunopt_vals [ ] = {
2012-03-13 13:41:28 +00:00
{ 1 , " 1 (In the same message as the command response to the command which generated the bearer control tunnel) " } ,
{ 2 , " 2 (Tunnel message at any time) " } ,
{ 3 , " NO " } ,
{ 0 , NULL }
2007-02-25 10:13:49 +00:00
} ;
2012-07-24 13:05:25 +00:00
static const h248_pkg_param_t h248_pkg_bt_props [ ] = {
2007-02-25 10:13:49 +00:00
{ 0x0001 , & hf_h248_pkg_bt_tunopt , h248_param_ber_integer , & implicit } ,
2007-01-30 22:52:09 +00:00
{ 0 , NULL , NULL , NULL }
} ;
2006-10-10 21:52:52 +00:00
2007-01-30 22:52:09 +00:00
/* Events */
2007-02-25 10:13:49 +00:00
static const value_string h248_pkg_bt_evt_vals [ ] = {
{ 1 , " Tunnel indication " } ,
{ 0 , NULL }
} ;
static const value_string h248_pkg_bt_tind_vals [ ] = {
{ 1 , " Tunnel Indication " } ,
{ 0 , NULL }
} ;
static const h248_pkg_param_t h248_pkg_bt_bit_params [ ] = {
{ 0x0001 , & hf_h248_pkg_bt_bit , dissect_bt_tunneled_proto , & implicit } ,
2007-01-30 22:52:09 +00:00
{ 0 , NULL , NULL , NULL }
} ;
2007-02-25 10:13:49 +00:00
static const value_string h248_pkg_bt_sigs_vals [ ] = {
{ 1 , " Bearer Information Tunnel " } ,
{ 0 , NULL }
} ;
static const h248_pkg_evt_t h248_pkg_bt_events [ ] = {
{ 0x0001 , & hf_h248_pkg_bt_tind , & ett_h248_pkg_bt_tind , h248_pkg_bt_bit_params , h248_pkg_bt_tind_vals } ,
{ 0 , NULL , NULL , NULL , NULL }
} ;
static const h248_pkg_sig_t h248_pkg_bt_signals [ ] = {
{ 0x0001 , & hf_h248_pkg_bt_bit , & ett_h248_pkg_bt_bit , h248_pkg_bt_bit_params , h248_pkg_bt_tind_vals } ,
{ 0 , NULL , NULL , NULL , NULL }
} ;
2007-01-30 22:52:09 +00:00
/* Packet defenitions */
static h248_package_t h248_pkg_bct = {
0x0022 ,
2007-02-25 10:13:49 +00:00
& hf_h248_pkg_bt ,
& ett_h248_pkg_bt ,
h248_pkg_bt_props_vals ,
h248_pkg_bt_sigs_vals ,
h248_pkg_bt_evt_vals ,
2007-02-23 20:57:22 +00:00
NULL ,
2012-07-24 13:05:25 +00:00
h248_pkg_bt_props , /* Properties */
h248_pkg_bt_signals , /* signals */
2007-02-25 10:13:49 +00:00
h248_pkg_bt_events , /* events */
2007-01-30 22:52:09 +00:00
NULL /* statistics */
} ;
2006-10-17 05:40:58 +00:00
/* A.8 Basic call progress tones generator with directionality */
static int hf_h248_pkg_bcg = - 1 ;
static int hf_h248_pkg_bcg_sig_bdt_par_btd = - 1 ;
static int hf_h248_pkg_bcg_sig_bdt = - 1 ;
static int hf_h248_pkg_bcg_sig_brt = - 1 ;
static int hf_h248_pkg_bcg_sig_bbt = - 1 ;
static int hf_h248_pkg_bcg_sig_bct = - 1 ;
static int hf_h248_pkg_bcg_sig_bsit = - 1 ;
static int hf_h248_pkg_bcg_sig_bwt = - 1 ;
static int hf_h248_pkg_bcg_sig_bpt = - 1 ;
static int hf_h248_pkg_bcg_sig_bcw = - 1 ;
static int hf_h248_pkg_bcg_sig_bcr = - 1 ;
static int hf_h248_pkg_bcg_sig_bpy = - 1 ;
2011-02-11 21:27:46 +00:00
static gint ett_h248_pkg_bcg = - 1 ;
static gint ett_h248_pkg_bcg_sig_bdt = - 1 ;
2006-10-17 05:40:58 +00:00
static const value_string h248_pkg_bcg_sig_bdt_par_btd_vals [ ] = {
{ 0x0001 , " ext (External) " } ,
{ 0x0002 , " int (Internal) " } ,
{ 0x0003 , " both (Both) " } ,
{ 0 , NULL } ,
} ;
static h248_pkg_param_t h248_pkg_h248_pkg_bcg_sig_bdt_params [ ] = {
2007-01-30 06:16:39 +00:00
{ 0x0001 , & hf_h248_pkg_bcg_sig_bdt_par_btd , h248_param_ber_integer , & implicit } ,
2006-10-17 05:40:58 +00:00
{ 0 , NULL , NULL , NULL }
} ;
2012-03-13 13:41:28 +00:00
static const value_string h248_pkg_bcg_signals_vals [ ] = {
{ 0x0041 , " Dial Tone (bdt) " } ,
{ 0x0042 , " Ringing Tone (brt) " } ,
{ 0x0043 , " Busy Tone (bbt) " } ,
{ 0x0044 , " Congestion Tone (bct) " } ,
{ 0x0045 , " Warning Tone (bwt) " } ,
{ 0x0046 , " Payphone Recognition Tone (bpt) " } ,
{ 0x0047 , " Call Waiting Tone (bcw) " } ,
{ 0x0048 , " Caller Waiting Tone (bcr) " } ,
{ 0x0049 , " Pay Tone (bpy) " } ,
{ 0 , NULL }
} ;
2006-10-17 05:40:58 +00:00
static h248_pkg_sig_t h248_pkg_bcg_signals [ ] = {
/* All the tones have the same parameters */
2007-02-25 11:23:49 +00:00
{ 0x0040 , & hf_h248_pkg_bcg_sig_bdt , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0041 , & hf_h248_pkg_bcg_sig_brt , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0042 , & hf_h248_pkg_bcg_sig_bbt , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0043 , & hf_h248_pkg_bcg_sig_bct , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0044 , & hf_h248_pkg_bcg_sig_bsit , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0045 , & hf_h248_pkg_bcg_sig_bwt , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0046 , & hf_h248_pkg_bcg_sig_bpt , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0047 , & hf_h248_pkg_bcg_sig_bcw , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0048 , & hf_h248_pkg_bcg_sig_bcr , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0x0049 , & hf_h248_pkg_bcg_sig_bpy , & ett_h248_pkg_bcg_sig_bdt , h248_pkg_h248_pkg_bcg_sig_bdt_params , NULL } ,
{ 0 , NULL , NULL , NULL , NULL }
2006-10-17 05:40:58 +00:00
} ;
2012-03-13 13:41:28 +00:00
static const value_string h248_pkg_bcg_props_vals [ ] = {
{ 0 , " Basic Call Progress Tones Q.1950 Annex A " } ,
{ 0 , NULL }
} ;
2006-10-17 05:40:58 +00:00
/* Packet defenitions */
static h248_package_t h248_pkg_bcg = {
0x0023 ,
& hf_h248_pkg_bcg ,
& ett_h248_pkg_bcg ,
2012-03-13 13:41:28 +00:00
h248_pkg_bcg_props_vals ,
h248_pkg_bcg_signals_vals ,
2007-02-23 20:57:22 +00:00
NULL ,
NULL ,
2006-10-17 05:40:58 +00:00
NULL , /* Properties */
2007-02-25 10:13:49 +00:00
h248_pkg_bcg_signals , /* signals */
2006-10-17 05:40:58 +00:00
NULL , /* events */
NULL /* statistics */
} ;
2007-01-24 17:19:44 +00:00
2007-02-25 11:23:49 +00:00
void proto_reg_handoff_q1950 ( void ) {
2007-03-01 00:24:57 +00:00
bctp_dissector = find_dissector ( " bctp " ) ;
2011-02-11 21:27:46 +00:00
2007-02-25 11:23:49 +00:00
}
2006-10-17 05:40:58 +00:00
/* Register dissector */
2006-10-10 21:52:52 +00:00
void proto_register_q1950 ( void ) {
static hf_register_info hf [ ] = {
/* A.3 Bearer characteristics package */
{ & hf_h248_pkg_BCP ,
2011-02-11 21:27:46 +00:00
{ " BCP (Bearer characteristics package) " , " h248.pkg.BCP " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2006-10-10 21:52:52 +00:00
} ,
{ & hf_h248_pkg_BCP_BNCChar ,
2011-02-11 21:27:46 +00:00
{ " BNCChar (BNC Characteristics) " , " h248.pkg.bcp.bncchar " ,
2010-11-05 22:44:03 +00:00
FT_UINT32 , BASE_HEX | BASE_EXT_STRING , & bearer_network_connection_characteristics_vals_ext , 0 , " BNC Characteristics " , HFILL }
2006-10-10 21:52:52 +00:00
} ,
2011-02-11 21:27:46 +00:00
2007-02-25 10:13:49 +00:00
/* A.4 Bearer Network connection cut-through package */
{ & hf_h248_pkg_BNCCT ,
2011-02-11 21:27:46 +00:00
{ " BNCCT (Bearer network connection cut-through package) " , " h248.pkg.BNCCT " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_BNCCT_prop ,
2011-02-11 21:27:46 +00:00
{ " Bearer network connection cut-through capability " , " h248.pkg.bcp.bncct " ,
2007-02-25 10:13:49 +00:00
FT_UINT32 , BASE_HEX , VALS ( h248_pkg_BNCCT_prop_vals ) , 0 , " This property allows the MGC to ask the MG when the cut through of a bearer will occur, early or late. " , HFILL }
} ,
2011-02-11 21:27:46 +00:00
2007-02-25 10:13:49 +00:00
{ & hf_h248_pkg_GB ,
2011-02-11 21:27:46 +00:00
{ " GB (Generic bearer connection) " , " h248.pkg.GB " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_GB_BNCChange ,
2011-02-11 21:27:46 +00:00
{ " BNCChange " , " h248.pkg.GB.BNCChang " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , " This event occurs whenever a change to a Bearer Network connection occurs " , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_GB_BNCChange_type ,
2011-02-11 21:27:46 +00:00
{ " Type " , " h248.pkg.GB.BNCChang.Type " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT32 , BASE_HEX , VALS ( h248_pkg_GB_BNCChange_type_vals ) , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_GB_EstBNC ,
2011-02-11 21:27:46 +00:00
{ " Type " , " h248.pkg.GB.BNCChang.EstBNC " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , " This signal triggers the bearer control function to send bearer establishment signalling " , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_GB_ModBNC ,
2011-02-11 21:27:46 +00:00
{ " Type " , " h248.pkg.GB.BNCChang.Type " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , " This signal triggers the bearer control function to send bearer modification " , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_GB_RelBNC ,
2011-02-11 21:27:46 +00:00
{ " RelBNC " , " h248.pkg.GB.BNCChang.RelBNC " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , " This signal triggers the bearer control function to send bearer release " , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_GB_RelBNC_Generalcause ,
2011-02-11 21:27:46 +00:00
{ " Generalcause " , " h248.pkg.GB.BNCChang.RelBNC.Generalcause " ,
2007-02-25 10:13:49 +00:00
FT_UINT32 , BASE_HEX , VALS ( h248_pkg_GB_RelBNC_Generalcause_vals ) , 0 , " This indicates the general reason for the Release " , HFILL }
} ,
{ & hf_h248_pkg_GB_RelBNC_Failurecause ,
2011-02-11 21:27:46 +00:00
{ " Failurecause " , " h248.pkg.GB.BNCChang.RelBNC.Failurecause " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , " The Release Cause is the value generated by the Released equipment " , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_GB_RelBNC_Reset ,
2011-02-11 21:27:46 +00:00
{ " RelBNC " , " h248.pkg.GB.BNCChang.RelBNC " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BOOLEAN , BASE_NONE , NULL , 0x0 , " This signal triggers the bearer control function to send bearer release " , HFILL }
2007-02-25 10:13:49 +00:00
} ,
/* A.5 Bearer Network connection cut-through package */
{ & hf_h248_pkg_RI ,
2011-02-11 21:27:46 +00:00
{ " RI (Reuse idle package) " , " h248.pkg.RI " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_RII ,
2011-02-11 21:27:46 +00:00
{ " Reuse Idle Indication " , " h248.pkg.bcp.rii " ,
2007-02-25 10:13:49 +00:00
FT_UINT32 , BASE_HEX , VALS ( h248_pkg_RII_vals ) , 0 , " This property indicates that the provided bearer network connection relates to an Idle Bearer. " , HFILL }
} ,
2012-07-24 13:05:25 +00:00
/* A.7 Bearer control tunnelling package */
2007-02-25 10:13:49 +00:00
{ & hf_h248_pkg_bt ,
2011-02-11 21:27:46 +00:00
{ " BT (Bearer control Tunneling) " , " h248.pkg.BT " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_bt_tunopt ,
2011-02-11 21:27:46 +00:00
{ " Tunnelling Options " , " h248.pkg.BT.TunOpt " ,
2012-07-24 13:05:25 +00:00
FT_UINT32 , BASE_DEC , VALS ( h248_pkg_bt_tunopt_vals ) , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_bt_tind ,
2011-02-11 21:27:46 +00:00
{ " tind (Tunnel INDication) " , " h248.pkg.BT.TIND " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
{ & hf_h248_pkg_bt_bit ,
2011-02-11 21:27:46 +00:00
{ " Bearer Information Transport " , " h248.pkg.BT.BIT " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2007-02-25 10:13:49 +00:00
} ,
2011-02-11 21:27:46 +00:00
2006-10-17 05:40:58 +00:00
/* A.8 Basic call progress tones generator with directionality */
{ & hf_h248_pkg_bcg ,
2011-02-11 21:27:46 +00:00
{ " bcg (Basic call progress tones generator with directionality) " , " h248.pkg.bcg " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_BYTES , BASE_NONE , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bdt_par_btd ,
2011-02-11 21:27:46 +00:00
{ " btd (Tone Direction) " , " h248.pkg.bcp.btd " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT32 , BASE_HEX , VALS ( h248_pkg_bcg_sig_bdt_par_btd_vals ) , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bdt ,
2011-02-11 21:27:46 +00:00
{ " bdt (Dial Tone) " , " h248.pkg.bcg.bdt " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_brt ,
2011-02-11 21:27:46 +00:00
{ " brt (Ringing tone) " , " h248.pkg.bcg.brt " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bbt ,
2011-02-11 21:27:46 +00:00
{ " bbt (Busy tone) " , " h248.pkg.bcg.bbt " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bct ,
2011-02-11 21:27:46 +00:00
{ " bct (Congestion tone) " , " h248.pkg.bcg.bct " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bsit ,
2011-02-11 21:27:46 +00:00
{ " bsit (Special information tone) " , " h248.pkg.bcg.bsit " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bwt ,
2011-02-11 21:27:46 +00:00
{ " bwt (Warning tone) " , " h248.pkg.bcg.bwt " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bpt ,
2011-02-11 21:27:46 +00:00
{ " bpt (Payphone recognition tone) " , " h248.pkg.bcg.bpt " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
{ & hf_h248_pkg_bcg_sig_bcw ,
2011-02-11 21:27:46 +00:00
{ " bcw (Call waiting tone) " , " h248.pkg.bcg.bcw " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
2008-03-02 20:19:32 +00:00
{ & hf_h248_pkg_bcg_sig_bcr ,
2011-02-11 21:27:46 +00:00
{ " bcr (Call ringing tone) " , " h248.pkg.bcg.bcr " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2008-03-02 20:19:32 +00:00
} ,
2006-10-17 05:40:58 +00:00
{ & hf_h248_pkg_bcg_sig_bpy ,
2011-02-11 21:27:46 +00:00
{ " bpy (Pay tone) " , " h248.pkg.bcg.bpy " ,
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
FT_UINT8 , BASE_HEX , NULL , 0 , NULL , HFILL }
2006-10-17 05:40:58 +00:00
} ,
2006-10-10 21:52:52 +00:00
} ;
static gint * ett [ ] = {
2007-01-24 17:19:44 +00:00
& ett_h248_pkg_BCP ,
2007-02-25 10:13:49 +00:00
& ett_h248_pkg_bt ,
& ett_h248_pkg_bt_tind ,
& ett_h248_pkg_bt_bit ,
2011-02-11 21:27:46 +00:00
& ett_h248_pkg_bcg ,
& ett_h248_pkg_bcg_sig_bdt ,
2007-02-25 10:13:49 +00:00
& ett_h248_pkg_BNCCT ,
& ett_h248_pkg_RI ,
2011-02-11 21:27:46 +00:00
& ett_h248_pkg_GB ,
& ett_h248_pkg_GB_EstBNC ,
& ett_h248_pkg_GB_ModBNC ,
& ett_h248_pkg_GB_RelBNC ,
& ett_h248_pkg_GB_BNCChange
2006-10-10 21:52:52 +00:00
} ;
2011-02-11 21:27:46 +00:00
2006-10-10 21:52:52 +00:00
proto_q1950 = proto_register_protocol ( PNAME , PSNAME , PFNAME ) ;
proto_register_field_array ( proto_q1950 , hf , array_length ( hf ) ) ;
proto_register_subtree_array ( ett , array_length ( ett ) ) ;
2011-02-11 21:27:46 +00:00
2006-10-17 05:40:58 +00:00
/* Register the packages */
2012-06-05 10:54:21 +00:00
h248_register_package ( & h248_pkg_BCP , REPLACE_PKG ) ;
h248_register_package ( & h248_pkg_BNCCT , REPLACE_PKG ) ;
h248_register_package ( & h248_pkg_RI , REPLACE_PKG ) ;
h248_register_package ( & h248_pkg_GB , REPLACE_PKG ) ;
h248_register_package ( & h248_pkg_bcg , REPLACE_PKG ) ;
h248_register_package ( & h248_pkg_bct , REPLACE_PKG ) ;
2007-02-25 10:13:49 +00:00
2006-10-10 21:52:52 +00:00
}