|
|
|
@ -2489,6 +2489,31 @@ dissect_cbs_data_coding_scheme(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
|
|
|
|
|
|
|
|
|
|
return sms_encoding;
|
|
|
|
|
}
|
|
|
|
|
void
|
|
|
|
|
dissect_gsm_map_msisdn(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
|
|
|
|
|
{
|
|
|
|
|
char *digit_str;
|
|
|
|
|
guint8 octet;
|
|
|
|
|
guint8 na;
|
|
|
|
|
guint8 np;
|
|
|
|
|
|
|
|
|
|
proto_tree_add_item(tree, hf_gsm_map_extension, tvb, 0,1,FALSE);
|
|
|
|
|
proto_tree_add_item(tree, hf_gsm_map_nature_of_number, tvb, 0,1,FALSE);
|
|
|
|
|
proto_tree_add_item(tree, hf_gsm_map_number_plan, tvb, 0,1,FALSE);
|
|
|
|
|
|
|
|
|
|
digit_str = unpack_digits(tvb, 1);
|
|
|
|
|
|
|
|
|
|
proto_tree_add_string(tree, hf_gsm_map_address_digits, tvb, 1, -1, digit_str);
|
|
|
|
|
|
|
|
|
|
octet = tvb_get_guint8(tvb,0);
|
|
|
|
|
na = (octet & 0x70)>>4;
|
|
|
|
|
np = octet & 0x0f;
|
|
|
|
|
if ((na == 1) && (np==1))/*International Number & E164*/
|
|
|
|
|
dissect_e164_cc(tvb, tree, 1, TRUE);
|
|
|
|
|
else if(np==6)
|
|
|
|
|
dissect_e212_mcc_mnc(tvb, tree, 1);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--- Included file: packet-gsm_map-fn.c ---*/
|
|
|
|
@ -2683,7 +2708,7 @@ dissect_gsm_map_SLR_ArgExtensionContainer(gboolean implicit_tag _U_, tvbuff_t *t
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_TBCD_STRING(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 208 "gsmmap.cnf"
|
|
|
|
|
#line 189 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
char *digit_str;
|
|
|
|
|
|
|
|
|
@ -2709,10 +2734,6 @@ dissect_gsm_map_AddressString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int
|
|
|
|
|
#line 176 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
char *digit_str;
|
|
|
|
|
guint8 octet;
|
|
|
|
|
guint8 na;
|
|
|
|
|
guint8 np;
|
|
|
|
|
proto_tree *subtree;
|
|
|
|
|
|
|
|
|
|
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
@ -2723,22 +2744,7 @@ dissect_gsm_map_AddressString(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int
|
|
|
|
|
return offset;
|
|
|
|
|
|
|
|
|
|
subtree = proto_item_add_subtree(actx->created_item, ett_gsm_map_isdn_address_string);
|
|
|
|
|
|
|
|
|
|
proto_tree_add_item(subtree, hf_gsm_map_extension, parameter_tvb, 0,1,FALSE);
|
|
|
|
|
proto_tree_add_item(subtree, hf_gsm_map_nature_of_number, parameter_tvb, 0,1,FALSE);
|
|
|
|
|
proto_tree_add_item(subtree, hf_gsm_map_number_plan, parameter_tvb, 0,1,FALSE);
|
|
|
|
|
|
|
|
|
|
digit_str = unpack_digits(parameter_tvb, 1);
|
|
|
|
|
|
|
|
|
|
proto_tree_add_string(subtree, hf_gsm_map_address_digits, parameter_tvb, 1, -1, digit_str);
|
|
|
|
|
|
|
|
|
|
octet = tvb_get_guint8(parameter_tvb,0);
|
|
|
|
|
na = (octet & 0x70)>>4;
|
|
|
|
|
np = octet & 0x0f;
|
|
|
|
|
if ((na == 1) && (np==1))/*International Number & E164*/
|
|
|
|
|
dissect_e164_cc(parameter_tvb, subtree, 1, TRUE);
|
|
|
|
|
else if(np==6)
|
|
|
|
|
dissect_e212_mcc_mnc(parameter_tvb, subtree, 1);
|
|
|
|
|
dissect_gsm_map_msisdn(parameter_tvb, actx->pinfo , subtree);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2795,7 +2801,7 @@ dissect_gsm_map_ProtocolId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int off
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_SignalInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 289 "gsmmap.cnf"
|
|
|
|
|
#line 270 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
|
|
|
|
|
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
@ -2819,7 +2825,7 @@ static const ber_sequence_t gsm_map_ExternalSignalInfo_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_ExternalSignalInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 716 "gsmmap.cnf"
|
|
|
|
|
#line 697 "gsmmap.cnf"
|
|
|
|
|
/*
|
|
|
|
|
-- Information about the internal structure is given in
|
|
|
|
|
-- clause 7.6.9.
|
|
|
|
@ -2958,7 +2964,7 @@ dissect_gsm_map_AccessNetworkProtocolId(gboolean implicit_tag _U_, tvbuff_t *tvb
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_LongSignalInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 227 "gsmmap.cnf"
|
|
|
|
|
#line 208 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
guint8 octet;
|
|
|
|
@ -3145,7 +3151,7 @@ dissect_gsm_map_HLR_List(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offse
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_GlobalCellId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 797 "gsmmap.cnf"
|
|
|
|
|
#line 778 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
proto_tree *subtree;
|
|
|
|
|
|
|
|
|
@ -3411,7 +3417,7 @@ dissect_gsm_map_CellGlobalIdOrServiceAreaIdFixedLength(gboolean implicit_tag _U_
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_LAIFixedLength(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 576 "gsmmap.cnf"
|
|
|
|
|
#line 557 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
proto_tree *subtree;
|
|
|
|
@ -3537,7 +3543,7 @@ dissect_gsm_map_EMLPP_Info(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int off
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_Ext_SS_Status(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 387 "gsmmap.cnf"
|
|
|
|
|
#line 368 "gsmmap.cnf"
|
|
|
|
|
/* Note Ext-SS-Status can have more than one byte */
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
@ -3660,7 +3666,7 @@ dissect_gsm_map_ss_RegisterSS_Arg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_ss_SS_Status(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 367 "gsmmap.cnf"
|
|
|
|
|
#line 348 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
guint8 octet;
|
|
|
|
@ -3694,7 +3700,7 @@ dissect_gsm_map_ss_ForwardingOptions(gboolean implicit_tag _U_, tvbuff_t *tvb _U
|
|
|
|
|
offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index,
|
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
|
|
#line 483 "gsmmap.cnf"
|
|
|
|
|
#line 464 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
proto_tree_add_item(tree, hf_gsm_map_notification_to_forwarding_party, tvb, 0,1,FALSE);
|
|
|
|
|
proto_tree_add_item(tree, hf_gsm_map_redirecting_presentation, tvb, 0,1,FALSE);
|
|
|
|
@ -4013,7 +4019,7 @@ dissect_gsm_map_ss_InterrogateSS_Res(gboolean implicit_tag _U_, tvbuff_t *tvb _U
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_ss_USSD_DataCodingScheme(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 410 "gsmmap.cnf"
|
|
|
|
|
#line 391 "gsmmap.cnf"
|
|
|
|
|
/*The structure of the USSD-DataCodingScheme is defined by
|
|
|
|
|
* the Cell Broadcast Data Coding Scheme as described in
|
|
|
|
|
* TS 3GPP TS 23.038
|
|
|
|
@ -4039,7 +4045,7 @@ dissect_gsm_map_ss_USSD_DataCodingScheme(gboolean implicit_tag _U_, tvbuff_t *tv
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_ss_USSD_String(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 425 "gsmmap.cnf"
|
|
|
|
|
#line 406 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
int length;
|
|
|
|
@ -4531,7 +4537,7 @@ static const ber_sequence_t gsm_map_er_SM_DeliveryFailureCause_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_er_SM_DeliveryFailureCause(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 296 "gsmmap.cnf"
|
|
|
|
|
#line 277 "gsmmap.cnf"
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
|
gsm_map_er_SM_DeliveryFailureCause_sequence, hf_index, ett_gsm_map_er_SM_DeliveryFailureCause);
|
|
|
|
@ -5423,7 +5429,7 @@ dissect_gsm_map_sm_SM_RP_DA(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_T_msisdn(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 285 "gsmmap.cnf"
|
|
|
|
|
#line 266 "gsmmap.cnf"
|
|
|
|
|
actx->pinfo->p2p_dir = P2P_DIR_RECV;
|
|
|
|
|
offset = dissect_gsm_map_ISDN_AddressString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
|
|
|
|
|
|
|
|
@ -5437,7 +5443,7 @@ actx->pinfo->p2p_dir = P2P_DIR_RECV;
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_T_serviceCentreAddressOA(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 277 "gsmmap.cnf"
|
|
|
|
|
#line 258 "gsmmap.cnf"
|
|
|
|
|
actx->pinfo->p2p_dir = P2P_DIR_SENT;
|
|
|
|
|
offset = dissect_gsm_map_AddressString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
|
|
|
|
|
|
|
|
@ -5483,7 +5489,7 @@ static const ber_sequence_t gsm_map_sm_MO_ForwardSM_Arg_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_MO_ForwardSM_Arg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 313 "gsmmap.cnf"
|
|
|
|
|
#line 294 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
@ -5508,7 +5514,7 @@ static const ber_sequence_t gsm_map_sm_MO_ForwardSM_Res_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_MO_ForwardSM_Res(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 322 "gsmmap.cnf"
|
|
|
|
|
#line 303 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
@ -5536,7 +5542,7 @@ static const ber_sequence_t gsm_map_sm_MT_ForwardSM_Arg_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_MT_ForwardSM_Arg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 331 "gsmmap.cnf"
|
|
|
|
|
#line 312 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
@ -5561,7 +5567,7 @@ static const ber_sequence_t gsm_map_sm_MT_ForwardSM_Res_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_MT_ForwardSM_Res(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 340 "gsmmap.cnf"
|
|
|
|
|
#line 321 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
@ -5744,7 +5750,7 @@ static const ber_sequence_t gsm_map_sm_MT_ForwardSM_VGCS_Arg_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_MT_ForwardSM_VGCS_Arg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 349 "gsmmap.cnf"
|
|
|
|
|
#line 330 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
@ -5784,7 +5790,7 @@ static const ber_sequence_t gsm_map_sm_MT_ForwardSM_VGCS_Res_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_sm_MT_ForwardSM_VGCS_Res(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 358 "gsmmap.cnf"
|
|
|
|
|
#line 339 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
@ -6396,7 +6402,7 @@ dissect_gsm_map_ms_VLR_Capability(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_ms_GSN_Address(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 540 "gsmmap.cnf"
|
|
|
|
|
#line 521 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
guint8 octet;
|
|
|
|
@ -7031,7 +7037,7 @@ dissect_gsm_map_ms_UpdateGprsLocationRes(gboolean implicit_tag _U_, tvbuff_t *tv
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_ms_IntegrityProtectionInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 612 "gsmmap.cnf"
|
|
|
|
|
#line 593 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
|
|
|
|
|
@ -7054,7 +7060,7 @@ dissect_gsm_map_ms_IntegrityProtectionInformation(gboolean implicit_tag _U_, tvb
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_ms_EncryptionInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 624 "gsmmap.cnf"
|
|
|
|
|
#line 605 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
|
|
|
|
|
@ -7139,7 +7145,7 @@ dissect_gsm_map_ms_AllowedUMTS_Algorithms(gboolean implicit_tag _U_, tvbuff_t *t
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_ms_RadioResourceInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 588 "gsmmap.cnf"
|
|
|
|
|
#line 569 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
proto_tree *subtree;
|
|
|
|
|
|
|
|
|
@ -7210,7 +7216,7 @@ dissect_gsm_map_ms_BSSMAP_ServiceHandover(gboolean implicit_tag _U_, tvbuff_t *t
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_ms_RANAP_ServiceHandover(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 600 "gsmmap.cnf"
|
|
|
|
|
#line 581 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
|
|
|
|
|
@ -7944,7 +7950,7 @@ static int
|
|
|
|
|
dissect_gsm_map_ms_T_forwardingOptions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
offset = dissect_gsm_map_ms_Ext_ForwOptions(implicit_tag, tvb, offset, actx, tree, hf_index);
|
|
|
|
|
|
|
|
|
|
#line 489 "gsmmap.cnf"
|
|
|
|
|
#line 470 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
proto_tree_add_item(tree, hf_gsm_map_notification_to_forwarding_party, tvb, 0,1,FALSE);
|
|
|
|
|
proto_tree_add_item(tree, hf_gsm_map_redirecting_presentation, tvb, 0,1,FALSE);
|
|
|
|
@ -9139,7 +9145,7 @@ dissect_gsm_map_ms_ContextId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int o
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_map_ms_PDP_Type(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 497 "gsmmap.cnf"
|
|
|
|
|
#line 478 "gsmmap.cnf"
|
|
|
|
|
guint8 pdp_type_org;
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
|
|
|
|
@ -9182,7 +9188,7 @@ dissect_gsm_map_ms_PDP_Address(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_ms_QoS_Subscribed(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 519 "gsmmap.cnf"
|
|
|
|
|
#line 500 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
@ -9214,7 +9220,7 @@ dissect_gsm_map_ms_APN(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_ms_Ext_QoS_Subscribed(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 530 "gsmmap.cnf"
|
|
|
|
|
#line 511 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
|
|
|
|
@ -10380,7 +10386,7 @@ dissect_gsm_map_ms_SubscriberState(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_ms_RAIdentity(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 564 "gsmmap.cnf"
|
|
|
|
|
#line 545 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
proto_tree *subtree;
|
|
|
|
@ -12692,7 +12698,7 @@ dissect_gsm_map_lcs_ProvideSubscriberLocation_Arg(gboolean implicit_tag _U_, tvb
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
dissect_gsm_map_lcs_Ext_GeographicalInformation(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 809 "gsmmap.cnf"
|
|
|
|
|
#line 790 "gsmmap.cnf"
|
|
|
|
|
tvbuff_t *parameter_tvb;
|
|
|
|
|
proto_tree *subtree;
|
|
|
|
|
|
|
|
|
@ -14028,7 +14034,7 @@ static const ber_sequence_t gsm_old_Bss_APDU_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_old_Bss_APDU(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 637 "gsmmap.cnf"
|
|
|
|
|
#line 618 "gsmmap.cnf"
|
|
|
|
|
guint8 octet;
|
|
|
|
|
guint8 length;
|
|
|
|
|
tvbuff_t *next_tvb;
|
|
|
|
@ -14638,7 +14644,7 @@ dissect_gsm_old_SM_RP_DAold(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_old_T_msisdn(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 281 "gsmmap.cnf"
|
|
|
|
|
#line 262 "gsmmap.cnf"
|
|
|
|
|
actx->pinfo->p2p_dir = P2P_DIR_RECV;
|
|
|
|
|
offset = dissect_gsm_map_ISDN_AddressString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
|
|
|
|
|
|
|
|
@ -14652,7 +14658,7 @@ actx->pinfo->p2p_dir = P2P_DIR_RECV;
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_old_T_serviceCentreAddressOA(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 273 "gsmmap.cnf"
|
|
|
|
|
#line 254 "gsmmap.cnf"
|
|
|
|
|
actx->pinfo->p2p_dir = P2P_DIR_SENT;
|
|
|
|
|
offset = dissect_gsm_map_AddressString(implicit_tag, tvb, offset, actx, tree, hf_index);
|
|
|
|
|
|
|
|
|
@ -14697,7 +14703,7 @@ static const ber_sequence_t gsm_old_ForwardSM_Arg_sequence[] = {
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
|
dissect_gsm_old_ForwardSM_Arg(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
|
#line 304 "gsmmap.cnf"
|
|
|
|
|
#line 285 "gsmmap.cnf"
|
|
|
|
|
|
|
|
|
|
/* dissect_gsm_map_SignalInfo will return parameter_tvb in actx */
|
|
|
|
|
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
|
|
|
|
@ -15505,7 +15511,7 @@ dissect_gsm_ss_LCS_PeriodicLocationCancellationArg(gboolean implicit_tag _U_, tv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--- End of included file: packet-gsm_map-fn.c ---*/
|
|
|
|
|
#line 723 "packet-gsmmap-template.c"
|
|
|
|
|
#line 748 "packet-gsmmap-template.c"
|
|
|
|
|
|
|
|
|
|
/* Specific translation for MAP V3 */
|
|
|
|
|
const value_string gsm_map_V1V2_opr_code_strings[] = {
|
|
|
|
@ -15718,7 +15724,7 @@ const value_string gsm_map_opr_code_strings[] = {
|
|
|
|
|
{ 109, "lcs_PeriodicLocationCancellation" },
|
|
|
|
|
|
|
|
|
|
/*--- End of included file: packet-gsm_map-table.c ---*/
|
|
|
|
|
#line 734 "packet-gsmmap-template.c"
|
|
|
|
|
#line 759 "packet-gsmmap-template.c"
|
|
|
|
|
{ 0, NULL }
|
|
|
|
|
};
|
|
|
|
|
static const value_string gsm_map_err_code_string_vals[] = {
|
|
|
|
@ -15924,7 +15930,7 @@ static const value_string gsm_map_err_code_string_vals[] = {
|
|
|
|
|
{ 109, "lcs_PeriodicLocationCancellation" },
|
|
|
|
|
|
|
|
|
|
/*--- End of included file: packet-gsm_map-table.c ---*/
|
|
|
|
|
#line 738 "packet-gsmmap-template.c"
|
|
|
|
|
#line 763 "packet-gsmmap-template.c"
|
|
|
|
|
{ 0, NULL }
|
|
|
|
|
};
|
|
|
|
|
static const true_false_string gsm_map_extension_value = {
|
|
|
|
@ -22335,7 +22341,7 @@ void proto_register_gsm_map(void) {
|
|
|
|
|
"gsm_map_lcs.LCS_QoS", HFILL }},
|
|
|
|
|
|
|
|
|
|
/*--- End of included file: packet-gsm_map-hfarr.c ---*/
|
|
|
|
|
#line 2413 "packet-gsmmap-template.c"
|
|
|
|
|
#line 2438 "packet-gsmmap-template.c"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* List of subtrees */
|
|
|
|
@ -22903,7 +22909,7 @@ void proto_register_gsm_map(void) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--- End of included file: packet-gsm_map-ettarr.c ---*/
|
|
|
|
|
#line 2441 "packet-gsmmap-template.c"
|
|
|
|
|
#line 2466 "packet-gsmmap-template.c"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* Register protocol */
|
|
|
|
@ -22979,7 +22985,7 @@ void proto_register_gsm_map(void) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--- End of included file: packet-gsm_map-dis-tab.c ---*/
|
|
|
|
|
#line 2459 "packet-gsmmap-template.c"
|
|
|
|
|
#line 2484 "packet-gsmmap-template.c"
|
|
|
|
|
oid_add_from_string("ericsson-gsm-Map-Ext","1.2.826.0.1249.58.1.0" );
|
|
|
|
|
oid_add_from_string("accessTypeNotAllowed-id","1.3.12.2.1107.3.66.1.2");
|
|
|
|
|
/*oid_add_from_string("map-ac networkLocUp(1) version3(3)","0.4.0.0.1.0.1.3" );
|
|
|
|
|