aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ranap/ranap.cnf
blob: 6b7087e8226166fd1e0011f239e7eb6c7907303b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# ranap.cnf
# ranap conformation file

# $Id$

#.PDU_NEW
RANAP-PDU

#.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
	if (check_col(pinfo->cinfo, COL_INFO))
       col_add_fstr(pinfo->cinfo, COL_INFO, "%s ",
                   val_to_str(ProcedureCode, ranap_ProcedureCode_vals,
                              "unknown message"));
#.FN_PARS ProtocolIE-ID
 
VAL_PTR = &ProtocolIE_ID

#.FN_PARS ProtocolExtensionID

VAL_PTR = &ProtocolIE_ID

#.FN_BODY Value
	
	offset = dissect_ranap_messages(tvb, offset, pinfo, tree);

#.FN_BODY RANAP_PROTOCOL_IES_Value

	offset = dissect_ranap_ies(tvb, offset, pinfo, tree);

#.FN_BODY NAS-PDU  VAL_PTR = &nas_pdu_tvb

tvbuff_t *nas_pdu_tvb=NULL;

%(DEFAULT_BODY)s

	if (nas_pdu_tvb)
		dissector_try_port(nas_pdu_dissector_table, 0x1, nas_pdu_tvb, pinfo, top_tree);

#.FN_BODY SecondValue
	offset = dissect_ranap_SecondValue_ies(tvb, offset, pinfo, tree);

#.FN_BODY FirstValue
	offset = dissect_ranap_FirstValue_ies(tvb, offset, pinfo, tree);

#.FN_BODY Extension

	offset = dissect_ranap_ies(tvb, offset, pinfo, tree);

#.FN_BODY RANAP_PRIVATE_IES_Value
/* FIX ME */

#.FN_BODY PLMNidentity  VAL_PTR = &parameter_tvb

	tvbuff_t *parameter_tvb=NULL;

%(DEFAULT_BODY)s

	 if (!parameter_tvb)
		return offset;
	dissect_e212_mcc_mnc(parameter_tvb, tree, 0);

#.END
#.TYPE_ATTR
ProtocolExtensionID TYPE = FT_UINT8  DISPLAY = BASE_DEC STRINGS = VALS(ranap_ProtocolIE_ID_vals)