aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/s1ap/s1ap.cnf
blob: a8a534f876d54957b8827a1d1b7ec4b15a0e7479 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
# s1ap.cnf
# s1ap conformation file

#.OPT
PER
ALIGNED
#.END

#.USE_VALS_EXT
CauseRadioNetwork
ProcedureCode
ProtocolIE-ID

#.EXPORTS ONLY_VALS WS_DLL
CauseRadioNetwork
CauseTransport
CauseNas
CauseProtocol
CauseMisc
Cause

#.EXPORTS
EN-DCSONConfigurationTransfer_PDU
ENB-StatusTransfer-TransparentContainer_PDU
Global-ENB-ID_PDU
Global-ENB-ID
LastVisitedEUTRANCellInformation_PDU
LastVisitedGERANCellInformation_PDU
SourceeNB-ToTargeteNB-TransparentContainer_PDU
SONtransferApplicationIdentity_PDU
SONtransferRequestContainer_PDU
SONtransferRequestContainer
SONtransferResponseContainer_PDU
SONtransferResponseContainer
SONtransferCause_PDU
TargeteNB-ToSourceeNB-TransparentContainer_PDU
UE-HistoryInformation_PDU

#.PDU
EN-DCSONConfigurationTransfer
ENB-StatusTransfer-TransparentContainer
LastVisitedEUTRANCellInformation
LastVisitedGERANCellInformation
S1AP-PDU
SourceeNB-ToTargeteNB-TransparentContainer
SONtransferApplicationIdentity
SONtransferRequestContainer
SONtransferResponseContainer
SONtransferCause
TargeteNB-ToSourceeNB-TransparentContainer
UE-HistoryInformation

#.MAKE_ENUM
HandoverType
ProcedureCode
ProtocolIE-ID
RAT-Type

#.NO_EMIT
TBCD-STRING
SourceBSS-ToTargetBSS-TransparentContainer
TargetBSS-ToSourceBSS-TransparentContainer
SourceRNC-ToTargetRNC-TransparentContainer
TargetRNC-ToSourceRNC-TransparentContainer
SourceNgRanNode-ToTargetNgRanNode-TransparentContainer
TargetNgRanNode-ToSourceNgRanNode-TransparentContainer
ReportingCellList
ReportingCellList-Item

#.OMIT_ASSIGNMENT
# Get rid of unused code warnings
ProtocolIE-FieldPair
ProtocolIE-ContainerPair
ProtocolIE-ContainerPairList
ProtocolError-IE-ContainerList
E-RAB-IE-ContainerPairList
Presence
L3-Information
OldBSS-ToNewBSS-Information
#.END


#.TYPE_RENAME

InitiatingMessage/value InitiatingMessage_value
SuccessfulOutcome/value SuccessfulOutcome_value
UnsuccessfulOutcome/value UnsuccessfulOutcome_value

#.FIELD_RENAME

InitiatingMessage/value initiatingMessagevalue
UnsuccessfulOutcome/value unsuccessfulOutcome_value
SuccessfulOutcome/value successfulOutcome_value


PrivateIE-Field/id private_id
ProtocolExtensionField/id ext_id

#PrivateIE-Field/value private_value
ProtocolIE-Field/value ie_field_value

#.FN_BODY ProtocolIE-ID VAL_PTR=&s1ap_data->protocol_ie_id
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s

#.FN_FTR ProtocolIE-ID
  if (tree) {
    proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s",
                           val_to_str_ext(s1ap_data->protocol_ie_id, &s1ap_ProtocolIE_ID_vals_ext, "unknown (%d)"));
  }
#.END



#.FN_PARS ProtocolIE-Field/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolIEFieldValue
# Currently not used
# FN_PARS ProtocolIE-FieldPair/firstValue  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolIEFieldPairFirstValue
# FN_PARS ProtocolIE-FieldPair/secondValue  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolIEFieldPairSecondValue

#.FN_BODY ProtocolExtensionID  VAL_PTR=&s1ap_data->protocol_extension_id
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s

#.FN_PARS ProtocolExtensionField/extensionValue  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolExtensionFieldExtensionValue

#.FN_BODY ProcedureCode  VAL_PTR = &s1ap_data->procedure_code
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s
#.END

#.FN_PARS InitiatingMessage/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_InitiatingMessageValue
#.FN_HDR InitiatingMessage/value
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->message_type = INITIATING_MESSAGE;
#.FN_PARS SuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_SuccessfulOutcomeValue
#.FN_HDR SuccessfulOutcome/value
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->message_type = SUCCESSFUL_OUTCOME;
#.FN_PARS UnsuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_UnsuccessfulOutcomeValue
#.FN_HDR UnsuccessfulOutcome/value
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->message_type = UNSUCCESSFUL_OUTCOME;

#--- Parameterization is not supported in asn2wrs ---

#ProtocolIE-ContainerList {INTEGER : lowerBound, INTEGER : upperBound, S1AP-PROTOCOL-IES : IEsSetParam} ::=
# SEQUENCE (SIZE (lowerBound..upperBound)) OF
# ProtocolIE-Container {{IEsSetParam}}

#.FN_PARS ProtocolIE-ContainerList
MIN_VAL = asn1_param_get_integer(%(ACTX)s,"lowerBound")
MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
#.FN_HDR ProtocolIE-ContainerList
  static const asn1_par_def_t ProtocolIE_ContainerList_pars[] = {
    { "lowerBound", ASN1_PAR_INTEGER },
    { "upperBound", ASN1_PAR_INTEGER },
    { NULL, (asn1_par_type)0 }
  };
  asn1_stack_frame_check(actx, "ProtocolIE-ContainerList", ProtocolIE_ContainerList_pars);
#.END

#ProtocolIE-ContainerPairList {INTEGER : lowerBound, INTEGER : upperBound, S1AP-PROTOCOL-IES-PAIR : IEsSetParam} ::=
# SEQUENCE (SIZE (lowerBound..upperBound)) OF
# ProtocolIE-ContainerPair {{IEsSetParam}}

# Currently not used
# FN_PARS ProtocolIE-ContainerPairList
#MIN_VAL = asn1_param_get_integer(%(ACTX)s,"lowerBound")
#MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
# FN_HDR ProtocolIE-ContainerPairList
#  static const asn1_par_def_t ProtocolIE_ContainerPairList_pars[] = {
#    { "lowerBound", ASN1_PAR_INTEGER },
#    { "upperBound", ASN1_PAR_INTEGER },
#    { NULL, 0 }
#  };
#  asn1_stack_frame_check(actx, "ProtocolIE-ContainerPairList", ProtocolIE_ContainerPairList_pars);
# END

#E-RAB-IE-ContainerList                  { S1AP-PROTOCOL-IES      : IEsSetParam } ::= ProtocolIE-ContainerList     { 1, maxnoofE-RABs,   {IEsSetParam} }
#.FN_BODY E-RAB-IE-ContainerList
  asn1_stack_frame_push(%(ACTX)s, "ProtocolIE-ContainerList");
  asn1_param_push_integer(%(ACTX)s, 1);
  asn1_param_push_integer(%(ACTX)s, maxnoofE_RABs);
%(DEFAULT_BODY)s
  asn1_stack_frame_pop(%(ACTX)s, "ProtocolIE-ContainerList");
#.END

# E-RAB-IE-ContainerPairList              { S1AP-PROTOCOL-IES-PAIR : IEsSetParam } ::= ProtocolIE-ContainerPairList { 1, maxnoofE-RABs,   {IEsSetParam} }
# Currently not used
# FN_BODY SAEB-IE-ContainerPairList
#  asn1_stack_frame_push(%(ACTX)s, "ProtocolIE-ContainerPairList");
#  asn1_param_push_integer(%(ACTX)s, 1);
#  asn1_param_push_integer(%(ACTX)s, maxnoofE_RABs);
#%(DEFAULT_BODY)s
#  asn1_stack_frame_pop(%(ACTX)s, "ProtocolIE-ContainerPairList");
# END

# Currently not used
# ProtocolError-IE-ContainerList        { S1AP-PROTOCOL-IES      : IEsSetParam } ::= ProtocolIE-ContainerList     { 1, maxnoofE-RABs,   {IEsSetParam} }
# FN_BODY ProtocolError-IE-ContainerList
#  asn1_stack_frame_push(%(ACTX)s, "ProtocolIE-ContainerList");
#  asn1_param_push_integer(%(ACTX)s, 1);
#  asn1_param_push_integer(%(ACTX)s, maxnoofE_RABs);
#%(DEFAULT_BODY)s
#  asn1_stack_frame_pop(%(ACTX)s, "ProtocolIE-ContainerList");
# END

#.FN_HDR PrivateIE-ID
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->obj_id = NULL;

#.FN_BODY PrivateIE-ID/global  FN_VARIANT = _str  VAL_PTR = &s1ap_data->obj_id
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s

#.FN_BODY PrivateIE-Field/value
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  if (s1ap_data->obj_id) {
    offset = call_per_oid_callback(s1ap_data->obj_id, tvb, actx->pinfo, tree, offset, actx, hf_index);
  } else {
%(DEFAULT_BODY)s
  }


# following construction is not supported by asn2wrs
# PLMNidentity ::= TBCD-STRING (SIZE (3))
# TBCD-STRING ::= OCTET STRING

#.FN_BODY PLMNidentity  VAL_PTR = parameter_tvb
  tvbuff_t *parameter_tvb=NULL;
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);

  offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
                                       3, 3, FALSE, &parameter_tvb);
  if(tvb_reported_length(tvb)==0)
    return offset;

  if (!parameter_tvb)
    return offset;
  dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, tree, 0, E212_NONE, FALSE);
  if (s1ap_data->supported_ta) {
    guint32 plmn = tvb_get_ntoh24(parameter_tvb, 0);
    wmem_array_append_one(s1ap_data->supported_ta->plmn, plmn);
  } else if (s1ap_data->tai) {
    s1ap_data->tai->plmn = tvb_get_ntoh24(parameter_tvb, 0);
  }
#.END

#.FN_BODY ENBname VAL_PTR = parameter_tvb
  tvbuff_t *parameter_tvb=NULL;
  int length;
  gboolean is_ascii;

%(DEFAULT_BODY)s

  if (!parameter_tvb)
    return offset;

  length = tvb_reported_length(parameter_tvb);

  is_ascii = tvb_ascii_isprint(parameter_tvb, 0, length);
  if (is_ascii)
     proto_item_append_text(actx->created_item," (%%s)",tvb_format_text(parameter_tvb, 0, length));

#.FN_BODY MMEname VAL_PTR = parameter_tvb
  tvbuff_t *parameter_tvb=NULL;
  int length;
  gboolean is_ascii;

%(DEFAULT_BODY)s

  if (!parameter_tvb)
    return offset;

  length = tvb_reported_length(parameter_tvb);

  is_ascii = tvb_ascii_isprint(parameter_tvb, 0, length);
  if (is_ascii)
     proto_item_append_text(actx->created_item," (%%s)",tvb_format_text(parameter_tvb, 0, length));

#.END


#.FN_BODY NAS-PDU VAL_PTR = &parameter_tvb

tvbuff_t *parameter_tvb=NULL;

%(DEFAULT_BODY)s

  if ((tvb_reported_length(parameter_tvb)>0)&&(nas_eps_handle))
    call_dissector(nas_eps_handle,parameter_tvb,%(ACTX)s->pinfo, tree);

#.FN_BODY LPPa-PDU VAL_PTR = &parameter_tvb

  tvbuff_t *parameter_tvb=NULL;

%(DEFAULT_BODY)s

  if ((tvb_reported_length(parameter_tvb)>0)&&(lppa_handle))
    call_dissector(lppa_handle, parameter_tvb, %(ACTX)s->pinfo, tree);

#.FN_BODY TransportLayerAddress VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb=NULL;
  proto_tree *subtree;
  gint tvb_len;

%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

# The Transport Layer Address signalled in S1-AP messages is a bit string of
# a) 32 bits in case of IPv4 address according to IETF RFC 791 [6]; or
# b) 128 bits in case of IPv6 address according to IETF RFC 2460 [5]; or
# c) 160 bits if both IPv4 and IPv6 addresses are signalled, in which case the IPv4 address is contained in the first 32 bits.
  /* Get the length */
  tvb_len = tvb_reported_length(parameter_tvb);
  subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_TransportLayerAddress);
  if (tvb_len==4) {
    /* IPv4 */
     proto_tree_add_item(subtree, hf_s1ap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
  } else if (tvb_len==16) {
    /* IPv6 */
     proto_tree_add_item(subtree, hf_s1ap_transportLayerAddressIPv6, parameter_tvb, 0, 16, ENC_NA);
  } else if (tvb_len==20) {
    /* IPv4 */
     proto_tree_add_item(subtree, hf_s1ap_transportLayerAddressIPv4, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
    /* IPv6 */
     proto_tree_add_item(subtree, hf_s1ap_transportLayerAddressIPv6, parameter_tvb, 4, 16, ENC_NA);
  }

#.TYPE_ATTR
Port-Number TYPE = FT_UINT16 DISPLAY = BASE_DEC
#.FN_BODY Port-Number VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
  }

#.FN_HDR InitialUEMessage
  /* Set the direction of the message */
  actx->pinfo->link_dir=P2P_DIR_UL;

#.FN_HDR DownlinkNASTransport
  /* Set the direction of the message */
  actx->pinfo->link_dir=P2P_DIR_DL;

#.FN_HDR UplinkNASTransport
  /* Set the direction of the message */
  actx->pinfo->link_dir=P2P_DIR_UL;

#.FN_BODY HandoverType VAL_PTR = &s1ap_data->handover_type_value
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s

#Undef the value before use
#.FN_HDR HandoverRequired
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->handover_type_value = 0xff;
#.FN_HDR HandoverCommand
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->handover_type_value = 0xff;
#.FN_HDR HandoverRequest
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->handover_type_value = 0xff;
#.FN_HDR HandoverRequestAcknowledge
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
  s1ap_data->handover_type_value = 0xff;

#.FN_BODY Source-ToTarget-TransparentContainer VAL_PTR = &parameter_tvb
# I think the message is "directly encoded" into the octet string(no "double encoding")
# (Compare RANAP)
# Annex A
# ...Therefore the container content is encoded according to the
# rules which are specified for the target radio system. In section 8.4.1.2,
# it is described how the container shall be encoded with respect to the scenario
# in which it is used.
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s

  if ((g_s1ap_dissect_container)&&(parameter_tvb) && (tvb_reported_length(parameter_tvb) > 0)) {
    struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
    /* Don't want elements inside container to write to info column */
    col_set_writable(actx->pinfo->cinfo, COL_INFO, FALSE);
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_ToTargetTransparentContainer);

    switch(s1ap_data->handover_type_value){
      /*
      HandoverType ::= ENUMERATED {
      intralte,
      ltetoutran,
      ltetogeran,
      utrantolte,
      gerantolte,
      ...
      eps_to_5gs,
      fivegs_to_eps
      } */
      case intralte:
      /* intralte
        Intra E-UTRAN handover Source eNB to Target eNB
        Transparent Container 36.413
      */
      dissect_s1ap_SourceeNB_ToTargeteNB_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case ltetoutran:
      /* ltetoutran
        Source RNC to Target RNC
        Transparent Container 25.413
      */
      dissect_ranap_SourceRNC_ToTargetRNC_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case ltetogeran:
      /* ltetogeran
        Source BSS to Target BSS
        Transparent Container 48.018
      */
      de_bssgp_source_BSS_to_target_BSS_transp_cont(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
      break;
      case utrantolte:
      /* utrantolte */
      break;
      case gerantolte:
      /* gerantolte */
      break;
      case eps_to_5gs:
      /* eps_to_5gs */
      dissect_ngap_SourceNGRANNode_ToTargetNGRANNode_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case fivegs_to_eps:
      /* fivegs_to_eps */
      break;
      default:
      break;
    }
    /* Enable writing of the column again */
    col_set_writable(actx->pinfo->cinfo, COL_INFO, TRUE);
  }
#.FN_BODY Target-ToSource-TransparentContainer VAL_PTR = &parameter_tvb
# I think the message is "directly encoded" into the octet string(no "double encoding")
# See Target-ToSource-TransparentContainer in RANAP

  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s

  if ((g_s1ap_dissect_container)&&(parameter_tvb) && (tvb_reported_length(parameter_tvb) > 0)) {
    struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_ToSourceTransparentContainer);

    switch(s1ap_data->handover_type_value){
    /*
      HandoverType ::= ENUMERATED {
      intralte,
      ltetoutran,
      ltetogeran,
      utrantolte,
      gerantolte,
      ...
      eps_to_5gs,
      fivegs_to_eps
      } */
      case intralte:
      /* intralte
        Intra E-UTRAN handover Target eNB to Source eNB
        Transparent Container 36.413
      */
      dissect_s1ap_TargeteNB_ToSourceeNB_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case ltetoutran:
      /* ltetoutran
        Target RNC to Source RNC
        Transparent Container 25.413
      */
      dissect_ranap_TargetRNC_ToSourceRNC_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case ltetogeran:
      /* ltetogeran
        Target BSS to Source BSS
        Transparent Container 48.018
      */
      de_bssgp_target_BSS_to_source_BSS_transp_cont(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
      break;
      case utrantolte:
      /* utrantolte */
      break;
      case gerantolte:
      /* gerantolte */
      break;
      case eps_to_5gs:
      /* eps_to_5gs */
      dissect_ngap_TargetNGRANNode_ToSourceNGRANNode_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case fivegs_to_eps:
      /* fivegs_to_eps */
      break;
      default:
      break;
    }
  }
#SourceBSS-ToTargetBSS-TransparentContainer
#SourceRNC-ToTargetRNC-TransparentContainer
#TargetRNC-ToSourceRNC-TransparentContainer
#TargetBSS-ToSourceBSS-TransparentContainer

#.FN_BODY RRC-Container VAL_PTR = &parameter_tvb

# Extracts from the standard:
# Includes the RRC Handover Preparation Information message as defined
# in subclause 10.2.2 of [16].
# [16] 3GPP TS 36.331: "Evolved Universal Terrestrial Radio Access (E-UTRAN); Radio Resource
#  Control (RRC) Protocol Specification3GPP TS 36.331:
# "Evolved Universal Terrestrial Radio Access (E-UTRAN); Radio Resource
# Control (RRC) Protocol Specification.
# :
# 9.2.1.7 Source eNB to Target eNB Transparent Container
# The Source eNB to target eNB Transparent Container IE is an information element
# that is produced by the source eNB and is transmitted to the target eNB.
# For inter-system handovers to E-UTRAN, the IE is transmitted from the external
# handover source to the target eNB. This IE is transparent to the EPC.
#
# RRC Container M OCTET STRING Includes the RRC Handover Preparation Information
# message as defined in subclause 10.2.2 of [16].
# :
# 9.2.1.8 Target eNB to Source eNB Transparent Container
# The Target eNB to Source eNB Transparent Container IE is an information element
# that is produced by the target eNB and is transmitted to the source eNB.
# For inter-system handovers to E-UTRAN, the IE is transmitted from the target
# eNB to the external relocation source.
# :
# RRC Container M OCTET STRING Includes the RRC E-UTRA Handover Command message
# as defined in subclause 10.2.2 of [16].
# --- End quote ---
# Source eNB to Target eNB Transparent Container is present in
# HandoverRequired and HandoverRequest.
# Target eNB to Source eNB Transparent Container is present in
# HandoverCommand and HandoverRequestAcknowledge.

  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_RRCContainer);

    switch(s1ap_data->message_type){
      case INITIATING_MESSAGE:
        /* 9.2.1.7 Source eNB to Target eNB Transparent Container */
        if ((s1ap_is_nbiot_ue(actx->pinfo) && (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_AUTOMATIC)) ||
            (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_NBIOT)) {
          TRY {
              dissect_lte_rrc_HandoverPreparationInformation_NB_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
          }
          CATCH_BOUNDS_ERRORS {
              show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
         }
         ENDTRY;

        } else {
          TRY {
              dissect_lte_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
          }
          CATCH_BOUNDS_ERRORS {
              show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
         }
         ENDTRY;
        }
        break;
      case SUCCESSFUL_OUTCOME:
        /* 9.2.1.8 Target eNB to Source eNB Transparent Container */
          TRY {
              dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
          }
          CATCH_BOUNDS_ERRORS {
              show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
         }
         ENDTRY;

        break;
      default:
        break;
    }
  }

#.FN_BODY UE-HistoryInformationFromTheUE VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_UE_HistoryInformationFromTheUE);
   TRY {
        dissect_lte_rrc_VisitedCellInfoList_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;

  }

#.FN_BODY UERadioCapability VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    volatile dissector_handle_t handle;
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_UERadioCapability);
    if ((s1ap_is_nbiot_ue(actx->pinfo) && (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_AUTOMATIC)) ||
        (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_NBIOT)) {
      handle = lte_rrc_ue_radio_access_cap_info_nb_handle;
    } else {
      handle = lte_rrc_ue_radio_access_cap_info_handle;
    }
    if (handle) {
      TRY {
        call_dissector(handle, parameter_tvb, actx->pinfo, subtree);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;
    }
  }

#.TYPE_ATTR
Threshold-RSRP DISPLAY = BASE_CUSTOM STRINGS = CF_FUNC(s1ap_Threshold_RSRP_fmt)

#.TYPE_ATTR
Threshold-RSRQ DISPLAY = BASE_CUSTOM STRINGS = CF_FUNC(s1ap_Threshold_RSRQ_fmt)

# 9.2.3.24 RIM Information
# Contains the BSSGP RIM PDU
#.FN_BODY RIMInformation VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s

  if (!parameter_tvb)
    return offset;

  subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_RIMInformation);
  if ((tvb_reported_length(parameter_tvb)>0)&&(bssgp_handle)){
    col_set_fence(%(ACTX)s->pinfo->cinfo, COL_INFO);
    call_dissector(bssgp_handle,parameter_tvb,%(ACTX)s->pinfo, subtree);
  }


#.FN_BODY Cdma2000PDU VAL_PTR = &parameter_tvb

  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

if (gcsna_handle) {
        subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_Cdma2000PDU);
        call_dissector(gcsna_handle, parameter_tvb, %(ACTX)s->pinfo, subtree);
}


#.FN_BODY Cdma2000SectorID VAL_PTR = &parameter_tvb
/* 9.2.1.25
 * This IE is set to CDMA2000 Reference Cell ID
 * corresponding to the HRPD/1xRTT sector under
 * the HRPD AN/1xBS to which the eNB has initiated the UE
 * to handover to. The CDMA2000 Reference Cell
 * ID is statically configured in the eNB.
 */
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_Cdma2000SectorID);
  dissect_a21_ie_common(parameter_tvb, %(ACTX)s->pinfo, NULL/* Top tree not needed */, subtree, 0,  0 /* message_type not needed */);

#.FN_BODY UERadioCapabilityForPaging VAL_PTR = &parameter_tvb
# 9.2.1.98 UE Radio Capability for Paging
# Includes the UERadioPagingInformation message as defined in 10.2.2 of TS 36.331 [16].

  tvbuff_t *parameter_tvb;
  proto_tree *subtree;

%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    volatile dissector_handle_t handle;
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_UERadioPagingInformation);
    if ((s1ap_is_nbiot_ue(actx->pinfo) && (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_AUTOMATIC)) ||
        (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_NBIOT)) {
      handle = lte_rrc_ue_radio_paging_info_nb_handle;
    } else {
      handle = lte_rrc_ue_radio_paging_info_handle;
    }
    if (handle) {
      TRY {
        call_dissector(handle, parameter_tvb, actx->pinfo, subtree);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;
    }
  }

#.FN_BODY CELevel VAL_PTR = &parameter_tvb
# 9.2.1.109 Cell Identifier and Coverage Enhancement Level
# Includes the UEPagingCoverageInformation message as defined in 10.2.2 of TS 36.331
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_CELevel);
    if ((s1ap_is_nbiot_ue(actx->pinfo) && (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_AUTOMATIC)) ||
        (g_s1ap_dissect_lte_container_as == S1AP_LTE_CONTAINER_NBIOT)) {
      TRY {
        dissect_lte_rrc_UEPagingCoverageInformation_NB_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;
    } else {
      TRY {
        dissect_lte_rrc_UEPagingCoverageInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;
    }
  }

#.FN_BODY UE-RLF-Report-Container VAL_PTR = &parameter_tvb
# 9.2.3.40 RLF Report Information
# Includes the rlf-Report-r9 contained in UEInformationResponse message as defined in TS 36.331
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_UE_RLF_Report_Container);
      TRY {
        dissect_lte_rrc_RLF_Report_r9_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;
  }

#.FN_BODY UE-RLF-Report-Container-for-extended-bands VAL_PTR = &parameter_tvb
# 9.2.3.40 RLF Report Information
# Includes the rlf-Report-v9e0 contained in UEInformationResponse message as defined in TS 36.331
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_UE_RLF_Report_Container_for_extended_bands);
    dissect_lte_rrc_RLF_Report_v9e0_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
  }

#.FN_BODY TooEarlyInterRATHOReportReportFromEUTRAN/uERLFReportContainer VAL_PTR = &parameter_tvb
# B.1.17 Failure Event Report
# Includes the RLF Report contained in the UEInformationResponse message (TS 36.331 [16])
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_UE_RLF_Report_Container);
      TRY {
        dissect_lte_rrc_RLF_Report_r9_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;
  }

#.TYPE_ATTR
ProtocolExtensionID TYPE = FT_UINT8  DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = &s1ap_ProtocolIE_ID_vals_ext

#.FN_BODY S1-Message VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_S1_Message);
    col_set_fence(actx->pinfo->cinfo, COL_INFO);
    call_dissector(s1ap_handle, parameter_tvb, actx->pinfo, subtree);

#.FN_BODY E-UTRAN-Trace-ID VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;
  subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_E_UTRAN_Trace_ID);
  dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, subtree, 0, E212_NONE, FALSE);
  proto_tree_add_item(subtree, hf_s1ap_E_UTRAN_Trace_ID_TraceID, parameter_tvb, 3, 3, ENC_BIG_ENDIAN);
  proto_tree_add_item(subtree, hf_s1ap_E_UTRAN_Trace_ID_TraceRecordingSessionReference, parameter_tvb, 6, 2, ENC_BIG_ENDIAN);

#.FN_BODY InterfacesToTrace VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if(parameter_tvb){
    const gint *fields[] = {
      &hf_s1ap_interfacesToTrace_S1_MME,
      &hf_s1ap_interfacesToTrace_X2,
      &hf_s1ap_interfacesToTrace_Uu,
      &hf_s1ap_interfacesToTrace_F1_C,
      &hf_s1ap_interfacesToTrace_E1,
      &hf_s1ap_interfacesToTrace_Reserved,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_InterfacesToTrace);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
BitRate DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_bit_sec

#.TYPE_ATTR
MME-Code TYPE = FT_UINT8 DISPLAY = BASE_DEC_HEX
#.FN_BODY MME-Code VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
MME-Group-ID TYPE = FT_UINT16 DISPLAY = BASE_DEC_HEX
#.FN_BODY MME-Group-ID VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
  }

#.FN_BODY EncryptionAlgorithms VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if(parameter_tvb){
    const gint *fields[] = {
      &hf_s1ap_encryptionAlgorithms_EEA1,
      &hf_s1ap_encryptionAlgorithms_EEA2,
      &hf_s1ap_encryptionAlgorithms_EEA3,
      &hf_s1ap_encryptionAlgorithms_Reserved,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_EncryptionAlgorithms);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
  }

#.FN_BODY IntegrityProtectionAlgorithms VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if(parameter_tvb){
    const gint *fields[] = {
      &hf_s1ap_integrityProtectionAlgorithms_EIA1,
      &hf_s1ap_integrityProtectionAlgorithms_EIA2,
      &hf_s1ap_integrityProtectionAlgorithms_EIA3,
      &hf_s1ap_integrityProtectionAlgorithms_Reserved,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_IntegrityProtectionAlgorithms);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
Time-UE-StayedInCell DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.TYPE_ATTR
Time-UE-StayedInCell-EnhancedGranularity DISPLAY = BASE_CUSTOM STRINGS = CF_FUNC(s1ap_Time_UE_StayedInCell_EnhancedGranularity_fmt)

#.FN_BODY LastVisitedNGRANCellInformation VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_LastVisitedNGRANCellInformation);
    TRY {
        dissect_ngap_LastVisitedNGRANCellInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;
  }

#.FN_BODY LastVisitedUTRANCellInformation VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
  proto_tree *subtree;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_LastVisitedUTRANCellInformation);
    TRY {
        dissect_ranap_LastVisitedUTRANCell_Item_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      }
      CATCH_BOUNDS_ERRORS {
        show_exception(parameter_tvb, actx->pinfo, subtree, EXCEPT_CODE, GET_MESSAGE);
      }
      ENDTRY;

  }

#.TYPE_ATTR
MessageIdentifier TYPE = FT_UINT16 DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = &lte_rrc_messageIdentifier_vals_ext

#.FN_BODY MessageIdentifier VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
  }

#.FN_BODY SerialNumber VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_SerialNumber);
    proto_tree_add_item(subtree, hf_s1ap_SerialNumber_gs, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
    proto_tree_add_item(subtree, hf_s1ap_SerialNumber_msg_code, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
    proto_tree_add_item(subtree, hf_s1ap_SerialNumber_upd_nb, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
RepetitionPeriod DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.FN_BODY WarningType VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_WarningType);
    proto_tree_add_item(subtree, hf_s1ap_WarningType_value, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
    proto_tree_add_item(subtree, hf_s1ap_WarningType_emergency_user_alert, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
    proto_tree_add_item(subtree, hf_s1ap_WarningType_popup, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
  }

#.FN_BODY DataCodingScheme VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
    proto_tree *subtree;

    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_DataCodingScheme);
    s1ap_data->data_coding_scheme = dissect_cbs_data_coding_scheme(parameter_tvb, actx->pinfo, subtree, 0);
  }

#.FN_BODY WarningMessageContents VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_WarningMessageContents);
    dissect_s1ap_warningMessageContents(parameter_tvb, subtree, actx->pinfo, s1ap_data->data_coding_scheme, hf_s1ap_WarningMessageContents_nb_pages, hf_s1ap_WarningMessageContents_decoded_page);
  }

#.FN_BODY MSClassmark2 VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_MSClassmark);
    de_ms_cm_2(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
  }

#.FN_BODY MSClassmark3 VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_MSClassmark);
    de_ms_cm_3(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
  }

#.TYPE_ATTR
EUTRANRoundTripDelayEstimationInfo DISPLAY = BASE_CUSTOM STRINGS = CF_FUNC(s1ap_EUTRANRoundTripDelayEstimationInfo_fmt)

#.TYPE_ATTR
ExtendedRepetitionPeriod DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.FN_BODY MeasurementsToActivate VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if(parameter_tvb){
    const gint *fields[] = {
      &hf_s1ap_measurementsToActivate_M1,
      &hf_s1ap_measurementsToActivate_M2,
      &hf_s1ap_measurementsToActivate_M3,
      &hf_s1ap_measurementsToActivate_M4,
      &hf_s1ap_measurementsToActivate_M5,
      &hf_s1ap_measurementsToActivate_LoggingM1FromEventTriggered,
      &hf_s1ap_measurementsToActivate_M6,
      &hf_s1ap_measurementsToActivate_M7,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_MeasurementsToActivate);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
  }

#.FN_BODY MDT-Location-Info VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if(parameter_tvb){
    const gint *fields[] = {
      &hf_s1ap_MDT_Location_Info_GNSS,
      &hf_s1ap_MDT_Location_Info_E_CID,
      &hf_s1ap_MDT_Location_Info_Reserved,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_MDT_Location_Info);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
LHN-ID TYPE=FT_STRING DISPLAY = STR_UNICODE
#.FN_BODY LHN-ID VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA);
#.END

#.TYPE_ATTR
ExpectedActivityPeriod DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.TYPE_ATTR
ExpectedIdlePeriod DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.FN_BODY E-RABUsageReportItem/startTimestamp VAL_PTR = &timestamp_tvb
  tvbuff_t *timestamp_tvb = NULL;
%(DEFAULT_BODY)s

#.FN_FTR E-RABUsageReportItem/startTimestamp
  if (timestamp_tvb) {
    proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0));
  }

#.FN_BODY E-RABUsageReportItem/endTimestamp VAL_PTR = &timestamp_tvb
  tvbuff_t *timestamp_tvb = NULL;
%(DEFAULT_BODY)s

#.FN_FTR E-RABUsageReportItem/endTimestamp
  if (timestamp_tvb) {
    proto_item_append_text(actx->created_item, " (%s)", tvb_ntp_fmt_ts_sec(timestamp_tvb, 0));
  }

#.TYPE_ATTR
E-RABUsageReportItem/usageCountUL DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_octet_octets

#.TYPE_ATTR
E-RABUsageReportItem/usageCountDL DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_octet_octets

#.TYPE_ATTR
ExtendedBitRate DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_bit_sec

#.FN_BODY NRencryptionAlgorithms VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    const gint *fields[] = {
      &hf_s1ap_NRencryptionAlgorithms_NEA1,
      &hf_s1ap_NRencryptionAlgorithms_NEA2,
      &hf_s1ap_NRencryptionAlgorithms_NEA3,
      &hf_s1ap_NRencryptionAlgorithms_Reserved,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_NRencryptionAlgorithms);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
  }

#.FN_BODY NRintegrityProtectionAlgorithms VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    const gint *fields[] = {
      &hf_s1ap_NRintegrityProtectionAlgorithms_NIA1,
      &hf_s1ap_NRintegrityProtectionAlgorithms_NIA2,
      &hf_s1ap_NRintegrityProtectionAlgorithms_NIA3,
      &hf_s1ap_NRintegrityProtectionAlgorithms_Reserved,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_NRintegrityProtectionAlgorithms);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 2, fields, ENC_BIG_ENDIAN);
  }

#.FN_BODY UE-Application-Layer-Measurement-Capability VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if(parameter_tvb){
    const gint *fields[] = {
      &hf_s1ap_UE_Application_Layer_Measurement_Capability_QoE_Measurement_for_streaming_service,
      &hf_s1ap_UE_Application_Layer_Measurement_Capability_QoE_Measurement_for_MTSI_service,
      &hf_s1ap_UE_Application_Layer_Measurement_Capability_Reserved,
      NULL
    };
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_UE_Application_Layer_Measurement_Capability);
    proto_tree_add_bitmask_list(subtree, parameter_tvb, 0, 1, fields, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
TAC TYPE = FT_UINT16 DISPLAY = BASE_DEC_HEX
#.FN_BODY TAC VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
    if (s1ap_data->supported_ta) {
      s1ap_data->supported_ta->tac = tvb_get_ntohs(parameter_tvb, 0);
    } else if (s1ap_data->tai) {
      s1ap_data->tai->tac = tvb_get_ntohs(parameter_tvb, 0);
    }
  }

#.TYPE_ATTR
LAC TYPE = FT_UINT16 DISPLAY = BASE_DEC_HEX
#.FN_BODY LAC VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
RAC TYPE = FT_UINT8 DISPLAY = BASE_DEC_HEX
#.FN_BODY RAC VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 1, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
FiveGSTAC TYPE = FT_UINT24 DISPLAY = BASE_DEC_HEX
#.FN_BODY FiveGSTAC VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 3, ENC_BIG_ENDIAN);
  }

#.TYPE_ATTR
M-TMSI TYPE = FT_UINT32 DISPLAY = BASE_DEC_HEX
#.FN_BODY M-TMSI VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 4, ENC_BIG_ENDIAN);
  }

#.FN_BODY IMSI VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_IMSI);
    dissect_e212_imsi(parameter_tvb, actx->pinfo, subtree, 0, tvb_reported_length(parameter_tvb), FALSE);
  }

#.FN_BODY NASSecurityParametersfromE-UTRAN VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_NASSecurityParameters);
    de_emm_sec_par_from_eutra(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
  }

#.FN_BODY NASSecurityParameterstoE-UTRAN VAL_PTR = &parameter_tvb
  tvbuff_t *parameter_tvb;
%(DEFAULT_BODY)s
  if (parameter_tvb) {
    proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_NASSecurityParameters);
    de_emm_sec_par_to_eutra(parameter_tvb, subtree, actx->pinfo, 0, tvb_reported_length(parameter_tvb), NULL, 0);
  }

#.FN_HDR SupportedTAs-Item
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);

  if (!PINFO_FD_VISITED(actx->pinfo) &&
      (s1ap_data->message_type == INITIATING_MESSAGE) &&
      ((s1ap_data->procedure_code == id_S1Setup) ||
       (s1ap_data->procedure_code == id_ENBConfigurationUpdate))) {
    s1ap_data->supported_ta = wmem_new0(wmem_packet_scope(), struct s1ap_supported_ta);
    s1ap_data->supported_ta->plmn = wmem_array_new(wmem_packet_scope(), sizeof(guint32));
  }

#.FN_FTR SupportedTAs-Item
  s1ap_data->supported_ta = NULL;

#.FN_BODY RAT-Type VAL_PTR = &rat_type
  guint32 rat_type = 0xffffffff;
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s
  if (s1ap_data->s1ap_conv && s1ap_data->supported_ta && (rat_type == nbiot)) {
    guint64 *key;
    guint i;

    for (i = 0; i < wmem_array_get_count(s1ap_data->supported_ta->plmn); i++) {
      key = wmem_new(wmem_file_scope(), guint64);
      *key = ((*(guint32*)wmem_array_index(s1ap_data->supported_ta->plmn, i)) << 16) | s1ap_data->supported_ta->tac;
      wmem_map_insert(s1ap_data->s1ap_conv->nbiot_ta, key, GUINT_TO_POINTER(1));
    }
  }

#.FN_BODY ENB-UE-S1AP-ID VAL_PTR = &enb_ue_s1ap_id
  guint32 enb_ue_s1ap_id;
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);
%(DEFAULT_BODY)s
  if (hf_index == hf_s1ap_eNB_UE_S1AP_ID) {
    proto_item *item;
    item = proto_tree_add_uint(tree, hf_s1ap_ENB_UE_S1AP_ID_PDU, tvb, offset, 0 , enb_ue_s1ap_id );
    proto_item_set_hidden(item);
  }

  s1ap_data->enb_ue_s1ap_id = (guint16)enb_ue_s1ap_id;

#.FN_BODY MME-UE-S1AP-ID VAL_PTR = &mme_ue_s1ap_id
  guint32 mme_ue_s1ap_id;
%(DEFAULT_BODY)s
  if (hf_index == hf_s1ap_mME_UE_S1AP_ID) {
    proto_item *item;
    item = proto_tree_add_uint(tree, hf_s1ap_MME_UE_S1AP_ID_PDU, tvb, offset, 0 , mme_ue_s1ap_id );
    proto_item_set_hidden(item);
  }

#.FN_BODY TAI
  struct s1ap_private_data *s1ap_data = s1ap_get_private_data(actx->pinfo);

  s1ap_data->tai = wmem_new0(wmem_packet_scope(), struct s1ap_tai);
%(DEFAULT_BODY)s
  if (!PINFO_FD_VISITED(actx->pinfo) && s1ap_data->s1ap_conv &&
      (s1ap_data->message_type == INITIATING_MESSAGE) &&
      (s1ap_data->procedure_code == id_initialUEMessage)) {
    guint64 key = (s1ap_data->tai->plmn << 16) | s1ap_data->tai->tac;

    if (wmem_map_lookup(s1ap_data->s1ap_conv->nbiot_ta, &key)) {
      wmem_tree_key_t tree_key[3];
      guint32 *id = wmem_new(wmem_file_scope(), guint32);

      *id = s1ap_data->enb_ue_s1ap_id;
      tree_key[0].length = 1;
      tree_key[0].key = id;
      tree_key[1].length = 1;
      tree_key[1].key = &actx->pinfo->num;
      tree_key[2].length = 0;
      tree_key[2].key = NULL;
      wmem_tree_insert32_array(s1ap_data->s1ap_conv->nbiot_enb_ue_s1ap_id, tree_key, id);
    }
  }

#.TYPE_ATTR
Packet-LossRate DISPLAY = BASE_CUSTOM STRINGS = CF_FUNC(s1ap_Packet_LossRate_fmt)

#.TYPE_ATTR
BluetoothName TYPE=FT_STRING DISPLAY = STR_UNICODE
#.FN_BODY BluetoothName VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA);
#.END

#.TYPE_ATTR
WLANName TYPE=FT_STRING DISPLAY = STR_UNICODE
#.FN_BODY WLANName VAL_PTR = &parameter_tvb HF_INDEX = -1
  tvbuff_t *parameter_tvb = NULL;
%(DEFAULT_BODY)s
  actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, -1, ENC_UTF_8|ENC_NA);
#.END

#.TYPE_ATTR
Subscription-Based-UE-DifferentiationInfo/periodicTime DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.TYPE_ATTR
ScheduledCommunicationTime/timeofDayStart DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.TYPE_ATTR
ScheduledCommunicationTime/timeofDayEnd DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_seconds

#.TYPE_ATTR
TrafficLoadReductionIndication DISPLAY=BASE_DEC|BASE_UNIT_STRING STRINGS=&units_percent

#.ASSIGN_VALUE_TO_TYPE  # S1AP does not have constants assigned to types, they are pure INTEGER
# ProcedureCode

id-HandoverPreparation                  ProcedureCode
id-HandoverResourceAllocation           ProcedureCode
id-HandoverNotification                 ProcedureCode
id-PathSwitchRequest                    ProcedureCode
id-HandoverCancel                       ProcedureCode
id-E-RABSetup                           ProcedureCode
id-E-RABModify                          ProcedureCode
id-E-RABRelease                         ProcedureCode
id-E-RABReleaseIndication               ProcedureCode
id-InitialContextSetup                  ProcedureCode
id-Paging                               ProcedureCode
id-downlinkNASTransport                 ProcedureCode
id-initialUEMessage                     ProcedureCode
id-uplinkNASTransport                   ProcedureCode
id-Reset                                ProcedureCode
id-ErrorIndication                      ProcedureCode
id-NASNonDeliveryIndication             ProcedureCode
id-S1Setup                              ProcedureCode
id-UEContextReleaseRequest              ProcedureCode
id-DownlinkS1cdma2000tunnelling         ProcedureCode
id-UplinkS1cdma2000tunnelling           ProcedureCode
id-UEContextModification                ProcedureCode
id-UECapabilityInfoIndication           ProcedureCode
id-UEContextRelease                     ProcedureCode
id-eNBStatusTransfer                    ProcedureCode
id-MMEStatusTransfer                    ProcedureCode
id-DeactivateTrace                      ProcedureCode
id-TraceStart                           ProcedureCode
id-TraceFailureIndication               ProcedureCode
id-ENBConfigurationUpdate               ProcedureCode
id-MMEConfigurationUpdate               ProcedureCode
id-LocationReportingControl             ProcedureCode
id-LocationReportingFailureIndication   ProcedureCode
id-LocationReport                       ProcedureCode
id-OverloadStart                        ProcedureCode
id-OverloadStop                         ProcedureCode
id-WriteReplaceWarning                  ProcedureCode
id-eNBDirectInformationTransfer         ProcedureCode
id-MMEDirectInformationTransfer         ProcedureCode
id-PrivateMessage                       ProcedureCode
id-eNBConfigurationTransfer             ProcedureCode
id-MMEConfigurationTransfer             ProcedureCode
id-CellTrafficTrace                     ProcedureCode
id-Kill                                 ProcedureCode
id-downlinkUEAssociatedLPPaTransport    ProcedureCode
id-uplinkUEAssociatedLPPaTransport      ProcedureCode
id-downlinkNonUEAssociatedLPPaTransport ProcedureCode
id-uplinkNonUEAssociatedLPPaTransport   ProcedureCode
id-UERadioCapabilityMatch               ProcedureCode
id-PWSRestartIndication                 ProcedureCode
id-E-RABModificationIndication          ProcedureCode
id-PWSFailureIndication                 ProcedureCode
id-RerouteNASRequest                    ProcedureCode
id-UEContextModificationIndication      ProcedureCode
id-ConnectionEstablishmentIndication    ProcedureCode
id-UEContextSuspend                     ProcedureCode
id-UEContextResume                      ProcedureCode
id-NASDeliveryIndication                ProcedureCode
id-RetrieveUEInformation                ProcedureCode
id-UEInformationTransfer                ProcedureCode
id-eNBCPRelocationIndication            ProcedureCode
id-MMECPRelocationIndication            ProcedureCode
id-SecondaryRATDataUsageReport          ProcedureCode

# ProtocolIE-ID
id-MME-UE-S1AP-ID                                   ProtocolIE-ID
id-HandoverType                                     ProtocolIE-ID
id-Cause                                            ProtocolIE-ID
id-TargetID                                         ProtocolIE-ID
id-eNB-UE-S1AP-ID                                   ProtocolIE-ID
id-E-RABSubjecttoDataForwardingList                 ProtocolIE-ID
id-E-RABtoReleaseListHOCmd                          ProtocolIE-ID
id-E-RABDataForwardingItem                          ProtocolIE-ID
id-E-RABReleaseItemBearerRelComp                    ProtocolIE-ID
id-E-RABToBeSetupListBearerSUReq                    ProtocolIE-ID
id-E-RABToBeSetupItemBearerSUReq                    ProtocolIE-ID
id-E-RABAdmittedList                                ProtocolIE-ID
id-E-RABFailedToSetupListHOReqAck                   ProtocolIE-ID
id-E-RABAdmittedItem                                ProtocolIE-ID
id-E-RABFailedtoSetupItemHOReqAck                   ProtocolIE-ID
id-E-RABToBeSwitchedDLList                          ProtocolIE-ID
id-E-RABToBeSwitchedDLItem                          ProtocolIE-ID
id-E-RABToBeSetupListCtxtSUReq                      ProtocolIE-ID
id-TraceActivation                                  ProtocolIE-ID
id-NAS-PDU                                          ProtocolIE-ID
id-E-RABToBeSetupItemHOReq                          ProtocolIE-ID
id-E-RABSetupListBearerSURes                        ProtocolIE-ID
id-E-RABFailedToSetupListBearerSURes                ProtocolIE-ID
id-E-RABToBeModifiedListBearerModReq                ProtocolIE-ID
id-E-RABModifyListBearerModRes                      ProtocolIE-ID
id-E-RABFailedToModifyList                          ProtocolIE-ID
id-E-RABToBeReleasedList                            ProtocolIE-ID
id-E-RABFailedToReleaseList                         ProtocolIE-ID
id-E-RABItem                                        ProtocolIE-ID
id-E-RABToBeModifiedItemBearerModReq                ProtocolIE-ID
id-E-RABModifyItemBearerModRes                      ProtocolIE-ID
id-E-RABReleaseItem                                 ProtocolIE-ID
id-E-RABSetupItemBearerSURes                        ProtocolIE-ID
id-SecurityContext                                  ProtocolIE-ID
id-HandoverRestrictionList                          ProtocolIE-ID
id-UEPagingID                                       ProtocolIE-ID
id-pagingDRX                                        ProtocolIE-ID
id-TAIList                                          ProtocolIE-ID
id-TAIItem                                          ProtocolIE-ID
id-E-RABFailedToSetupListCtxtSURes                  ProtocolIE-ID
id-E-RABReleaseItemHOCmd                            ProtocolIE-ID
id-E-RABSetupItemCtxtSURes                          ProtocolIE-ID
id-E-RABSetupListCtxtSURes                          ProtocolIE-ID
id-E-RABToBeSetupItemCtxtSUReq                      ProtocolIE-ID
id-E-RABToBeSetupListHOReq                          ProtocolIE-ID
id-GERANtoLTEHOInformationRes                       ProtocolIE-ID
id-UTRANtoLTEHOInformationRes                       ProtocolIE-ID
id-CriticalityDiagnostics                           ProtocolIE-ID
id-eNBname                                          ProtocolIE-ID
id-MMEname                                          ProtocolIE-ID
id-Global-ENB-ID                                    ProtocolIE-ID
id-ServedPLMNs                                      ProtocolIE-ID
id-SupportedTAs                                     ProtocolIE-ID
id-TimeToWait                                       ProtocolIE-ID
id-uEaggregateMaximumBitrate                        ProtocolIE-ID
id-TAI                                              ProtocolIE-ID
id-E-RABReleaseListBearerRelComp                    ProtocolIE-ID
id-cdma2000PDU                                      ProtocolIE-ID
id-cdma2000RATType                                  ProtocolIE-ID
id-cdma2000SectorID                                 ProtocolIE-ID
id-SecurityKey                                      ProtocolIE-ID
id-UERadioCapability                                ProtocolIE-ID
id-GUMMEI-ID                                        ProtocolIE-ID
id-E-RABInformationListItem                         ProtocolIE-ID
id-Direct-Forwarding-Path-Availability              ProtocolIE-ID
id-UEIdentityIndexValue                             ProtocolIE-ID
id-cdma2000HOStatus                                 ProtocolIE-ID
id-cdma2000HORequiredIndication                     ProtocolIE-ID
id-E-UTRAN-Trace-ID                                 ProtocolIE-ID
id-RelativeMMECapacity                              ProtocolIE-ID
id-SourceMME-UE-S1AP-ID                             ProtocolIE-ID
id-Bearers-SubjectToStatusTransfer-Item             ProtocolIE-ID
id-eNB-StatusTransfer-TransparentContainer          ProtocolIE-ID
id-UE-associatedLogicalS1-ConnectionItem            ProtocolIE-ID
id-ResetType                                        ProtocolIE-ID
id-UE-associatedLogicalS1-ConnectionListResAck      ProtocolIE-ID
id-E-RABToBeSwitchedULItem                          ProtocolIE-ID
id-E-RABToBeSwitchedULList                          ProtocolIE-ID
id-S-TMSI                                           ProtocolIE-ID
id-cdma2000OneXRAND                                 ProtocolIE-ID
id-RequestType                                      ProtocolIE-ID
id-UE-S1AP-IDs                                      ProtocolIE-ID
id-EUTRAN-CGI                                       ProtocolIE-ID
id-OverloadResponse                                 ProtocolIE-ID
id-cdma2000OneXSRVCCInfo                            ProtocolIE-ID
id-E-RABFailedToBeReleasedList                      ProtocolIE-ID
id-Source-ToTarget-TransparentContainer             ProtocolIE-ID
id-ServedGUMMEIs                                    ProtocolIE-ID
id-SubscriberProfileIDforRFP                        ProtocolIE-ID
id-UESecurityCapabilities                           ProtocolIE-ID
id-CSFallbackIndicator                              ProtocolIE-ID
id-CNDomain                                         ProtocolIE-ID
id-E-RABReleasedList                                ProtocolIE-ID
id-MessageIdentifier                                ProtocolIE-ID
id-SerialNumber                                     ProtocolIE-ID
id-WarningAreaList                                  ProtocolIE-ID
id-RepetitionPeriod                                 ProtocolIE-ID
id-NumberofBroadcastRequest                         ProtocolIE-ID
id-WarningType                                      ProtocolIE-ID
id-WarningSecurityInfo                              ProtocolIE-ID
id-DataCodingScheme                                 ProtocolIE-ID
id-WarningMessageContents                           ProtocolIE-ID
id-BroadcastCompletedAreaList                       ProtocolIE-ID
id-Inter-SystemInformationTransferTypeEDT           ProtocolIE-ID
id-Inter-SystemInformationTransferTypeMDT           ProtocolIE-ID
id-Target-ToSource-TransparentContainer             ProtocolIE-ID
id-SRVCCOperationPossible                           ProtocolIE-ID
id-SRVCCHOIndication                                ProtocolIE-ID
id-NAS-DownlinkCount                                ProtocolIE-ID
id-CSG-Id                                           ProtocolIE-ID
id-CSG-IdList                                       ProtocolIE-ID
id-SONConfigurationTransferECT                      ProtocolIE-ID
id-SONConfigurationTransferMCT                      ProtocolIE-ID
id-TraceCollectionEntityIPAddress                   ProtocolIE-ID
id-MSClassmark2                                     ProtocolIE-ID
id-MSClassmark3                                     ProtocolIE-ID
id-RRC-Establishment-Cause                          ProtocolIE-ID
id-NASSecurityParametersfromE-UTRAN                 ProtocolIE-ID
id-NASSecurityParameterstoE-UTRAN                   ProtocolIE-ID
id-DefaultPagingDRX                                 ProtocolIE-ID
id-Source-ToTarget-TransparentContainer-Secondary   ProtocolIE-ID
id-Target-ToSource-TransparentContainer-Secondary   ProtocolIE-ID
id-EUTRANRoundTripDelayEstimationInfo               ProtocolIE-ID
id-BroadcastCancelledAreaList                       ProtocolIE-ID
id-ConcurrentWarningMessageIndicator                ProtocolIE-ID
id-Data-Forwarding-Not-Possible                     ProtocolIE-ID
id-ExtendedRepetitionPeriod                         ProtocolIE-ID
id-CellAccessMode                                   ProtocolIE-ID
id-CSGMembershipStatus                              ProtocolIE-ID
id-LPPa-PDU                                         ProtocolIE-ID
id-Routing-ID                                       ProtocolIE-ID
id-Time-Synchronisation-Info                        ProtocolIE-ID
id-PS-ServiceNotAvailable                           ProtocolIE-ID
id-PagingPriority                                   ProtocolIE-ID
id-x2TNLConfigurationInfo                           ProtocolIE-ID
id-eNBX2ExtendedTransportLayerAddresses             ProtocolIE-ID
id-GUMMEIList                                       ProtocolIE-ID
id-GW-TransportLayerAddress                         ProtocolIE-ID
id-Correlation-ID                                   ProtocolIE-ID
id-SourceMME-GUMMEI                                 ProtocolIE-ID
id-MME-UE-S1AP-ID-2                                 ProtocolIE-ID
id-RegisteredLAI                                    ProtocolIE-ID
id-RelayNode-Indicator                              ProtocolIE-ID
id-TrafficLoadReductionIndication                   ProtocolIE-ID
id-MDTConfiguration                                 ProtocolIE-ID
id-MMERelaySupportIndicator                         ProtocolIE-ID
id-GWContextReleaseIndication                       ProtocolIE-ID
id-ManagementBasedMDTAllowed                        ProtocolIE-ID
id-PrivacyIndicator                                 ProtocolIE-ID
id-Time-UE-StayedInCell-EnhancedGranularity         ProtocolIE-ID
id-HO-Cause                                         ProtocolIE-ID
id-VoiceSupportMatchIndicator                       ProtocolIE-ID
id-GUMMEIType                                       ProtocolIE-ID
id-M3Configuration                                  ProtocolIE-ID
id-M4Configuration                                  ProtocolIE-ID
id-M5Configuration                                  ProtocolIE-ID
id-MDT-Location-Info                                ProtocolIE-ID
id-MobilityInformation                              ProtocolIE-ID
id-Tunnel-Information-for-BBF                       ProtocolIE-ID
id-ManagementBasedMDTPLMNList                       ProtocolIE-ID
id-SignallingBasedMDTPLMNList                       ProtocolIE-ID
id-ULCOUNTValueExtended                             ProtocolIE-ID
id-DLCOUNTValueExtended                             ProtocolIE-ID
id-ReceiveStatusOfULPDCPSDUsExtended                ProtocolIE-ID
id-ECGIListForRestart                               ProtocolIE-ID
id-SIPTO-Correlation-ID                             ProtocolIE-ID
id-SIPTO-L-GW-TransportLayerAddress                 ProtocolIE-ID
id-TransportInformation                             ProtocolIE-ID
id-LHN-ID                                           ProtocolIE-ID
id-AdditionalCSFallbackIndicator                    ProtocolIE-ID
id-TAIListForRestart                                ProtocolIE-ID
id-UserLocationInformation                          ProtocolIE-ID
id-EmergencyAreaIDListForRestart                    ProtocolIE-ID
id-KillAllWarningMessages                           ProtocolIE-ID
id-Masked-IMEISV                                    ProtocolIE-ID
id-eNBIndirectX2TransportLayerAddresses             ProtocolIE-ID
id-uE-HistoryInformationFromTheUE                   ProtocolIE-ID
id-ProSeAuthorized                                  ProtocolIE-ID
id-ExpectedUEBehaviour                              ProtocolIE-ID
id-LoggedMBSFNMDT                                   ProtocolIE-ID
id-UERadioCapabilityForPaging                       ProtocolIE-ID
id-E-RABToBeModifiedListBearerModInd                ProtocolIE-ID
id-E-RABToBeModifiedItemBearerModInd                ProtocolIE-ID
id-E-RABNotToBeModifiedListBearerModInd             ProtocolIE-ID
id-E-RABNotToBeModifiedItemBearerModInd             ProtocolIE-ID
id-E-RABModifyListBearerModConf                     ProtocolIE-ID
id-E-RABModifyItemBearerModConf                     ProtocolIE-ID
id-E-RABFailedToModifyListBearerModConf             ProtocolIE-ID
id-SON-Information-Report                           ProtocolIE-ID
id-Muting-Availability-Indication                   ProtocolIE-ID
id-Muting-Pattern-Information                       ProtocolIE-ID
id-Synchronisation-Information                      ProtocolIE-ID
id-E-RABToBeReleasedListBearerModConf               ProtocolIE-ID
id-AssistanceDataForPaging                          ProtocolIE-ID
id-CellIdentifierAndCELevelForCECapableUEs          ProtocolIE-ID
id-InformationOnRecommendedCellsAndENBsForPaging    ProtocolIE-ID
id-RecommendedCellItem                              ProtocolIE-ID
id-RecommendedENBItem                               ProtocolIE-ID
id-ProSeUEtoNetworkRelaying                         ProtocolIE-ID
id-ULCOUNTValuePDCP-SNlength18                      ProtocolIE-ID
id-DLCOUNTValuePDCP-SNlength18                      ProtocolIE-ID
id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18         ProtocolIE-ID
id-M6Configuration                                  ProtocolIE-ID
id-M7Configuration                                  ProtocolIE-ID
id-PWSfailedECGIList                                ProtocolIE-ID
id-MME-Group-ID                                     ProtocolIE-ID
id-Additional-GUTI                                  ProtocolIE-ID
id-S1-Message                                       ProtocolIE-ID
id-CSGMembershipInfo                                ProtocolIE-ID
id-Paging-eDRXInformation                           ProtocolIE-ID
id-UE-RetentionInformation                          ProtocolIE-ID
id-UE-Usage-Type                                    ProtocolIE-ID
id-extended-UEIdentityIndexValue                    ProtocolIE-ID
id-RAT-Type                                         ProtocolIE-ID
id-BearerType                                       ProtocolIE-ID
id-NB-IoT-DefaultPagingDRX                          ProtocolIE-ID
id-E-RABFailedToResumeListResumeReq                 ProtocolIE-ID
id-E-RABFailedToResumeItemResumeReq                 ProtocolIE-ID
id-E-RABFailedToResumeListResumeRes                 ProtocolIE-ID
id-E-RABFailedToResumeItemResumeRes                 ProtocolIE-ID
id-NB-IoT-Paging-eDRXInformation                    ProtocolIE-ID
id-V2XServicesAuthorized                            ProtocolIE-ID
id-UEUserPlaneCIoTSupportIndicator                  ProtocolIE-ID
id-CE-mode-B-SupportIndicator                       ProtocolIE-ID
id-SRVCCOperationNotPossible                        ProtocolIE-ID
id-NB-IoT-UEIdentityIndexValue                      ProtocolIE-ID
id-RRC-Resume-Cause                                 ProtocolIE-ID
id-DCN-ID                                           ProtocolIE-ID
id-ServedDCNs                                       ProtocolIE-ID
id-UESidelinkAggregateMaximumBitrate                ProtocolIE-ID
id-DLNASPDUDeliveryAckRequest                       ProtocolIE-ID
id-Coverage-Level                                   ProtocolIE-ID
id-EnhancedCoverageRestricted                       ProtocolIE-ID
id-UE-Level-QoS-Parameters                          ProtocolIE-ID
id-DL-CP-SecurityInformation                        ProtocolIE-ID
id-UL-CP-SecurityInformation                        ProtocolIE-ID
id-extended-e-RAB-MaximumBitrateDL                  ProtocolIE-ID
id-extended-e-RAB-MaximumBitrateUL                  ProtocolIE-ID
id-extended-e-RAB-GuaranteedBitrateDL               ProtocolIE-ID
id-extended-e-RAB-GuaranteedBitrateUL               ProtocolIE-ID
id-extended-uEaggregateMaximumBitRateDL             ProtocolIE-ID
id-extended-uEaggregateMaximumBitRateUL             ProtocolIE-ID
id-NRrestrictioninEPSasSecondaryRAT                 ProtocolIE-ID
id-UEAppLayerMeasConfig                             ProtocolIE-ID
id-UE-Application-Layer-Measurement-Capability      ProtocolIE-ID
id-SecondaryRATDataUsageReportList                  ProtocolIE-ID
id-SecondaryRATDataUsageReportItem                  ProtocolIE-ID
id-HandoverFlag                                     ProtocolIE-ID
id-E-RABUsageReportItem                             ProtocolIE-ID
id-SecondaryRATDataUsageRequest                     ProtocolIE-ID
id-NRUESecurityCapabilities                         ProtocolIE-ID
id-UnlicensedSpectrumRestriction                    ProtocolIE-ID
id-CE-ModeBRestricted                               ProtocolIE-ID
id-LTE-M-Indication                                 ProtocolIE-ID
id-DownlinkPacketLossRate                           ProtocolIE-ID
id-UplinkPacketLossRate	                            ProtocolIE-ID
id-UECapabilityInfoRequest                          ProtocolIE-ID
id-serviceType                                      ProtocolIE-ID
id-AerialUEsubscriptionInformation                  ProtocolIE-ID
id-Subscription-Based-UE-DifferentiationInfo        ProtocolIE-ID
id-EndIndication                                    ProtocolIE-ID
id-EDT-Session                                      ProtocolIE-ID
id-CNTypeRestrictions                               ProtocolIE-ID
id-PendingDataIndication                            ProtocolIE-ID
id-BluetoothMeasurementConfiguration                ProtocolIE-ID
id-WLANMeasurementConfiguration                     ProtocolIE-ID
id-WarningAreaCoordinates                           ProtocolIE-ID
id-NRrestrictionin5GS                               ProtocolIE-ID
id-PSCellInformation                                ProtocolIE-ID
id-LastNG-RANPLMNIdentity                           ProtocolIE-ID
id-ConnectedengNBList                               ProtocolIE-ID
id-ConnectedengNBToAddList                          ProtocolIE-ID
id-ConnectedengNBToRemoveList                       ProtocolIE-ID
id-EN-DCSONConfigurationTransfer-ECT                ProtocolIE-ID
id-EN-DCSONConfigurationTransfer-MCT                ProtocolIE-ID

#.END

#.REGISTER

#S1AP-PROTOCOL-IES
MME-UE-S1AP-ID                          N s1ap.ies id-MME-UE-S1AP-ID
HandoverType                            N s1ap.ies id-HandoverType
Cause                                   N s1ap.ies id-Cause
TargetID                                N s1ap.ies id-TargetID
ENB-UE-S1AP-ID                          N s1ap.ies id-eNB-UE-S1AP-ID
E-RABSubjecttoDataForwardingList        N s1ap.ies id-E-RABSubjecttoDataForwardingList
E-RABList                               N s1ap.ies id-E-RABtoReleaseListHOCmd
E-RABDataForwardingItem                 N s1ap.ies id-E-RABDataForwardingItem
E-RABReleaseItemBearerRelComp           N s1ap.ies id-E-RABReleaseItemBearerRelComp
E-RABToBeSetupListBearerSUReq           N s1ap.ies id-E-RABToBeSetupListBearerSUReq
E-RABToBeSetupItemBearerSUReq           N s1ap.ies id-E-RABToBeSetupItemBearerSUReq
E-RABAdmittedList                       N s1ap.ies id-E-RABAdmittedList
E-RABFailedtoSetupListHOReqAck          N s1ap.ies id-E-RABFailedToSetupListHOReqAck
E-RABAdmittedItem                       N s1ap.ies id-E-RABAdmittedItem
E-RABFailedToSetupItemHOReqAck          N s1ap.ies id-E-RABFailedtoSetupItemHOReqAck
E-RABToBeSwitchedDLList                 N s1ap.ies id-E-RABToBeSwitchedDLList
E-RABToBeSwitchedDLItem                 N s1ap.ies id-E-RABToBeSwitchedDLItem
E-RABToBeSetupListCtxtSUReq             N s1ap.ies id-E-RABToBeSetupListCtxtSUReq
TraceActivation                         N s1ap.ies id-TraceActivation
E-UTRAN-Trace-ID                        N s1ap.ies id-E-UTRAN-Trace-ID
NAS-PDU                                 N s1ap.ies id-NAS-PDU
E-RABToBeSetupItemHOReq                 N s1ap.ies id-E-RABToBeSetupItemHOReq
E-RABSetupListBearerSURes               N s1ap.ies id-E-RABSetupListBearerSURes
E-RABList                               N s1ap.ies id-E-RABFailedToSetupListBearerSURes
E-RABToBeModifiedListBearerModReq       N s1ap.ies id-E-RABToBeModifiedListBearerModReq
E-RABModifyListBearerModRes             N s1ap.ies id-E-RABModifyListBearerModRes
E-RABList                               N s1ap.ies id-E-RABFailedToModifyList
E-RABList                               N s1ap.ies id-E-RABToBeReleasedList
E-RABList                               N s1ap.ies id-E-RABFailedToReleaseList
E-RABItem                               N s1ap.ies id-E-RABItem
E-RABToBeModifiedItemBearerModReq       N s1ap.ies id-E-RABToBeModifiedItemBearerModReq
E-RABModifyItemBearerModRes             N s1ap.ies id-E-RABModifyItemBearerModRes
#SAEBearerReleaseItem                   N s1ap.ies id-E-RABReleaseItem
E-RABSetupItemBearerSURes               N s1ap.ies id-E-RABSetupItemBearerSURes
SecurityContext                         N s1ap.ies id-SecurityContext
HandoverRestrictionList                 N s1ap.ies id-HandoverRestrictionList
UEPagingID                              N s1ap.ies id-UEPagingID
PagingDRX                               N s1ap.ies id-pagingDRX
TAIList                                 N s1ap.ies id-TAIList
TAIItem                                 N s1ap.ies id-TAIItem
E-RABList                               N s1ap.ies id-E-RABFailedToSetupListCtxtSURes
#E-RABReleaseItemHOCmd                  N s1ap.ies id-E-RABReleaseItemHOCmd
E-RABSetupItemCtxtSURes                 N s1ap.ies id-E-RABSetupItemCtxtSURes
E-RABSetupListCtxtSURes                 N s1ap.ies id-E-RABSetupListCtxtSURes
E-RABToBeSetupItemCtxtSUReq             N s1ap.ies id-E-RABToBeSetupItemCtxtSUReq
E-RABToBeSetupListHOReq                 N s1ap.ies id-E-RABToBeSetupListHOReq
#UTRANtoLTEHOInformationRes             N s1ap.ies id-UTRANtoLTEHOInformationRes
CriticalityDiagnostics                  N s1ap.ies id-CriticalityDiagnostics
Global-ENB-ID                           N s1ap.ies id-Global-ENB-ID
ENBname                                 N s1ap.ies id-eNBname
MMEname                                 N s1ap.ies id-MMEname
ServedPLMNs                             N s1ap.ies id-ServedPLMNs
SupportedTAs                            N s1ap.ies id-SupportedTAs
TimeToWait                              N s1ap.ies id-TimeToWait
UEAggregateMaximumBitrate               N s1ap.ies id-uEaggregateMaximumBitrate
TAI                                     N s1ap.ies id-TAI
E-RABReleaseListBearerRelComp           N s1ap.ies id-E-RABReleaseListBearerRelComp
Cdma2000PDU                             N s1ap.ies id-cdma2000PDU
Cdma2000RATType                         N s1ap.ies id-cdma2000RATType
Cdma2000SectorID                        N s1ap.ies id-cdma2000SectorID
SecurityKey                             N s1ap.ies id-SecurityKey
UERadioCapability                       N s1ap.ies id-UERadioCapability
GUMMEI                                  N s1ap.ies id-GUMMEI-ID
E-RABInformationListItem                N s1ap.ies id-E-RABInformationListItem
Direct-Forwarding-Path-Availability     N s1ap.ies id-Direct-Forwarding-Path-Availability
UEIdentityIndexValue                    N s1ap.ies id-UEIdentityIndexValue
Cdma2000HOStatus                        N s1ap.ies id-cdma2000HOStatus
Cdma2000HORequiredIndication            N s1ap.ies id-cdma2000HORequiredIndication
RelativeMMECapacity                     N s1ap.ies id-RelativeMMECapacity
MME-UE-S1AP-ID                          N s1ap.ies id-SourceMME-UE-S1AP-ID
Bearers-SubjectToStatusTransfer-Item    N s1ap.ies id-Bearers-SubjectToStatusTransfer-Item
ENB-StatusTransfer-TransparentContainer N s1ap.ies id-eNB-StatusTransfer-TransparentContainer
UE-associatedLogicalS1-ConnectionItem   N s1ap.ies id-UE-associatedLogicalS1-ConnectionItem
ResetType                               N s1ap.ies id-ResetType
UE-associatedLogicalS1-ConnectionListResAck N s1ap.ies id-UE-associatedLogicalS1-ConnectionListResAck
E-RABToBeSwitchedULItem                 N s1ap.ies id-E-RABToBeSwitchedULItem
E-RABToBeSwitchedULList                 N s1ap.ies id-E-RABToBeSwitchedULList
S-TMSI                                  N s1ap.ies id-S-TMSI
Cdma2000OneXRAND                        N s1ap.ies id-cdma2000OneXRAND
RequestType                             N s1ap.ies id-RequestType
UE-S1AP-IDs                             N s1ap.ies id-UE-S1AP-IDs
EUTRAN-CGI                              N s1ap.ies id-EUTRAN-CGI
OverloadResponse                        N s1ap.ies id-OverloadResponse
Cdma2000OneXSRVCCInfo                   N s1ap.ies id-cdma2000OneXSRVCCInfo
#SAEBearerList                          N s1ap.ies id-E-RABFailedToBeReleasedList
Source-ToTarget-TransparentContainer    N s1ap.ies id-Source-ToTarget-TransparentContainer
ServedGUMMEIs                           N s1ap.ies id-ServedGUMMEIs
SubscriberProfileIDforRFP               N s1ap.ies id-SubscriberProfileIDforRFP
UESecurityCapabilities                  N s1ap.ies id-UESecurityCapabilities
CSFallbackIndicator                     N s1ap.ies id-CSFallbackIndicator
CNDomain                                N s1ap.ies id-CNDomain
E-RABList                               N s1ap.ies id-E-RABReleasedList
MessageIdentifier                       N s1ap.ies id-MessageIdentifier
SerialNumber                            N s1ap.ies id-SerialNumber
WarningAreaList                         N s1ap.ies id-WarningAreaList
RepetitionPeriod                        N s1ap.ies id-RepetitionPeriod
NumberofBroadcastRequest                N s1ap.ies id-NumberofBroadcastRequest
WarningType                             N s1ap.ies id-WarningType
WarningSecurityInfo                     N s1ap.ies id-WarningSecurityInfo
DataCodingScheme                        N s1ap.ies id-DataCodingScheme
WarningMessageContents                  N s1ap.ies id-WarningMessageContents
BroadcastCompletedAreaList              N s1ap.ies id-BroadcastCompletedAreaList
Inter-SystemInformationTransferType     N s1ap.ies id-Inter-SystemInformationTransferTypeEDT
Inter-SystemInformationTransferType     N s1ap.ies id-Inter-SystemInformationTransferTypeMDT
Target-ToSource-TransparentContainer    N s1ap.ies id-Target-ToSource-TransparentContainer
SRVCCOperationPossible                  N s1ap.ies id-SRVCCOperationPossible
SRVCCHOIndication                       N s1ap.ies id-SRVCCHOIndication
CSG-Id                                  N s1ap.ies id-CSG-Id
CSG-IdList                              N s1ap.ies id-CSG-IdList
SONConfigurationTransfer                N s1ap.ies id-SONConfigurationTransferECT
SONConfigurationTransfer                N s1ap.ies id-SONConfigurationTransferMCT
TransportLayerAddress                   N s1ap.ies id-TraceCollectionEntityIPAddress
MSClassmark2                            N s1ap.ies id-MSClassmark2
MSClassmark3                            N s1ap.ies id-MSClassmark3
RRC-Establishment-Cause                 N s1ap.ies id-RRC-Establishment-Cause
NASSecurityParametersfromE-UTRAN        N s1ap.ies id-NASSecurityParametersfromE-UTRAN
NASSecurityParameterstoE-UTRAN          N s1ap.ies id-NASSecurityParameterstoE-UTRAN
PagingDRX                               N s1ap.ies id-DefaultPagingDRX
Source-ToTarget-TransparentContainer    N s1ap.ies id-Source-ToTarget-TransparentContainer-Secondary
Target-ToSource-TransparentContainer    N s1ap.ies id-Target-ToSource-TransparentContainer-Secondary
EUTRANRoundTripDelayEstimationInfo      N s1ap.ies id-EUTRANRoundTripDelayEstimationInfo
BroadcastCancelledAreaList              N s1ap.ies id-BroadcastCancelledAreaList
ConcurrentWarningMessageIndicator       N s1ap.ies id-ConcurrentWarningMessageIndicator
ExtendedRepetitionPeriod                N s1ap.ies id-ExtendedRepetitionPeriod
CellAccessMode                          N s1ap.ies id-CellAccessMode
CSGMembershipStatus                     N s1ap.ies id-CSGMembershipStatus
LPPa-PDU                                N s1ap.ies id-LPPa-PDU
Routing-ID                              N s1ap.ies id-Routing-ID
PS-ServiceNotAvailable                  N s1ap.ies id-PS-ServiceNotAvailable
PagingPriority                          N s1ap.ies id-PagingPriority
GUMMEIList                              N s1ap.ies id-GUMMEIList
TransportLayerAddress                   N s1ap.ies id-GW-TransportLayerAddress
GUMMEI                                  N s1ap.ies id-SourceMME-GUMMEI
MME-UE-S1AP-ID                          N s1ap.ies id-MME-UE-S1AP-ID-2
LAI                                     N s1ap.ies id-RegisteredLAI
RelayNode-Indicator                     N s1ap.ies id-RelayNode-Indicator
TrafficLoadReductionIndication          N s1ap.ies id-TrafficLoadReductionIndication
MMERelaySupportIndicator                N s1ap.ies id-MMERelaySupportIndicator
GWContextReleaseIndication              N s1ap.ies id-GWContextReleaseIndication
ManagementBasedMDTAllowed               N s1ap.ies id-ManagementBasedMDTAllowed
PrivacyIndicator                        N s1ap.ies id-PrivacyIndicator
VoiceSupportMatchIndicator              N s1ap.ies id-VoiceSupportMatchIndicator
GUMMEIType                              N s1ap.ies id-GUMMEIType
TunnelInformation                       N s1ap.ies id-Tunnel-Information-for-BBF
MDTPLMNList                             N s1ap.ies id-ManagementBasedMDTPLMNList
ECGIListForRestart                      N s1ap.ies id-ECGIListForRestart
TransportLayerAddress                   N s1ap.ies id-SIPTO-L-GW-TransportLayerAddress
LHN-ID                                  N s1ap.ies id-LHN-ID
AdditionalCSFallbackIndicator           N s1ap.ies id-AdditionalCSFallbackIndicator
TAIListForRestart                       N s1ap.ies id-TAIListForRestart
UserLocationInformation                 N s1ap.ies id-UserLocationInformation
KillAllWarningMessages                  N s1ap.ies id-KillAllWarningMessages
Masked-IMEISV                           N s1ap.ies id-Masked-IMEISV
ProSeAuthorized                         N s1ap.ies id-ProSeAuthorized
ExpectedUEBehaviour                     N s1ap.ies id-ExpectedUEBehaviour
UERadioCapabilityForPaging              N s1ap.ies id-UERadioCapabilityForPaging
E-RABToBeModifiedListBearerModInd       N s1ap.ies id-E-RABToBeModifiedListBearerModInd
E-RABToBeModifiedItemBearerModInd       N s1ap.ies id-E-RABToBeModifiedItemBearerModInd
E-RABNotToBeModifiedListBearerModInd    N s1ap.ies id-E-RABNotToBeModifiedListBearerModInd
E-RABNotToBeModifiedItemBearerModInd    N s1ap.ies id-E-RABNotToBeModifiedItemBearerModInd
E-RABModifyListBearerModConf            N s1ap.ies id-E-RABModifyListBearerModConf
E-RABModifyItemBearerModConf            N s1ap.ies id-E-RABModifyItemBearerModConf
E-RABList                               N s1ap.ies id-E-RABFailedToModifyListBearerModConf
SONInformationReport                    N s1ap.ies id-SON-Information-Report
E-RABList                               N s1ap.ies id-E-RABToBeReleasedListBearerModConf
AssistanceDataForPaging                         N s1ap.ies id-AssistanceDataForPaging
CellIdentifierAndCELevelForCECapableUEs         N s1ap.ies id-CellIdentifierAndCELevelForCECapableUEs
InformationOnRecommendedCellsAndENBsForPaging   N s1ap.ies id-InformationOnRecommendedCellsAndENBsForPaging
RecommendedCellItem                             N s1ap.ies id-RecommendedCellItem
RecommendedENBItem                              N s1ap.ies id-RecommendedENBItem
PWSfailedECGIList                               N s1ap.ies id-PWSfailedECGIList
MME-Group-ID                                    N s1ap.ies id-MME-Group-ID
Additional-GUTI                                 N s1ap.ies id-Additional-GUTI
S1-Message                                      N s1ap.ies id-S1-Message
CSGMembershipInfo                               N s1ap.ies id-CSGMembershipInfo
Paging-eDRXInformation                          N s1ap.ies id-Paging-eDRXInformation
UE-RetentionInformation                         N s1ap.ies id-UE-RetentionInformation
UE-Usage-Type                                   N s1ap.ies id-UE-Usage-Type
Extended-UEIdentityIndexValue                   N s1ap.ies id-extended-UEIdentityIndexValue
NB-IoT-DefaultPagingDRX                         N s1ap.ies id-NB-IoT-DefaultPagingDRX
E-RABFailedToResumeListResumeReq                N s1ap.ies id-E-RABFailedToResumeListResumeReq
E-RABFailedToResumeItemResumeReq                N s1ap.ies id-E-RABFailedToResumeItemResumeReq
E-RABFailedToResumeListResumeRes                N s1ap.ies id-E-RABFailedToResumeListResumeRes
E-RABFailedToResumeItemResumeRes                N s1ap.ies id-E-RABFailedToResumeItemResumeRes
NB-IoT-Paging-eDRXInformation                   N s1ap.ies id-NB-IoT-Paging-eDRXInformation
UEUserPlaneCIoTSupportIndicator                 N s1ap.ies id-UEUserPlaneCIoTSupportIndicator
CE-mode-B-SupportIndicator                      N s1ap.ies id-CE-mode-B-SupportIndicator
SRVCCOperationNotPossible                       N s1ap.ies id-SRVCCOperationNotPossible
NB-IoT-UEIdentityIndexValue                     N s1ap.ies id-NB-IoT-UEIdentityIndexValue
RRC-Establishment-Cause                         N s1ap.ies id-RRC-Resume-Cause
V2XServicesAuthorized                           N s1ap.ies id-V2XServicesAuthorized
UESidelinkAggregateMaximumBitrate               N s1ap.ies id-UESidelinkAggregateMaximumBitrate
EnhancedCoverageRestricted                      N s1ap.ies id-EnhancedCoverageRestricted
DLNASPDUDeliveryAckRequest                      N s1ap.ies id-DLNASPDUDeliveryAckRequest
DCN-ID                                          N s1ap.ies id-DCN-ID
Coverage-Level                                  N s1ap.ies id-Coverage-Level
ServedDCNs                                      N s1ap.ies id-ServedDCNs
DL-CP-SecurityInformation                       N s1ap.ies id-DL-CP-SecurityInformation
E-RABLevelQoSParameters                         N s1ap.ies id-UE-Level-QoS-Parameters
UL-CP-SecurityInformation                       N s1ap.ies id-UL-CP-SecurityInformation
E-RABUsageReportItem                            N s1ap.ies id-E-RABUsageReportItem
SecondaryRATDataUsageReportItem                 N s1ap.ies id-SecondaryRATDataUsageReportItem
NRUESecurityCapabilities                        N s1ap.ies id-NRUESecurityCapabilities
SecondaryRATDataUsageRequest                    N s1ap.ies id-SecondaryRATDataUsageRequest
SecondaryRATDataUsageReportList                 N s1ap.ies id-SecondaryRATDataUsageReportList
UE-Application-Layer-Measurement-Capability     N s1ap.ies id-UE-Application-Layer-Measurement-Capability
HandoverFlag                                    N s1ap.ies id-HandoverFlag
EmergencyAreaIDListForRestart                   N s1ap.ies id-EmergencyAreaIDListForRestart
CE-ModeBRestricted                              N s1ap.ies id-CE-ModeBRestricted
AerialUEsubscriptionInformation                 N s1ap.ies id-AerialUEsubscriptionInformation
UECapabilityInfoRequest                         N s1ap.ies id-UECapabilityInfoRequest
EndIndication                                   N s1ap.ies id-EndIndication
EDT-Session                                     N s1ap.ies id-EDT-Session
LTE-M-Indication                                N s1ap.ies id-LTE-M-Indication
Subscription-Based-UE-DifferentiationInfo       N s1ap.ies id-Subscription-Based-UE-DifferentiationInfo
PendingDataIndication                           N s1ap.ies id-PendingDataIndication
WarningAreaCoordinates                          N s1ap.ies id-WarningAreaCoordinates
PSCellInformation                               N s1ap.ies id-PSCellInformation
ConnectedengNBList                              N s1ap.ies id-ConnectedengNBList
ConnectedengNBList                              N s1ap.ies id-ConnectedengNBToAddList
ConnectedengNBList                              N s1ap.ies id-ConnectedengNBToRemoveList
EN-DCSONConfigurationTransfer                   N s1ap.ies id-EN-DCSONConfigurationTransfer-ECT
EN-DCSONConfigurationTransfer                   N s1ap.ies id-EN-DCSONConfigurationTransfer-MCT

#S1AP-PROTOCOL-IES-PAIR
#RAB-SetupOrModifyItemFirst             N s1ap.ies.pair.first id-RAB-SetupOrModifyItem
#RAB-SetupOrModifyItemSecond            N s1ap.ies.pair.second id-RAB-SetupOrModifyItem

#S1AP-PROTOCOL-EXTENSION
#RAB-Parameters                         N s1ap.extension id-AlternativeRABConfiguration
#Alt-RAB-Parameter-ExtendedGuaranteedBitrateInf N s1ap.extension id-Alt-RAB-Parameter-ExtendedGuaranteedBitrateInf
Data-Forwarding-Not-Possible            N s1ap.extension id-Data-Forwarding-Not-Possible
TimeSynchronisationInfo                 N s1ap.extension id-Time-Synchronisation-Info
X2TNLConfigurationInfo                  N s1ap.extension id-x2TNLConfigurationInfo
ENBX2ExtTLAs                            N s1ap.extension id-eNBX2ExtendedTransportLayerAddresses
Correlation-ID                          N s1ap.extension id-Correlation-ID
MDT-Configuration                       N s1ap.extension id-MDTConfiguration
Time-UE-StayedInCell-EnhancedGranularity N s1ap.extension id-Time-UE-StayedInCell-EnhancedGranularity
Cause                                   N s1ap.extension id-HO-Cause
M3Configuration                         N s1ap.extension id-M3Configuration
M4Configuration                         N s1ap.extension id-M4Configuration
M5Configuration                         N s1ap.extension id-M5Configuration
MDT-Location-Info                       N s1ap.extension id-MDT-Location-Info
MobilityInformation                     N s1ap.extension id-MobilityInformation
MDTPLMNList                             N s1ap.extension id-SignallingBasedMDTPLMNList
COUNTValueExtended                      N s1ap.extension id-ULCOUNTValueExtended
COUNTValueExtended                      N s1ap.extension id-DLCOUNTValueExtended
ReceiveStatusOfULPDCPSDUsExtended       N s1ap.extension id-ReceiveStatusOfULPDCPSDUsExtended
Correlation-ID                          N s1ap.extension id-SIPTO-Correlation-ID
TransportInformation                    N s1ap.extension id-TransportInformation
ENBIndirectX2TransportLayerAddresses    N s1ap.extension id-eNBIndirectX2TransportLayerAddresses
LoggedMBSFNMDT                          N s1ap.extension id-LoggedMBSFNMDT
UE-HistoryInformationFromTheUE          N s1ap.extension id-uE-HistoryInformationFromTheUE
MutingAvailabilityIndication            N s1ap.extension id-Muting-Availability-Indication
MutingPatternInformation                N s1ap.extension id-Muting-Pattern-Information
SynchronisationInformation              N s1ap.extension id-Synchronisation-Information
ProSeUEtoNetworkRelaying                N s1ap.extension id-ProSeUEtoNetworkRelaying
COUNTvaluePDCP-SNlength18               N s1ap.extension id-ULCOUNTValuePDCP-SNlength18
COUNTvaluePDCP-SNlength18               N s1ap.extension id-DLCOUNTValuePDCP-SNlength18
ReceiveStatusOfULPDCPSDUsPDCP-SNlength18 N s1ap.extension id-ReceiveStatusOfULPDCPSDUsPDCP-SNlength18
M6Configuration                         N s1ap.extension id-M6Configuration
M7Configuration                         N s1ap.extension id-M7Configuration
RAT-Type                                N s1ap.extension id-RAT-Type
BearerType                              N s1ap.extension id-BearerType
ExtendedBitRate                         N s1ap.extension id-extended-e-RAB-MaximumBitrateDL
ExtendedBitRate                         N s1ap.extension id-extended-e-RAB-MaximumBitrateUL
ExtendedBitRate                         N s1ap.extension id-extended-e-RAB-GuaranteedBitrateDL
ExtendedBitRate                         N s1ap.extension id-extended-e-RAB-GuaranteedBitrateUL
NRrestrictioninEPSasSecondaryRAT        N s1ap.extension id-NRrestrictioninEPSasSecondaryRAT
UEAppLayerMeasConfig                    N s1ap.extension id-UEAppLayerMeasConfig
ExtendedBitRate                         N s1ap.extension id-extended-uEaggregateMaximumBitRateDL
ExtendedBitRate                         N s1ap.extension id-extended-uEaggregateMaximumBitRateUL
UnlicensedSpectrumRestriction           N s1ap.extension id-UnlicensedSpectrumRestriction
CNTypeRestrictions                      N s1ap.extension id-CNTypeRestrictions
Packet-LossRate                         N s1ap.extension id-DownlinkPacketLossRate
Packet-LossRate                         N s1ap.extension id-UplinkPacketLossRate
ServiceType                             N s1ap.extension id-serviceType
BluetoothMeasurementConfiguration       N s1ap.extension id-BluetoothMeasurementConfiguration
WLANMeasurementConfiguration            N s1ap.extension id-WLANMeasurementConfiguration
NRrestrictionin5GS                      N s1ap.extension id-NRrestrictionin5GS
PLMNidentity                            N s1ap.extension id-LastNG-RANPLMNIdentity
PSCellInformation                       N s1ap.extension id-PSCellInformation

#S1AP-ELEMENTARY-PROCEDURE
HandoverRequired                        N s1ap.proc.imsg id-HandoverPreparation
HandoverCommand                         N s1ap.proc.sout id-HandoverPreparation
HandoverPreparationFailure              N s1ap.proc.uout id-HandoverPreparation

HandoverRequest                         N s1ap.proc.imsg id-HandoverResourceAllocation
HandoverRequestAcknowledge              N s1ap.proc.sout id-HandoverResourceAllocation
HandoverFailure                         N s1ap.proc.uout id-HandoverResourceAllocation

HandoverNotify                          N s1ap.proc.imsg id-HandoverNotification

PathSwitchRequest                       N s1ap.proc.imsg id-PathSwitchRequest
PathSwitchRequestAcknowledge            N s1ap.proc.sout id-PathSwitchRequest
PathSwitchRequestFailure                N s1ap.proc.uout id-PathSwitchRequest

E-RABSetupRequest                       N s1ap.proc.imsg id-E-RABSetup
E-RABSetupResponse                      N s1ap.proc.sout id-E-RABSetup

E-RABModifyRequest                      N s1ap.proc.imsg id-E-RABModify
E-RABModifyResponse                     N s1ap.proc.sout id-E-RABModify

E-RABReleaseCommand                     N s1ap.proc.imsg id-E-RABRelease
E-RABReleaseResponse                    N s1ap.proc.sout id-E-RABRelease

E-RABReleaseIndication                  N s1ap.proc.imsg id-E-RABReleaseIndication

InitialContextSetupRequest              N s1ap.proc.imsg id-InitialContextSetup
InitialContextSetupResponse             N s1ap.proc.sout id-InitialContextSetup
InitialContextSetupFailure              N s1ap.proc.uout id-InitialContextSetup

UEContextReleaseRequest                 N s1ap.proc.imsg id-UEContextReleaseRequest

Paging                                  N s1ap.proc.imsg id-Paging

DownlinkNASTransport                    N s1ap.proc.imsg id-downlinkNASTransport

InitialUEMessage                        N s1ap.proc.imsg id-initialUEMessage

UplinkNASTransport                      N s1ap.proc.imsg id-uplinkNASTransport

NASNonDeliveryIndication                N s1ap.proc.imsg id-NASNonDeliveryIndication

HandoverCancel                          N s1ap.proc.imsg id-HandoverCancel
HandoverCancelAcknowledge               N s1ap.proc.sout id-HandoverCancel

Reset                                   N s1ap.proc.imsg id-Reset
ResetAcknowledge                        N s1ap.proc.sout id-Reset

ErrorIndication                         N s1ap.proc.imsg id-ErrorIndication

S1SetupRequest                          N s1ap.proc.imsg id-S1Setup
S1SetupResponse                         N s1ap.proc.sout id-S1Setup
S1SetupFailure                          N s1ap.proc.uout id-S1Setup

DownlinkS1cdma2000tunnelling            N s1ap.proc.imsg id-DownlinkS1cdma2000tunnelling

ENBConfigurationUpdate                  N s1ap.proc.imsg id-ENBConfigurationUpdate
ENBConfigurationUpdateAcknowledge       N s1ap.proc.sout id-ENBConfigurationUpdate
ENBConfigurationUpdateFailure           N s1ap.proc.uout id-ENBConfigurationUpdate

MMEConfigurationUpdate                  N s1ap.proc.imsg id-MMEConfigurationUpdate
MMEConfigurationUpdateAcknowledge       N s1ap.proc.sout id-MMEConfigurationUpdate
MMEConfigurationUpdateFailure           N s1ap.proc.uout id-MMEConfigurationUpdate

UplinkS1cdma2000tunnelling              N s1ap.proc.imsg id-UplinkS1cdma2000tunnelling

UEContextModificationRequest            N s1ap.proc.imsg id-UEContextModification
UEContextModificationResponse           N s1ap.proc.sout id-UEContextModification
UEContextModificationFailure            N s1ap.proc.uout id-UEContextModification

UECapabilityInfoIndication              N s1ap.proc.imsg id-UECapabilityInfoIndication

UEContextReleaseCommand                 N s1ap.proc.imsg id-UEContextRelease
UEContextReleaseComplete                N s1ap.proc.sout id-UEContextRelease

ENBStatusTransfer                       N s1ap.proc.imsg id-eNBStatusTransfer

MMEStatusTransfer                       N s1ap.proc.imsg id-MMEStatusTransfer

DeactivateTrace                         N s1ap.proc.imsg id-DeactivateTrace

TraceStart                              N s1ap.proc.imsg id-TraceStart

TraceFailureIndication                  N s1ap.proc.imsg id-TraceFailureIndication

LocationReportingControl                N s1ap.proc.imsg id-LocationReportingControl

LocationReportingFailureIndication      N s1ap.proc.imsg id-LocationReportingFailureIndication

LocationReport                          N s1ap.proc.imsg id-LocationReport

OverloadStart                           N s1ap.proc.imsg id-OverloadStart

OverloadStop                            N s1ap.proc.imsg id-OverloadStop

WriteReplaceWarningRequest              N s1ap.proc.imsg id-WriteReplaceWarning
WriteReplaceWarningResponse             N s1ap.proc.sout id-WriteReplaceWarning

ENBDirectInformationTransfer            N s1ap.proc.imsg id-eNBDirectInformationTransfer

MMEDirectInformationTransfer            N s1ap.proc.imsg id-MMEDirectInformationTransfer

ENBConfigurationTransfer                N s1ap.proc.imsg id-eNBConfigurationTransfer

MMEConfigurationTransfer                N s1ap.proc.imsg id-MMEConfigurationTransfer

CellTrafficTrace                        N s1ap.proc.imsg id-CellTrafficTrace

PrivateMessage                          N s1ap.proc.imsg id-PrivateMessage

PWSRestartIndication                    N s1ap.proc.imsg id-PWSRestartIndication

KillRequest                             N s1ap.proc.imsg id-Kill
KillResponse                            N s1ap.proc.sout id-Kill

DownlinkUEAssociatedLPPaTransport       N s1ap.proc.imsg id-downlinkUEAssociatedLPPaTransport

UplinkUEAssociatedLPPaTransport         N s1ap.proc.imsg id-uplinkUEAssociatedLPPaTransport

DownlinkNonUEAssociatedLPPaTransport    N s1ap.proc.imsg id-downlinkNonUEAssociatedLPPaTransport

UplinkNonUEAssociatedLPPaTransport      N s1ap.proc.imsg id-uplinkNonUEAssociatedLPPaTransport

UERadioCapabilityMatchRequest           N s1ap.proc.imsg id-UERadioCapabilityMatch
UERadioCapabilityMatchResponse          N s1ap.proc.sout id-UERadioCapabilityMatch

E-RABModificationIndication             N s1ap.proc.imsg id-E-RABModificationIndication
E-RABModificationConfirm                N s1ap.proc.sout id-E-RABModificationIndication

UEContextModificationIndication         N s1ap.proc.imsg id-UEContextModificationIndication
UEContextModificationConfirm            N s1ap.proc.sout id-UEContextModificationIndication

RerouteNASRequest                       N s1ap.proc.imsg id-RerouteNASRequest

PWSFailureIndication                    N s1ap.proc.imsg id-PWSFailureIndication

ConnectionEstablishmentIndication       N s1ap.proc.imsg id-ConnectionEstablishmentIndication

UEContextSuspendRequest                 N s1ap.proc.imsg id-UEContextSuspend
UEContextSuspendResponse                N s1ap.proc.sout id-UEContextSuspend

UEContextResumeRequest                  N s1ap.proc.imsg id-UEContextResume
UEContextResumeResponse                 N s1ap.proc.sout id-UEContextResume
UEContextResumeFailure                  N s1ap.proc.uout id-UEContextResume

NASDeliveryIndication                   N s1ap.proc.imsg id-NASDeliveryIndication

RetrieveUEInformation                   N s1ap.proc.imsg id-RetrieveUEInformation

UEInformationTransfer                   N s1ap.proc.imsg id-UEInformationTransfer

ENBCPRelocationIndication               N s1ap.proc.imsg id-eNBCPRelocationIndication

MMECPRelocationIndication               N s1ap.proc.imsg id-MMECPRelocationIndication

SecondaryRATDataUsageReport             N s1ap.proc.imsg id-SecondaryRATDataUsageReport


#.FN_HDR HandoverRequired
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequired");
#.FN_HDR HandoverCommand
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverCommand");
#.FN_HDR HandoverPreparationFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverPreparationFailure");
#.FN_HDR HandoverRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequest");
#.FN_HDR HandoverRequestAcknowledge
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverRequestAcknowledge");
#.FN_HDR HandoverFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverFailure");
#.FN_HDR HandoverNotify
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverNotify");
#.FN_HDR PathSwitchRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PathSwitchRequest");
#.FN_HDR PathSwitchRequestAcknowledge
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PathSwitchRequestAcknowledge");
#.FN_HDR PathSwitchRequestFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PathSwitchRequestFailure");
#.FN_HDR HandoverCancel
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverCancel");
#.FN_HDR HandoverCancelAcknowledge
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "HandoverCancelAcknowledge");
#.FN_HDR E-RABSetupRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABSetupRequest");
#.FN_HDR E-RABSetupResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABSetupResponse");
#.FN_HDR E-RABModifyRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABModifyRequest");
#.FN_HDR E-RABModifyResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABModifyResponse");
#.FN_HDR E-RABReleaseCommand
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABReleaseCommand");
#.FN_HDR E-RABReleaseResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABReleaseResponse");
#.FN_HDR E-RABReleaseIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABReleaseIndication");
#.FN_HDR InitialContextSetupRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "InitialContextSetupRequest");
#.FN_HDR InitialContextSetupResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "InitialContextSetupResponse");
#.FN_HDR InitialContextSetupFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "InitialContextSetupFailure");
#.FN_HDR Paging
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Paging");
#.FN_HDR UEContextReleaseRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextReleaseRequest");
#.FN_HDR UEContextReleaseCommand
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextReleaseCommand");
#.FN_HDR UEContextReleaseComplete
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextReleaseComplete");
#.FN_HDR UEContextModificationRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextModificationRequest");
#.FN_HDR UEContextModificationResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextModificationResponse");
#.FN_HDR UEContextModificationFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextModificationFailure");
#.FN_HDR UERadioCapabilityMatchRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UERadioCapabilityMatchRequest");
#.FN_HDR UERadioCapabilityMatchResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UERadioCapabilityMatchResponse");
#.FN_HDR DownlinkNASTransport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DownlinkNASTransport");
#.FN_HDR InitialUEMessage
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "InitialUEMessage");
#.FN_HDR UplinkNASTransport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UplinkNASTransport");
#.FN_HDR NASNonDeliveryIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "NASNonDeliveryIndication");
#.FN_HDR RerouteNASRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RerouteNASRequest");
#.FN_HDR Reset
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "Reset");
#.FN_HDR ResetAcknowledge
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ResetAcknowledge");
#.FN_HDR ErrorIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ErrorIndication");
#.FN_HDR S1SetupRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "S1SetupRequest");
#.FN_HDR S1SetupResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "S1SetupResponse");
#.FN_HDR S1SetupFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "S1SetupFailure");
#.FN_HDR ENBConfigurationUpdate
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdate");
#.FN_HDR ENBConfigurationUpdateAcknowledge
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdateAcknowledge");
#.FN_HDR ENBConfigurationUpdateFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationUpdateFailure");
#.FN_HDR MMEConfigurationUpdate
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MMEConfigurationUpdate");
#.FN_HDR MMEConfigurationUpdateAcknowledge
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MMEConfigurationUpdateAcknowledge");
#.FN_HDR MMEConfigurationUpdateFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MMEConfigurationUpdateFailure");
#.FN_HDR DownlinkS1cdma2000tunnelling
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DownlinkS1cdma2000tunnelling");
#.FN_HDR UplinkS1cdma2000tunnelling
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UplinkS1cdma2000tunnelling");
#.FN_HDR UECapabilityInfoIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UECapabilityInfoIndication");
#.FN_HDR ENBStatusTransfer
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBStatusTransfer");
#.FN_HDR MMEStatusTransfer
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MMEStatusTransfer");
#.FN_HDR TraceStart
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "TraceStart");
#.FN_HDR TraceFailureIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "TraceFailureIndication");
#.FN_HDR DeactivateTrace
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DeactivateTrace");
#.FN_HDR CellTrafficTrace
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "CellTrafficTrace");
#.FN_HDR LocationReportingControl
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "LocationReportingControl");
#.FN_HDR LocationReportingFailureIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "LocationReportingFailureIndication");
#.FN_HDR LocationReport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "LocationReport");
#.FN_HDR OverloadStart
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "OverloadStart");
#.FN_HDR OverloadStop
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "OverloadStop");
#.FN_HDR WriteReplaceWarningRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "WriteReplaceWarningRequest");
#.FN_HDR WriteReplaceWarningResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "WriteReplaceWarningResponse");
#.FN_HDR ENBDirectInformationTransfer
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBDirectInformationTransfer");
#.FN_HDR MMEDirectInformationTransfer
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MMEDirectInformationTransfer");
#.FN_HDR ENBConfigurationTransfer
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBConfigurationTransfer");
#.FN_HDR MMEConfigurationTransfer
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MMEConfigurationTransfer");
#.FN_HDR PrivateMessage
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PrivateMessage");
#.FN_HDR KillRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "KillRequest");
#.FN_HDR KillResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "KillResponse");
#.FN_HDR PWSRestartIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PWSRestartIndication");
#.FN_HDR PWSFailureIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "PWSFailureIndication");
#.FN_HDR DownlinkUEAssociatedLPPaTransport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DownlinkUEAssociatedLPPaTransport");
#.FN_HDR UplinkUEAssociatedLPPaTransport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UplinkUEAssociatedLPPaTransport");
#.FN_HDR DownlinkNonUEAssociatedLPPaTransport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "DownlinkNonUEAssociatedLPPaTransport");
#.FN_HDR UplinkNonUEAssociatedLPPaTransport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UplinkNonUEAssociatedLPPaTransport");
#.FN_HDR E-RABModificationIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABModificationIndication");
#.FN_HDR E-RABModificationConfirm
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "E-RABModificationConfirm");
#.FN_HDR UEContextModificationIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextModificationIndication");
#.FN_HDR UEContextModificationConfirm
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextModificationConfirm");
#.FN_HDR UEContextSuspendRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextSuspendRequest");
#.FN_HDR UEContextSuspendResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextSuspendResponse");
#.FN_HDR UEContextResumeRequest
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextResumeRequest");
#.FN_HDR UEContextResumeResponse
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextResumeResponse");
#.FN_HDR UEContextResumeFailure
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEContextResumeFailure");
#.FN_HDR ConnectionEstablishmentIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ConnectionEstablishmentIndication");
#.FN_HDR NASDeliveryIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "NASDeliveryIndication");
#.FN_HDR RetrieveUEInformation
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "RetrieveUEInformation");
#.FN_HDR UEInformationTransfer
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "UEInformationTransfer");
#.FN_HDR ENBCPRelocationIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "ENBCPRelocationIndication");
#.FN_HDR MMECPRelocationIndication
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "MMECPRelocationIndication");
#.FN_HDR SecondaryRATDataUsageReport
  col_append_sep_str(actx->pinfo->cinfo, COL_INFO, NULL, "SecondaryRATDataUsageReport");
#.END

# Whenever a Cause appears, look up the reason and show it in the Info column

#.FN_BODY CauseRadioNetwork VAL_PTR=&value
  guint32 value;
%(DEFAULT_BODY)s
  col_append_fstr(actx->pinfo->cinfo, COL_INFO, " [RadioNetwork-cause=%%s]", val_to_str_const(value, s1ap_CauseRadioNetwork_vals, "Unknown"));

#.FN_BODY CauseTransport VAL_PTR=&value
  guint32 value;
%(DEFAULT_BODY)s
  col_append_fstr(actx->pinfo->cinfo, COL_INFO, " [Transport-cause=%%s]", val_to_str_const(value, s1ap_CauseTransport_vals, "Unknown"));

#.FN_BODY CauseNas VAL_PTR=&value
  guint32 value;
%(DEFAULT_BODY)s
  col_append_fstr(actx->pinfo->cinfo, COL_INFO, " [NAS-cause=%%s]", val_to_str_const(value, s1ap_CauseNas_vals, "Unknown"));

#.FN_BODY CauseProtocol VAL_PTR=&value
  guint32 value;
%(DEFAULT_BODY)s
  col_append_fstr(actx->pinfo->cinfo, COL_INFO, " [Protocol-cause=%%s]", val_to_str_const(value, s1ap_CauseProtocol_vals, "Unknown"));

#.FN_BODY CauseMisc VAL_PTR=&value
  guint32 value;
%(DEFAULT_BODY)s
  col_append_fstr(actx->pinfo->cinfo, COL_INFO, " [Misc-cause=%%s]", val_to_str_const(value, s1ap_CauseMisc_vals, "Unknown"));

#.END

#.FIELD_ATTR
EUTRAN-CGI/cell-ID ABBREV=CellIdentity TYPE=FT_UINT32 DISPLAY=BASE_HEX
#.FN_BODY CellIdentity VAL_PTR = &cell_id_tvb HF_INDEX=-1
  tvbuff_t *cell_id_tvb = NULL;
%(DEFAULT_BODY)s
  if (cell_id_tvb) {
    guint32 cell_id = tvb_get_bits32(cell_id_tvb, 0, 28, ENC_BIG_ENDIAN);
    actx->created_item = proto_tree_add_uint(tree, hf_index, cell_id_tvb, 0, 4, cell_id);
  }
#.END

#
# Editor modelines  -  http://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 2
# tab-width: 8
# indent-tabs-mode: nil
# End:
#
# vi: set shiftwidth=2 tabstop=8 expandtab:
# :indentSize=2:tabSize=8:noTabs=true:
#