summaryrefslogtreecommitdiff
path: root/epan/dissectors/asn1/s1ap/s1ap.cnf
blob: e740cebe341c8679a89ba422f9b14889ea8ff301 (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
# 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

#.EXPORTS
ENB-StatusTransfer-TransparentContainer_PDU
Global-ENB-ID_PDU
Global-ENB-ID
SONtransferApplicationIdentity_PDU
SONtransferRequestContainer_PDU
SONtransferRequestContainer
SONtransferResponseContainer_PDU
SONtransferResponseContainer
SONtransferCause_PDU
UE-HistoryInformation_PDU

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

#.MAKE_ENUM
ProcedureCode
ProtocolIE-ID

#.NO_EMIT
TBCD-STRING
SourceBSS-ToTargetBSS-TransparentContainer
TargetBSS-ToSourceBSS-TransparentContainer
SourceRNC-ToTargetRNC-TransparentContainer
TargetRNC-ToSourceRNC-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_PARS ProtocolIE-ID  VAL_PTR=&ProtocolIE_ID
#.FN_FTR ProtocolIE-ID
  if (tree) {
    proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str_ext(ProtocolIE_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_PARS ProtocolExtensionID  VAL_PTR=&ProtocolExtensionID
#.FN_PARS ProtocolExtensionField/extensionValue  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_ProtocolExtensionFieldExtensionValue

#.FN_PARS  ProcedureCode  VAL_PTR = &ProcedureCode
#.FN_FTR ProcedureCode
  col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%s",
               val_to_str_ext(ProcedureCode, &s1ap_ProcedureCode_vals_ext,
                              "unknown message"));
#.END

#.FN_PARS InitiatingMessage/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_InitiatingMessageValue
#.FN_HDR InitiatingMessage/value
    message_type = INITIATING_MESSAGE;
#.FN_PARS SuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_SuccessfulOutcomeValue
#.FN_HDR SuccessfulOutcome/value
    message_type = SUCCESSFUL_OUTCOME;
#.FN_PARS UnsuccessfulOutcome/value  FN_VARIANT=_pdu_new  TYPE_REF_FN=dissect_UnsuccessfulOutcomeValue
#.FN_HDR UnsuccessfulOutcome/value
    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
obj_id = NULL;

#.FN_PARS PrivateIE-ID/global  FN_VARIANT = _str  VAL_PTR = &obj_id

#.FN_BODY PrivateIE-Field/value

  if (obj_id){
    offset=call_per_oid_callback(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;

  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);
#.END

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

%(DEFAULT_BODY)s

  if (!parameter_tvb)
    return offset;

  length = tvb_reported_length(parameter_tvb);

  is_ascii = TRUE;
  for (p_offset=0; p_offset < length; p_offset++){
    if(!g_ascii_isprint(tvb_get_guint8(parameter_tvb, p_offset ))){
      is_ascii = FALSE;
      break;
    }
  }
  if (is_ascii)
     proto_item_append_text(actx->created_item,"(%%s)",tvb_format_text(parameter_tvb, 0, length));


#.FN_BODY TAC VAL_PTR = &parameter_tvb
tvbuff_t *parameter_tvb=NULL;

%(DEFAULT_BODY)s

  if (!parameter_tvb)
    return offset;

  proto_item_append_text(actx->created_item," (%%u)",tvb_get_ntohs(parameter_tvb, 0));

#.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);
  }

#.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 = &handover_type_value

%(DEFAULT_BODY)s

#Zero the value before use
#.FN_HDR HandoverRequired
  handover_type_value = 0;
#.FN_HDR HandoverCommand
  handover_type_value = 0;
#.FN_HDR HandoverRequest
  handover_type_value = 0;
#.FN_HDR HandoverRequestAcknowledge
  handover_type_value = 0;

#.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 = NULL;

%(DEFAULT_BODY)s

  if (g_s1ap_dissect_container) {
    /* 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(handover_type_value){
      /*
      HandoverType ::= ENUMERATED {
      intralte,
      ltetoutran,
      ltetogeran,
      utrantolte,
      gerantolte,
      ...
      } */
      case 0:
      /* intralte
        Intra E-UTRAN handover Source eNB to Target eNB
        Transparent Container 36.413
      */
      dissect_SourceeNB_ToTargeteNB_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case 1:
      /* ltetoutran
        Source RNC to Target RNC
        Transparent Container 25.413
      */
      dissect_ranap_SourceRNC_ToTargetRNC_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case 2:
      /* 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 3:
      /* utrantolte */
      break;
      case 4:
      /* gerantolte */
      break;
      default:
      DISSECTOR_ASSERT_NOT_REACHED();
      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 = NULL;

%(DEFAULT_BODY)s

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_ToSourceTransparentContainer);

  switch(handover_type_value){
    /*
      HandoverType ::= ENUMERATED {
      intralte,
      ltetoutran,
      ltetogeran,
      utrantolte,
      gerantolte,
      ...
      } */
      case 0:
      /* intralte
        Intra E-UTRAN handover Target eNB to Source eNB
        Transparent Container 36.413
      */
      dissect_TargeteNB_ToSourceeNB_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case 1:
      /* ltetoutran
        Target RNC to Source RNC
        Transparent Container 25.413
      */
      dissect_ranap_TargetRNC_ToSourceRNC_TransparentContainer_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
      break;
      case 2:
      /* 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 3:
      /* utrantolte */
      break;
      case 4:
      /* gerantolte */
      break;
      default:
      DISSECTOR_ASSERT_NOT_REACHED();
      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 = NULL;

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

  if (g_s1ap_dissect_container) {
    subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_RRCContainer);

    switch(message_type){
      case INITIATING_MESSAGE:
        /* 9.2.1.7 Source eNB to Target eNB Transparent Container */
        dissect_lte_rrc_HandoverPreparationInformation_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
        break;
      case SUCCESSFUL_OUTCOME:
        /* 9.2.1.8 Target eNB to Source eNB Transparent Container */
        dissect_lte_rrc_HandoverCommand_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
        break;
      default:
        break;
    }
  }

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

%(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);
    dissect_lte_rrc_VisitedCellInfoList_r12_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
  }

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

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

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

#.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 = NULL;

%(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 = NULL;

%(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 = NULL;

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

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

#.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 = NULL;
%(DEFAULT_BODY)s
  if (!parameter_tvb)
    return offset;

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

#.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 = NULL;
%(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);
    dissect_lte_rrc_RLF_Report_r9_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
  }

#.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 = NULL;
%(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 = NULL;
%(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);
    dissect_lte_rrc_RLF_Report_r9_PDU(parameter_tvb, actx->pinfo, subtree, NULL);
  }

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

#.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

# 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-UEUserPlaneCIoTSupportIndicator                  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
#OCTET STRING                                   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
RAT-Type                                        N s1ap.extension id-RAT-Type
BearerType                                      N s1ap.extension id-BearerType
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


#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
EmergencyAreaIDListForRestart           N s1ap.extension id-EmergencyAreaIDListForRestart
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

#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

#.FN_HDR E-RABSetupRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E_RABSetupRequest ");
#.FN_HDR E-RABSetupResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E_RABSetupResponse ");
#.FN_HDR E-RABModifyRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E_RABModifyRequest ");
#.FN_HDR E-RABModifyResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E_RABModifyResponse ");
#.FN_HDR E-RABReleaseCommand
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E_RABReleaseCommand ");
#.FN_HDR E-RABReleaseResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E_RABReleaseResponse ");
#.FN_HDR E-RABReleaseIndication
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E_RABReleaseIndication ");

#.FN_HDR InitialContextSetupRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", InitialContextSetupRequest ");
#.FN_HDR InitialContextSetupResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", InitialContextSetupResponse ");
#.FN_HDR InitialContextSetupFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", InitialContextSetupFailure ");
#.FN_HDR UEContextReleaseRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextReleaseRequest ");
#.FN_HDR UEContextReleaseCommand
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextReleaseCommand ");
#.FN_HDR UEContextReleaseComplete
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextReleaseComplete ");
#.FN_HDR UEContextModificationRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextModificationRequest ");
#.FN_HDR UEContextModificationResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextModificationResponse ");
#.FN_HDR UEContextModificationFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextModificationFailure ");

#.FN_HDR HandoverRequired
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverRequired ");
#.FN_HDR HandoverCommand
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverCommand ");
#.FN_HDR HandoverPreparationFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverPreparationFailure ");
#.FN_HDR HandoverRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverRequest ");
#.FN_HDR HandoverRequestAcknowledge
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverRequestAcknowledge ");
#.FN_HDR HandoverFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverFailure ");
#.FN_HDR HandoverNotify
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverNotify ");
#.FN_HDR PathSwitchRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", PathSwitchRequest ");
#.FN_HDR PathSwitchRequestAcknowledge
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", PathSwitchRequestAcknowledge ");
#.FN_HDR PathSwitchRequestFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", PathSwitchRequestFailure ");
#.FN_HDR HandoverCancel
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverCancel ");
#.FN_HDR HandoverCancelAcknowledge
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", HandoverCancelAcknowledge ");


#.FN_HDR Reset
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", Reset ");
#.FN_HDR ResetAcknowledge
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", ResetAcknowledge ");
# FN_HDR ErrorIndication
#  col_append_str(actx->pinfo->cinfo, COL_INFO, ", ErrorIndication ");
#.FN_HDR S1SetupRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", S1SetupRequest ");
#.FN_HDR S1SetupResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", S1SetupResponse ");
#.FN_HDR S1SetupFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", S1SetupFailure ");
#.FN_HDR ENBConfigurationUpdate
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", ENBConfigurationUpdate ");
#.FN_HDR ENBConfigurationUpdateAcknowledge
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", ENBConfigurationUpdateAcknowledge ");
#.FN_HDR ENBConfigurationUpdateFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", ENBConfigurationUpdateFailure ");
#.FN_HDR MMEConfigurationUpdate
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", MMEConfigurationUpdate ");
#.FN_HDR MMEConfigurationUpdateAcknowledge
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", MMEConfigurationUpdateAcknowledge ");
#.FN_HDR MMEConfigurationUpdateFailure
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", MMEConfigurationUpdateFailure ");

#.FN_HDR WriteReplaceWarningRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", WriteReplaceWarningRequest ");
#.FN_HDR WriteReplaceWarningResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", WriteReplaceWarningResponse ");
#.FN_HDR KillRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", KillRequest ");
#.FN_HDR KillResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", KillResponse ");

#.FN_HDR DownlinkUEAssociatedLPPaTransport
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", DownlinkUEAssociatedLPPaTransport ");

#.FN_HDR UplinkUEAssociatedLPPaTransport
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UplinkUEAssociatedLPPaTransport ");

#.FN_HDR DownlinkNonUEAssociatedLPPaTransport
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", DownlinkNonUEAssociatedLPPaTransport ");

#.FN_HDR UplinkNonUEAssociatedLPPaTransport
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UplinkNonUEAssociatedLPPaTransport ");

#.FN_HDR UERadioCapabilityMatchRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UERadioCapabilityMatchRequest ");

#.FN_HDR UERadioCapabilityMatchResponse
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UERadioCapabilityMatchResponse ");

#.FN_HDR E-RABModificationIndication
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E-RABModificationIndication ");

#.FN_HDR E-RABModificationConfirm
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", E-RABModificationConfirm ");

#.FN_HDR UEContextModificationIndication
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextModificationIndication ");

#.FN_HDR UEContextModificationConfirm
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", UEContextModificationConfirm ");

#.FN_HDR RerouteNASRequest
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", RerouteNASRequest ");

#.FN_HDR PWSFailureIndication
  col_append_str(actx->pinfo->cinfo, COL_INFO, ", PWSFailureIndication ");


/* 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

#
# 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:
#