2005-10-10 20:42:58 +00:00
|
|
|
# ranap.cnf
|
|
|
|
# ranap conformation file
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
2006-05-27 22:09:07 +00:00
|
|
|
#.EXPORTS
|
|
|
|
TargetID
|
|
|
|
|
2006-05-15 06:36:17 +00:00
|
|
|
#.PDU_NEW
|
|
|
|
RANAP-PDU
|
2005-10-10 20:42:58 +00:00
|
|
|
|
|
|
|
#.NO_EMIT
|
|
|
|
|
|
|
|
#.TYPE_RENAME
|
|
|
|
|
|
|
|
#.FIELD_RENAME
|
|
|
|
|
|
|
|
SDU-ErrorRatio/exponent exponent_1_8
|
|
|
|
|
|
|
|
PrivateIE-Field/id private_id
|
|
|
|
ProtocolExtensionField/id ext_id
|
|
|
|
|
|
|
|
MessageStructure/_item/repetitionNumber item_repetitionNumber
|
|
|
|
PrivateIE-Field/value private_value
|
|
|
|
ProtocolIE-Field/value ie_field_value
|
|
|
|
RAB-DataVolumeReportItem/dl-UnsuccessfullyTransmittedDataVolume rab-dl-UnsuccessfullyTransmittedDataVolume
|
|
|
|
#.FN_PARS RANAP-PDU
|
|
|
|
|
|
|
|
VAL_PTR = &type_of_message
|
|
|
|
|
|
|
|
#.FN_PARS ProcedureCode
|
|
|
|
|
|
|
|
VAL_PTR = &ProcedureCode
|
|
|
|
|
|
|
|
#.FN_FTR ProcedureCode
|
2006-05-22 11:49:50 +00:00
|
|
|
if (check_col(actx->pinfo->cinfo, COL_INFO))
|
|
|
|
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%s ",
|
2005-10-10 20:42:58 +00:00
|
|
|
val_to_str(ProcedureCode, ranap_ProcedureCode_vals,
|
|
|
|
"unknown message"));
|
|
|
|
#.FN_PARS ProtocolIE-ID
|
|
|
|
|
|
|
|
VAL_PTR = &ProtocolIE_ID
|
|
|
|
|
2006-01-21 19:12:52 +00:00
|
|
|
#.FN_PARS ProtocolExtensionID
|
|
|
|
|
|
|
|
VAL_PTR = &ProtocolIE_ID
|
|
|
|
|
2005-10-10 20:42:58 +00:00
|
|
|
#.FN_BODY Value
|
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_ranap_messages(tvb, offset, %(ACTX)s, tree);
|
2005-10-10 20:42:58 +00:00
|
|
|
|
|
|
|
#.FN_BODY RANAP_PROTOCOL_IES_Value
|
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_ranap_ies(tvb, offset, %(ACTX)s, tree);
|
2005-10-10 20:42:58 +00:00
|
|
|
|
2006-05-15 06:36:17 +00:00
|
|
|
#.FN_BODY NAS-PDU VAL_PTR = &nas_pdu_tvb
|
2005-10-10 20:42:58 +00:00
|
|
|
|
|
|
|
tvbuff_t *nas_pdu_tvb=NULL;
|
|
|
|
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
|
|
|
|
if (nas_pdu_tvb)
|
2006-05-22 11:49:50 +00:00
|
|
|
dissector_try_port(nas_pdu_dissector_table, 0x1, nas_pdu_tvb, %(ACTX)s->pinfo, top_tree);
|
2005-10-10 20:42:58 +00:00
|
|
|
|
|
|
|
#.FN_BODY SecondValue
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_ranap_SecondValue_ies(tvb, offset, %(ACTX)s, tree);
|
2005-10-10 20:42:58 +00:00
|
|
|
|
|
|
|
#.FN_BODY FirstValue
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_ranap_FirstValue_ies(tvb, offset, %(ACTX)s, tree);
|
2005-10-10 20:42:58 +00:00
|
|
|
|
|
|
|
#.FN_BODY Extension
|
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_ranap_ies(tvb, offset, %(ACTX)s, tree);
|
2005-10-10 20:42:58 +00:00
|
|
|
|
|
|
|
#.FN_BODY RANAP_PRIVATE_IES_Value
|
|
|
|
/* FIX ME */
|
|
|
|
|
2006-05-15 06:36:17 +00:00
|
|
|
#.FN_BODY PLMNidentity VAL_PTR = ¶meter_tvb
|
2006-01-26 06:54:52 +00:00
|
|
|
|
|
|
|
tvbuff_t *parameter_tvb=NULL;
|
|
|
|
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
|
|
|
|
if (!parameter_tvb)
|
|
|
|
return offset;
|
|
|
|
dissect_e212_mcc_mnc(parameter_tvb, tree, 0);
|
|
|
|
|
2005-10-10 20:42:58 +00:00
|
|
|
#.END
|
2006-01-26 06:54:52 +00:00
|
|
|
#.TYPE_ATTR
|
|
|
|
ProtocolExtensionID TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ranap_ProtocolIE_ID_vals)
|