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
|
# H.245 conformation file
# Copyright 2005 Anders Broman anders.broman[at]ericsson.com
#----------------------------------------------------------------------------------------
#.OPT
PER
ALIGNED
#.END
#.MODULE_EXPORTS
T38FaxProfile
DataProtocolCapability NO_PROT_PREFIX
OpenLogicalChannel
QOSCapability
H223Capability EXTERN WS_DLL
H223LogicalChannelParameters
TransportAddress
UnicastAddress
MulticastAddress
Capability
#.END
#.PDU
OpenLogicalChannel
#.MAKE_ENUM
RequestMessage TYPE_PREFIX
ResponseMessage TYPE_PREFIX
CommandMessage TYPE_PREFIX
IndicationMessage TYPE_PREFIX
AudioCapability TYPE_PREFIX
#.END
#----------------------------------------------------------------------------------------
#.VIRTUAL_ASSGN
G723AnnexCAudioMode G7231AnnexCCapability/g723AnnexCAudioMode G7231AnnexCMode/g723AnnexCAudioMode
Application DataApplicationCapability/application
Nlpid Application/nlpid DataMode/application/nlpid
Al3 H223LogicalChannelParameters/adaptationLayerType/al3 H223ModeParameters/adaptationLayerType/al3
ArqType H223AL1MParameters/arqType H223AL3MParameters/arqType
Restriction FlowControlCommand/restriction FlowControlIndication/restriction
Scope FlowControlCommand/scope FlowControlIndication/scope JitterIndication/scope
EncryptedAlphanumeric UserInputIndication/extendedAlphanumeric/encryptedAlphanumeric UserInputIndication/encryptedAlphanumeric
DepSeparateStream DepFECData/rfc2733/mode/separateStream DepFECMode/rfc2733Mode/mode/separateStream
Rfc2733Format FECCapability/rfc2733Format FECMode/rfc2733Format
#----------------------------------------------------------------------------------------
#.FN_BODY MultiplexEntryDescriptor
/*MultiplexEntryDescriptor*/
h223_me = NULL;
h223_mc = 0;
%(DEFAULT_BODY)s
if(h223_set_mc_handle)
(*h223_set_mc_handle)(%(ACTX)s->pinfo, h223_mc, h223_me);
/* stuff */
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS MultiplexTableEntryNumber
VAL_PTR = &value
#.FN_BODY MultiplexTableEntryNumber
uint32_t value;
%(DEFAULT_BODY)s
h223_mc = value & 0xf;
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY MultiplexEntryDescriptor/elementList
/* create a h223_mux_element to hold onto the head of the list, since
* h223_me will track the tail */
h223_mux_element dummy_me;
memset (&dummy_me, 0, sizeof (h223_mux_element));
h223_me = &dummy_me;
%(DEFAULT_BODY)s
/* set h223_me to the head of the list for MEDescriptor to pick up */
h223_me = dummy_me.next;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR MultiplexElement
/*MultiplexElement*/
h223_mux_element* me = wmem_new(wmem_file_scope(), h223_mux_element);
h223_me->next = me;
h223_me = me;
h223_me->next = NULL;
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS MultiplexElement/type/logicalChannelNumber
VAL_PTR = &value
#.FN_BODY MultiplexElement/type/logicalChannelNumber
/*MultiplexElement/type/logicalChannelNumber*/
uint32_t value;
%(DEFAULT_BODY)s
h223_me->sublist = NULL;
h223_me->vc = value & 0xffff;
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY MultiplexElement/type/subElementList
h223_mux_element dummy_me, *parent_me = h223_me;
memset (&dummy_me, 0, sizeof (h223_mux_element));
h223_me = &dummy_me;
%(DEFAULT_BODY)s
parent_me->sublist = dummy_me.next;
h223_me = parent_me;
h223_me->vc = 0;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR MultiplexElement/repeatCount/untilClosingFlag
h223_me->repeat_count = 0;
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS MultiplexElement/repeatCount/finite
VAL_PTR = &value
#.FN_BODY MultiplexElement/repeatCount/finite
uint32_t value;
%(DEFAULT_BODY)s
h223_me->repeat_count = value & 0xffff;
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY LogicalChannelNumber VAL_PTR = &value
uint32_t value;
%(DEFAULT_BODY)s
h245_lc_temp = value & 0xfff;
#.END
#=== OpenLogicalChannel =================================================================
#.FN_BODY OpenLogicalChannel
int32_t temp;
upcoming_olc = (!actx->pinfo->fd->visited) ? wmem_new0(wmem_file_scope(), olc_info_t) : NULL;
h223_fw_lc_num = 0;
h223_lc_params_temp = NULL;
%(DEFAULT_BODY)s
if(h223_fw_lc_num != 0 && h223_fw_lc_params) {
h223_pending_olc *pending = wmem_new(wmem_file_scope(), h223_pending_olc);
pending->fw_channel_params = h223_fw_lc_params;
pending->rev_channel_params = h223_rev_lc_params;
temp = h223_fw_lc_num;
if (%(ACTX)s->pinfo->p2p_dir > -1)
wmem_map_insert(h223_pending_olc_reqs[%(ACTX)s->pinfo->p2p_dir], GINT_TO_POINTER(temp), pending);
}
if (upcoming_olc) {
if (fast_start) {
h245_setup_channels(actx->pinfo, &upcoming_olc->rev_lc);
} else {
wmem_map_insert(h245_pending_olc_reqs,
wmem_strdup(wmem_file_scope(), gen_olc_key(upcoming_olc->fwd_lc_num, &%(ACTX)s->pinfo->dst, &%(ACTX)s->pinfo->src, actx->pinfo->pool)),
upcoming_olc);
}
}
upcoming_olc = NULL;
if (h245_pi != NULL)
h245_pi->msg_type = H245_OpenLogChn;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR OpenLogicalChannel/forwardLogicalChannelNumber
if (upcoming_olc) upcoming_olc->fwd_lc_num = h245_lc_temp;
h223_fw_lc_num = h245_lc_temp;
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY OpenLogicalChannel/forwardLogicalChannelParameters
upcoming_channel = (upcoming_olc) ? &upcoming_olc->fwd_lc : NULL;
h245_lc_dissector = NULL;
%(DEFAULT_BODY)s
if(h223_lc_params_temp && h245_lc_dissector)
h223_lc_params_temp->subdissector = h245_lc_dissector;
else if(h223_lc_params_temp)
h223_lc_params_temp->subdissector = data_handle;
if (upcoming_channel && codec_type) {
(void) g_strlcpy(upcoming_channel->data_type_str, codec_type, sizeof(upcoming_channel->data_type_str));
}
upcoming_channel = NULL;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters
h223_fw_lc_params = wmem_new(wmem_file_scope(), h223_lc_params);
h223_fw_lc_params->al_type = al_nonStandard;
h223_fw_lc_params->al_params = NULL;
h223_fw_lc_params->segmentable = 0;
h223_fw_lc_params->subdissector = NULL;
h223_lc_params_temp = h223_fw_lc_params;
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY OpenLogicalChannel/reverseLogicalChannelParameters
upcoming_channel = (upcoming_olc) ? &upcoming_olc->rev_lc : NULL;
%(DEFAULT_BODY)s
if (upcoming_channel && codec_type) {
(void) g_strlcpy(upcoming_channel->data_type_str, codec_type, sizeof(upcoming_channel->data_type_str));
}
upcoming_channel = NULL;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters
h223_rev_lc_params = wmem_new(wmem_file_scope(), h223_lc_params);
h223_rev_lc_params->al_type = al_nonStandard;
h223_rev_lc_params->al_params = NULL;
h223_rev_lc_params->segmentable = 0;
h223_rev_lc_params->subdissector = NULL;
h223_lc_params_temp = h223_rev_lc_params;
#.END
#========================================================================================
#=== OpenLogicalChannelAck ==============================================================
#.FN_BODY OpenLogicalChannelAck
uint32_t temp;
int p2p_dir;
h223_pending_olc *pend;
const char *olc_key;
olc_info_t *olc_req;
upcoming_olc = (!actx->pinfo->fd->visited) ? wmem_new0(actx->pinfo->pool, olc_info_t) : NULL;
h223_fw_lc_num = 0;
h223_rev_lc_num = 0;
%(DEFAULT_BODY)s
temp = h223_fw_lc_num;
p2p_dir = %(ACTX)s->pinfo->p2p_dir;
if(%(ACTX)s->pinfo->p2p_dir == P2P_DIR_SENT)
%(ACTX)s->pinfo->p2p_dir = P2P_DIR_RECV;
else
%(ACTX)s->pinfo->p2p_dir = P2P_DIR_SENT;
pend = (h223_pending_olc *)wmem_map_lookup( h223_pending_olc_reqs[%(ACTX)s->pinfo->p2p_dir], GINT_TO_POINTER(temp) );
if (pend) {
DISSECTOR_ASSERT( ( h223_rev_lc_num && pend->rev_channel_params)
|| (!h223_rev_lc_num && !pend->rev_channel_params) );
if(h223_add_lc_handle) {
(*h223_add_lc_handle)( %(ACTX)s->pinfo, h223_fw_lc_num, pend->fw_channel_params);
if(h223_rev_lc_num)
(*h223_add_lc_handle)( %(ACTX)s->pinfo, h223_rev_lc_num, pend->rev_channel_params);
}
} else {
/* we missed the OpenLogicalChannel packet */
}
%(ACTX)s->pinfo->p2p_dir = p2p_dir;
if (upcoming_olc) {
olc_key = gen_olc_key(upcoming_olc->fwd_lc_num, &%(ACTX)s->pinfo->src, &%(ACTX)s->pinfo->dst, actx->pinfo->pool);
olc_req = (olc_info_t *)wmem_map_lookup(h245_pending_olc_reqs, olc_key);
if (olc_req) {
update_unicast_addr(&olc_req->fwd_lc.media_addr, &upcoming_olc->fwd_lc.media_addr);
update_unicast_addr(&olc_req->fwd_lc.media_control_addr, &upcoming_olc->fwd_lc.media_control_addr);
update_unicast_addr(&olc_req->rev_lc.media_addr, &upcoming_olc->rev_lc.media_addr);
update_unicast_addr(&olc_req->rev_lc.media_control_addr, &upcoming_olc->rev_lc.media_control_addr);
h245_setup_channels(actx->pinfo, &olc_req->fwd_lc);
h245_setup_channels(actx->pinfo, &olc_req->rev_lc);
wmem_map_remove(h245_pending_olc_reqs, olc_key);
} else {
h245_setup_channels(actx->pinfo, &upcoming_olc->fwd_lc);
}
}
upcoming_olc = NULL;
if (h245_pi != NULL)
h245_pi->msg_type = H245_OpenLogChnAck;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR OpenLogicalChannelAck/forwardLogicalChannelNumber
if (upcoming_olc) upcoming_olc->fwd_lc_num = h245_lc_temp;
h223_fw_lc_num = h245_lc_temp;
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY OpenLogicalChannelAck/forwardMultiplexAckParameters
upcoming_channel = (upcoming_olc) ? &upcoming_olc->fwd_lc : NULL;
%(DEFAULT_BODY)s
upcoming_channel = NULL;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR OpenLogicalChannelAck/reverseLogicalChannelParameters/reverseLogicalChannelNumber
h223_rev_lc_num = h245_lc_temp;
#.END
#========================================================================================
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al1Framed
if(h223_lc_params_temp)
h223_lc_params_temp->al_type = al1Framed;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al1NotFramed
if(h223_lc_params_temp)
h223_lc_params_temp->al_type = al1NotFramed;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al2WithoutSequenceNumbers
if(h223_lc_params_temp)
h223_lc_params_temp->al_type = al2WithoutSequenceNumbers;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al2WithSequenceNumbers
if(h223_lc_params_temp)
h223_lc_params_temp->al_type = al2WithSequenceNumbers;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al3
if(h223_lc_params_temp) {
h223_lc_params_temp->al_type = al3;
h223_lc_params_temp->al_params = wmem_new(wmem_file_scope(), h223_al3_params);
}
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS Al3/controlFieldOctets
VAL_PTR = &value
#.FN_BODY Al3/controlFieldOctets
uint32_t value;
%(DEFAULT_BODY)s
if(h223_lc_params_temp && h223_lc_params_temp->al_params)
((h223_al3_params*)h223_lc_params_temp->al_params)->control_field_octets = value & 3 ;
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS Al3/sendBufferSize
VAL_PTR = &value
#.FN_BODY Al3/sendBufferSize
uint32_t value;
%(DEFAULT_BODY)s
if(h223_lc_params_temp && h223_lc_params_temp->al_params)
((h223_al3_params*)h223_lc_params_temp->al_params)->send_buffer_size = value & 0xfffff;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al1M
if(h223_lc_params_temp)
h223_lc_params_temp->al_type = al1M;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al2M
if(h223_lc_params_temp)
h223_lc_params_temp->al_type = al2M;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al3M
if(h223_lc_params_temp)
h223_lc_params_temp->al_type = al3M;
#.END
#----------------------------------------------------------------------------------------
#.FN_PARS H223LogicalChannelParameters/segmentableFlag
VAL_PTR = &value
#.FN_BODY H223LogicalChannelParameters/segmentableFlag
bool value;
%(DEFAULT_BODY)s
if(h223_lc_params_temp)
h223_lc_params_temp->segmentable = value;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR H263VideoCapability
h245_lc_dissector = h263_handle;
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY RequestMessage VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
print_info_column(%(ACTX)s->pinfo->cinfo, &value, h245_RequestMessage_vals, h245_RequestMessage_short_vals);
if (( codec_type != NULL ) && ( value == RequestMessage_openLogicalChannel) ){
col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "(%%s) ", codec_type );
}
col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
/* Add to packet info */
if (h245_pi == NULL)
return offset;
if (strlen(h245_pi->frame_label) == 0)
{
snprintf(h245_pi->frame_label, 50, "%%s", val_to_str_const(value, h245_RequestMessage_short_vals, "UKN"));
/* if it is OLC or RM*/
if ((codec_type != NULL) && (( value == RequestMessage_openLogicalChannel) || ( value == RequestMessage_requestMode)))
{
(void) g_strlcat(h245_pi->frame_label, " (", 50);
(void) g_strlcat(h245_pi->frame_label, codec_type, 50);
(void) g_strlcat(h245_pi->frame_label, ")", 50);
}
}
(void) g_strlcat(h245_pi->comment, val_to_str_const(value, h245_RequestMessage_vals, "<unknown>"), 50);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY ResponseMessage VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
print_info_column(%(ACTX)s->pinfo->cinfo, &value, h245_ResponseMessage_vals, h245_ResponseMessage_short_vals);
col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
if (h245_pi != NULL){
/* Add to packet info */
if ( strlen(h245_pi->frame_label) == 0 ){
snprintf(h245_pi->frame_label, 50, "%%s", val_to_str_const(value, h245_ResponseMessage_short_vals, "UKN"));
}
(void) g_strlcat(h245_pi->comment, val_to_str_const(value, h245_ResponseMessage_vals, "<unknown>"), 50);
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY IndicationMessage VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
print_info_column(%(ACTX)s->pinfo->cinfo, &value, h245_IndicationMessage_vals, h245_IndicationMessage_short_vals);
col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
/* Add to packet info */
if (h245_pi !=NULL){
if ( strlen(h245_pi->frame_label) == 0 ){
snprintf(h245_pi->frame_label, 50, "%%s", val_to_str_const(value, h245_IndicationMessage_short_vals, "UKN"));
}
(void) g_strlcat(h245_pi->comment, val_to_str_const(value, h245_IndicationMessage_vals, "<unknown>"), 50);
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY CommandMessage VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
print_info_column(%(ACTX)s->pinfo->cinfo, &value, h245_CommandMessage_vals, h245_CommandMessage_short_vals);
col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
/* Add to packet info */
if (h245_pi != NULL){
if ( strlen(h245_pi->frame_label) == 0 ){
snprintf(h245_pi->frame_label, 50, "%%s", val_to_str_const(value, h245_CommandMessage_short_vals, "UKN"));
}
(void) g_strlcat(h245_pi->comment, val_to_str_const(value, h245_CommandMessage_vals, "<unknown>"), 50);
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY AudioCapability VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
codec_type = val_to_str_const(value, h245_AudioCapability_short_vals, "<unknown>");
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY VideoCapability VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
codec_type = val_to_str_const(value, h245_VideoCapability_vals, "<unknown>");
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY Application VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
codec_type = val_to_str_const(value, h245_Application_vals, "<unknown>");
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY AudioMode VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
codec_type = val_to_str_const(value, h245_AudioMode_vals, "<unknown>");
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY VideoMode VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
codec_type = val_to_str_const(value, h245_VideoMode_vals, "<unknown>");
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY DataMode/application VAL_PTR = &value
int32_t value;
%(DEFAULT_BODY)s
codec_type = val_to_str_const(value, h245_DataModeApplication_vals, "<unknown>");
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR MasterSlaveDeterminationAck
if (h245_pi != NULL)
h245_pi->msg_type = H245_MastSlvDetAck;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR MasterSlaveDeterminationReject
if (h245_pi != NULL)
h245_pi->msg_type = H245_MastSlvDetRjc;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR OpenLogicalChannelReject
if (h245_pi != NULL)
h245_pi->msg_type = H245_OpenLogChnRjc;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR CloseLogicalChannel
if (h245_pi != NULL)
h245_pi->msg_type = H245_CloseLogChn;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR CloseLogicalChannelAck
if (h245_pi != NULL)
h245_pi->msg_type = H245_CloseLogChnAck;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR OpenLogicalChannelConfirm
if (h245_pi != NULL)
h245_pi->msg_type = H245_OpenLogChnCnf;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR TerminalCapabilitySetAck
if (h245_pi != NULL)
h245_pi->msg_type = H245_TermCapSetAck;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR MasterSlaveDetermination
if (h245_pi != NULL)
h245_pi->msg_type = H245_MastSlvDet;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR TerminalCapabilitySetReject
if (h245_pi != NULL)
h245_pi->msg_type = H245_TermCapSetRjc;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR MasterSlaveDeterminationRelease
if (h245_pi != NULL)
h245_pi->msg_type = H245_MastSlvDetRls;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR TerminalCapabilitySet
if (h245_pi != NULL)
h245_pi->msg_type = H245_TermCapSet;
#.END
#----------------------------------------------------------------------------------------
#.FN_FTR TerminalCapabilitySetRelease
if (h245_pi != NULL)
h245_pi->msg_type = H245_TermCapSetRls;
#.END
#----------------------------------------------------------------------------------------
#=== Generic Extensible Framework =======================================================
#.FN_HDR GenericMessage
void *priv_data = actx->private_data;
gef_ctx_t *gefx;
/* check if not inherited from GenericInformation */
gefx = gef_ctx_get(actx->private_data);
if (!gefx) {
gefx = gef_ctx_alloc(actx->pinfo->pool, NULL, "GenericMessage");
actx->private_data = gefx;
}
#.FN_FTR
actx->private_data = priv_data;
#.END
#.FN_BODY GenericMessage/subMessageIdentifier VAL_PTR = &subMessageIdentifier
uint32_t subMessageIdentifier;
gef_ctx_t *gefx;
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
/* If this is a standard generic message use hf_h245_subMessageIdentifier_standard to get
* the value translated and make it fileterable.
*/
if (strcmp("GenericMessage/0.0.8.239.2", gefx->key) == 0) {
hf_index = hf_h245_subMessageIdentifier_standard;
}
}
%(DEFAULT_BODY)s
if (gefx) {
gefx->subid = wmem_strdup_printf(actx->pinfo->pool, "%%u", subMessageIdentifier);
gef_ctx_update_key(actx->pinfo->pool, gef_ctx_get(actx->private_data));
}
if (hf_index == hf_h245_subMessageIdentifier_standard)
{
col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str_const(subMessageIdentifier, h245_h239subMessageIdentifier_vals, "<unknown>") );
snprintf(h245_pi->frame_label, 50, "%%s", val_to_str_const(subMessageIdentifier, h245_h239subMessageIdentifier_vals, "<unknown>"));
}
#.END
#.FN_HDR GenericMessage/messageContent/_item
gef_ctx_t *parent_gefx;
parent_gefx = gef_ctx_get(actx->private_data);
actx->private_data = gef_ctx_alloc(actx->pinfo->pool, parent_gefx, NULL);
#.FN_FTR
actx->private_data = parent_gefx;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR GenericInformation
void *priv_data = actx->private_data;
actx->private_data = gef_ctx_alloc(actx->pinfo->pool, NULL, "GenericInformation");
#.FN_FTR
actx->private_data = priv_data;
#.END
#--- GenericCapability ------------------------------------------------------------------
#.FN_HDR GenericCapability
void *priv_data = actx->private_data;
actx->private_data = gef_ctx_alloc(actx->pinfo->pool, NULL, "GenericCapability");
#.FN_FTR
actx->private_data = priv_data;
#.END
#.FN_HDR GenericCapability/collapsing/_item
gef_ctx_t *parent_gefx;
parent_gefx = gef_ctx_get(actx->private_data);
actx->private_data = gef_ctx_alloc(actx->pinfo->pool, parent_gefx, "collapsing");
#.FN_FTR
actx->private_data = parent_gefx;
#.END
#.FN_HDR GenericCapability/nonCollapsing/_item
gef_ctx_t *parent_gefx;
parent_gefx = gef_ctx_get(actx->private_data);
actx->private_data = gef_ctx_alloc(actx->pinfo->pool, parent_gefx, "nonCollapsing");
#.FN_FTR
actx->private_data = parent_gefx;
#.END
#.FN_BODY GenericCapability/nonCollapsingRaw VAL_PTR = &value_tvb
tvbuff_t *value_tvb;
gef_ctx_t *parent_gefx;
gef_ctx_t *gefx;
proto_item* ti;
parent_gefx = gef_ctx_get(actx->private_data);
actx->private_data = gef_ctx_alloc(actx->pinfo->pool, parent_gefx, "nonCollapsingRaw");
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
dissector_try_string(gef_content_dissector_table, gefx->key, value_tvb, %(ACTX)s->pinfo, %(TREE)s, %(ACTX)s);
}
actx->private_data = parent_gefx;
#.END
#--- EncryptionSync ---------------------------------------------------------------------
#.FN_HDR EncryptionSync
void *priv_data = actx->private_data;
actx->private_data = gef_ctx_alloc(actx->pinfo->pool, NULL, "EncryptionSync");
#.FN_FTR
actx->private_data = priv_data;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR CapabilityIdentifier
gef_ctx_t *gefx;
proto_item* ti;
#.FN_FTR
gef_ctx_update_key(actx->pinfo->pool, gef_ctx_get(actx->private_data));
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
dissector_try_string(gef_name_dissector_table, gefx->key, tvb_new_subset_length_caplen(tvb, offset>>3, 0, 0), actx->pinfo, tree, actx);
}
actx->private_data = gefx; /* subdissector could overwrite it */
#.END
#.FN_BODY CapabilityIdentifier/standard FN_VARIANT = _str VAL_PTR = &standard_oid_str
const char *standard_oid_str = NULL;
gef_ctx_t *gefx;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) gefx->id = standard_oid_str;
if(strcmp(standard_oid_str,"0.0.8.235.0.3.76") == 0) { /* MIKEY */
if (upcoming_channel)
upcoming_channel->srtp_flag = true;
}
if(!h245_lc_dissector && strcmp(standard_oid_str,"0.0.8.245.1.1.1") == 0)
h245_lc_dissector = amr_handle;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR ParameterIdentifier
gef_ctx_t *gefx;
proto_item* ti;
#.FN_FTR
gef_ctx_update_key(actx->pinfo->pool, gef_ctx_get(actx->private_data));
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
dissector_try_string_new(gef_name_dissector_table, gefx->key, tvb_new_subset_length_caplen(tvb, offset>>3, 0, 0), actx->pinfo, tree, false, actx);
}
actx->private_data = gefx; /* subdissector could overwrite it */
#.END
#.FN_BODY ParameterIdentifier/standard VAL_PTR = &value_int
uint32_t value_int = (uint32_t)-1;
gef_ctx_t *gefx;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) gefx->id = wmem_strdup_printf(actx->pinfo->pool, "%%d", value_int);
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY ParameterValue/booleanArray VAL_PTR = &value
uint32_t value;
uint8_t *buf;
tvbuff_t *value_tvb;
gef_ctx_t *gefx;
proto_item* ti;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = wmem_new(actx->pinfo->pool, uint8_t);
buf[0] = value;
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(uint8_t), sizeof(uint8_t));
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "booleanArray");
dissector_try_string_new(gef_content_dissector_table, gefx->key, value_tvb, %(ACTX)s->pinfo, %(TREE)s, false, %(ACTX)s);
}
#.END
#.FN_BODY ParameterValue/unsignedMin VAL_PTR = &value
uint32_t value;
uint8_t *buf;
tvbuff_t *value_tvb;
gef_ctx_t *gefx;
proto_item* ti;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (uint8_t *)wmem_new(actx->pinfo->pool, uint16_t);
phton16(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(uint16_t), sizeof(uint16_t));
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsignedMin");
dissector_try_string(gef_content_dissector_table, gefx->key, value_tvb, %(ACTX)s->pinfo, %(TREE)s, %(ACTX)s);
}
#.END
#.FN_BODY ParameterValue/unsignedMax VAL_PTR = &value
uint32_t value;
uint8_t *buf;
tvbuff_t *value_tvb;
gef_ctx_t *gefx;
proto_item* ti;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (uint8_t *)wmem_new(actx->pinfo->pool, uint16_t);
phton16(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(uint16_t), sizeof(uint16_t));
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsignedMax");
dissector_try_string(gef_content_dissector_table, gefx->key, value_tvb, %(ACTX)s->pinfo, %(TREE)s, %(ACTX)s);
}
#.END
#.FN_BODY ParameterValue/unsigned32Min VAL_PTR = &value
uint32_t value;
uint8_t *buf;
tvbuff_t *value_tvb;
gef_ctx_t *gefx;
proto_item* ti;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (uint8_t *)wmem_new(actx->pinfo->pool, uint32_t);
phton32(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(uint32_t), sizeof(uint32_t));
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsigned32Min");
dissector_try_string(gef_content_dissector_table, gefx->key, value_tvb, %(ACTX)s->pinfo, %(TREE)s, %(ACTX)s);
}
#.END
#.FN_BODY ParameterValue/unsigned32Max VAL_PTR = &value
uint32_t value;
uint8_t *buf;
tvbuff_t *value_tvb;
gef_ctx_t *gefx;
proto_item* ti;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (uint8_t *)wmem_new(actx->pinfo->pool, uint32_t);
phton32(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(uint32_t), sizeof(uint32_t));
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsigned32Max");
dissector_try_string(gef_content_dissector_table, gefx->key, value_tvb, %(ACTX)s->pinfo, %(TREE)s, %(ACTX)s);
}
#.END
#.FN_BODY ParameterValue/octetString VAL_PTR = &value_tvb
tvbuff_t *value_tvb;
gef_ctx_t *gefx;
proto_item* ti;
%(DEFAULT_BODY)s
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
ti = proto_tree_add_string(tree, hf_h245_debug_dissector_try_string, tvb, offset>>3, 0, gefx->key);
proto_item_set_hidden(ti);
dissector_try_string(gef_content_dissector_table, gefx->key, value_tvb, %(ACTX)s->pinfo, %(TREE)s, %(ACTX)s);
}
#.END
#=== end of GEF =========================================================================
#----------------------------------------------------------------------------------------
#.FN_BODY UnicastAddress/iPAddress/network VAL_PTR = &value_tvb
tvbuff_t *value_tvb;
%(DEFAULT_BODY)s
if (upcoming_channel && upcoming_channel->upcoming_addr) {
tvb_memcpy(value_tvb, upcoming_channel->upcoming_addr->addr_buf, 0, 4);
set_address(&upcoming_channel->upcoming_addr->addr, AT_IPv4, 4, upcoming_channel->upcoming_addr->addr_buf);
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY UnicastAddress/iPAddress/tsapIdentifier VAL_PTR = &tsapIdentifier
uint32_t tsapIdentifier;
%(DEFAULT_BODY)s
if (upcoming_channel && upcoming_channel->upcoming_addr) {
upcoming_channel->upcoming_addr->port = tsapIdentifier;
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY UnicastAddress/iP6Address/network VAL_PTR = &value_tvb
tvbuff_t *value_tvb;
%(DEFAULT_BODY)s
if (upcoming_channel && upcoming_channel->upcoming_addr) {
tvb_memcpy(value_tvb, upcoming_channel->upcoming_addr->addr_buf, 0, 16);
set_address(&upcoming_channel->upcoming_addr->addr, AT_IPv6, 16, upcoming_channel->upcoming_addr->addr_buf);
}
#.END
#----------------------------------------------------------------------------------------
#.FN_BODY UnicastAddress/iP6Address/tsapIdentifier VAL_PTR = &tsapIdentifier
uint32_t tsapIdentifier;
%(DEFAULT_BODY)s
if (upcoming_channel && upcoming_channel->upcoming_addr) {
upcoming_channel->upcoming_addr->port = tsapIdentifier;
}
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H2250LogicalChannelAckParameters/mediaChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = &upcoming_channel->media_addr;
#.END
#.FN_FTR H2250LogicalChannelAckParameters/mediaChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = NULL;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H2250LogicalChannelParameters/mediaChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = &upcoming_channel->media_addr;
#.END
#.FN_FTR H2250LogicalChannelParameters/mediaChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = NULL;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H2250LogicalChannelAckParameters/mediaControlChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = &upcoming_channel->media_control_addr;
#.END
#.FN_FTR H2250LogicalChannelAckParameters/mediaControlChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = NULL;
#.END
#----------------------------------------------------------------------------------------
#.FN_HDR H2250LogicalChannelParameters/mediaControlChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = &upcoming_channel->media_control_addr;
#.END
#.FN_FTR H2250LogicalChannelParameters/mediaControlChannel
if (upcoming_channel)
upcoming_channel->upcoming_addr = NULL;
#.END
#--- RTPPayloadType ---------------------------------------------------------------------
#.FN_HDR RTPPayloadType
rfc_number = 0;
#.END
#.FN_PARS RTPPayloadType/payloadDescriptor/rfc-number
VAL_PTR = &rfc_number
#.END
#.FN_BODY RTPPayloadType/payloadType VAL_PTR = &pt
unsigned int pt;
%(DEFAULT_BODY)s
if ((rfc_number == 2198) && upcoming_channel) {
upcoming_channel->rfc2198 = pt;
}
#.END
#--- NonStandardParameter ---------------------------------------------------------------
#.FN_PARS
NonStandardIdentifier/object FN_VARIANT = _str VAL_PTR = &nsiOID
#.END
#.FN_BODY NonStandardIdentifier VAL_PTR = &value
int32_t value;
nsiOID = "";
h221NonStandard = 0;
%(DEFAULT_BODY)s
switch (value) {
case 0 : /* object */
nsp_handle = dissector_get_string_handle(nsp_object_dissector_table, nsiOID);
break;
case 1 : /* h221NonStandard */
nsp_handle = dissector_get_uint_handle(nsp_h221_dissector_table, h221NonStandard);
break;
default :
nsp_handle = NULL;
}
#.END
#.FN_HDR NonStandardIdentifier/h221NonStandard
t35CountryCode = 0;
t35Extension = 0;
manufacturerCode = 0;
#.FN_FTR NonStandardIdentifier/h221NonStandard
h221NonStandard = ((t35CountryCode * 256) + t35Extension) * 65536 + manufacturerCode;
proto_tree_add_uint(tree, hf_h245Manufacturer, tvb, (offset>>3)-4, 4, h221NonStandard);
#.FN_PARS
NonStandardIdentifier/h221NonStandard/t35CountryCode VAL_PTR = &t35CountryCode
NonStandardIdentifier/h221NonStandard/t35Extension VAL_PTR = &t35Extension
NonStandardIdentifier/h221NonStandard/manufacturerCode VAL_PTR = &manufacturerCode
#.END
#.FN_HDR NonStandardParameter
nsp_handle = NULL;
#.FN_BODY NonStandardParameter/data VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
if (next_tvb && tvb_reported_length(next_tvb)) {
call_dissector((nsp_handle)?nsp_handle:data_handle, next_tvb, %(ACTX)s->pinfo, tree);
}
#.END
#.FN_BODY FunctionNotSupported/returnedFunction VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
proto_item *item;
proto_tree *subtree;
h245_packet_info *saved_h245_pi;
%(DEFAULT_BODY)s
if (next_tvb && tvb_reported_length(next_tvb)) {
saved_h245_pi = h245_pi;
h245_pi = NULL;
subtree = proto_tree_add_subtree(tree, next_tvb, 0, -1, ett_h245_returnedFunction, &item, "The returned function");
proto_item_set_generated(item);
dissect_h245_MultimediaSystemControlMessage(next_tvb, 0, actx, subtree, hf_h245_pdu_type);
h245_pi = saved_h245_pi;
}
#.FN_BODY DataType VAL_PTR = &choice_index
int choice_index;
%(DEFAULT_BODY)s
if (upcoming_channel){
if (choice_index==2){
upcoming_channel->is_video=true;
}else{
upcoming_channel->is_video=false;
}
}
#----------------------------------------------------------------------------------------
#.TYPE_RENAME
NewATMVCCommand/aal Cmd_aal
NewATMVCCommand/aal/aal1 Cmd_aal1
NewATMVCCommand/aal/aal5 Cmd_aal5
NewATMVCCommand/aal/aal1/clockRecovery Cmd_clockRecovery
NewATMVCCommand/aal/aal1/errorCorrection Cmd_errorCorrection
NewATMVCCommand/multiplex Cmd_multiplex
NewATMVCCommand/reverseParameters Cmd_reverseParameters
NewATMVCCommand/reverseParameters/multiplex CmdR_multiplex
NewATMVCIndication/aal Ind_aal
NewATMVCIndication/aal/aal1 Ind_aal1
NewATMVCIndication/aal/aal5 Ind_aal5
NewATMVCIndication/aal/aal1/clockRecovery Ind_clockRecovery
NewATMVCIndication/aal/aal1/errorCorrection Ind_errorCorrection
NewATMVCIndication/multiplex Ind_multiplex
NewATMVCIndication/reverseParameters Ind_reverseParameters
NewATMVCIndication/reverseParameters/multiplex IndR_multiplex
MultilinkRequest/callInformation CallInformationReq
MultilinkRequest/addConnection AddConnectionReq
MultilinkRequest/removeConnection RemoveConnectionReq
MultilinkRequest/maximumHeaderInterval MaximumHeaderIntervalReq
MultilinkResponse/callInformation CallInformationResp
MultilinkResponse/addConnection AddConnectionResp
MultilinkResponse/removeConnection RemoveConnectionResp
MultilinkResponse/maximumHeaderInterval MaximumHeaderIntervalResp
MasterSlaveDeterminationReject/cause MasterSlaveDeterminationRejectCause
TerminalCapabilitySetReject/cause TerminalCapabilitySetRejectCause
OpenLogicalChannelReject/cause OpenLogicalChannelRejectCause
RequestChannelCloseReject/cause RequestChannelCloseRejectCause
MultiplexEntryRejectionDescriptions/cause MultiplexEntryRejectionDescriptionsCause
RequestMultiplexEntryRejectionDescriptions/cause RequestMultiplexEntryRejectionDescriptionsCause
RequestModeReject/cause RequestModeRejectCause
MaintenanceLoopReject/cause MaintenanceLoopRejectCause
FunctionNotSupported/cause FunctionNotSupportedCause
AudioMode/g7231 Mode_g7231
DataMode/application DataModeApplication
DataMode/application/t38fax T38faxApp
DepFECData/rfc2733 RFC2733Data
IS13818AudioMode/audioLayer IS13818AudioLayer
IS13818AudioMode/audioSampling IS13818AudioSampling
IS13818AudioMode/multichannelType IS13818MultichannelType
H223ModeParameters/adaptationLayerType AdaptationLayerType
H223AL1MParameters/headerFEC AL1HeaderFEC
H223AL1MParameters/crcLength AL1CrcLength
H223AL2MParameters/headerFEC AL2HeaderFEC
H223AL3MParameters/crcLength AL3CrcLength
H261VideoMode/resolution H261Resolution
H263VideoMode/resolution H263Resolution
UnicastAddress/iPAddress/network Ipv4_network
MulticastAddress/iPAddress MIPAddress
MulticastAddress/iP6Address MIP6Address
NonStandardIdentifier/h221NonStandard H221NonStandardID
OpenLogicalChannel/forwardLogicalChannelNumber OLC_fw_lcn
OpenLogicalChannelAck/forwardLogicalChannelNumber OLC_ack_fw_lcn
OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters OLC_forw_multiplexParameters
OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters OLC_rev_multiplexParameters
OpenLogicalChannel/reverseLogicalChannelParameters OLC_reverseLogicalChannelParameters
OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters OLC_fw_h223_params
OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters OLC_rev_h223_params
OpenLogicalChannelAck/reverseLogicalChannelParameters OLC_ack_reverseLogicalChannelParameters
CloseLogicalChannel/reason Clc_reason
VCCapability/availableBitRates/type Avb_type
MultiplexElement/type Me_type
RedundancyEncodingDTModeElement/type Re_type
MaintenanceLoopRequest/type Mlr_type
MaintenanceLoopAck/type Mla_type
MaintenanceLoopReject/type Mlrej_type
MiscellaneousCommand/type Mc_type
MiscellaneousIndication/type Mi_type
V76LogicalChannelParameters/mode V76LCP_mode
DepFECData/rfc2733/mode FECdata_mode
DepFECMode/rfc2733Mode/mode FEC_mode
IS11172AudioMode/multichannelType IS11172_multichannelType
MultiplexElement/repeatCount/finite ME_finiteRepeatCount
MultiplexElement/repeatCount ME_repeatCount
DepFECCapability/rfc2733 FECC_rfc2733
RequestModeAck/response Req_mode_ack_response
UserInputIndication/signalUpdate/rtp Si_rtp
UnicastAddress/iPAddress/tsapIdentifier TsapIdentifier
H2250LogicalChannelAckParameters/mediaChannel Ack_mediaChannel
H2250LogicalChannelAckParameters/mediaControlChannel Ack_mediaControlChannel
CommunicationModeTableEntry/mediaChannel Cm_mediaChannel
#----------------------------------------------------------------------------------------
#.FIELD_RENAME
#----------------------------------------------------------------------------------------
NewATMVCCommand/aal cmd_aal
NewATMVCCommand/aal/aal1 cmd_aal1
NewATMVCCommand/aal/aal5 cmd_aal5
NewATMVCCommand/aal/aal1/clockRecovery cmd_clockRecovery
NewATMVCCommand/aal/aal1/errorCorrection cmd_errorCorrection
NewATMVCCommand/multiplex cmd_multiplex
NewATMVCCommand/reverseParameters cmd_reverseParameters
NewATMVCCommand/reverseParameters/multiplex cmdr_multiplex
NewATMVCIndication/aal ind_aal
NewATMVCIndication/aal/aal1 ind_aal1
NewATMVCIndication/aal/aal5 ind_aal5
NewATMVCIndication/aal/aal1/clockRecovery ind_clockRecovery
NewATMVCIndication/aal/aal1/errorCorrection ind_errorCorrection
NewATMVCIndication/multiplex ind_multiplex
NewATMVCIndication/reverseParameters ind_reverseParameters
NewATMVCIndication/reverseParameters/multiplex indr_multiplex
MultilinkRequest/callInformation callInformationReq
MultilinkRequest/addConnection addConnectionReq
MultilinkRequest/removeConnection removeConnectionReq
MultilinkRequest/maximumHeaderInterval maximumHeaderIntervalReq
MultilinkResponse/callInformation callInformationResp
MultilinkResponse/addConnection addConnectionResp
MultilinkResponse/removeConnection removeConnectionResp
MultilinkResponse/maximumHeaderInterval maximumHeaderIntervalResp
MultiplexElement/type/logicalChannelNumber logicalChannelNum
ConnectionIdentifier/sequenceNumber sequenceNum
RequestMessage/nonStandard nonStandardMsg
ResponseMessage/nonStandard nonStandardMsg
CommandMessage/nonStandard nonStandardMsg
IndicationMessage/nonStandard nonStandardMsg
MultilinkRequest/nonStandard nonStandardMsg
MultilinkResponse/nonStandard nonStandardMsg
MultilinkIndication/nonStandard nonStandardMsg
DialingInformation/nonStandard nonStandardMsg
DialingInformationNetworkType/nonStandard nonStandardMsg
UserInputCapability/nonStandard ui_nonStandard
H2250LogicalChannelParameters/nonStandard nonStandardParams
H2250LogicalChannelAckParameters/nonStandard nonStandardParams
CommunicationModeTableEntry/nonStandard nonStandardParams
ConferenceCapability/nonStandardData nonStandardParams
UnicastAddress/iPXAddress/tsapIdentifier ipx_tsapIdentifier
NonStandardParameter/data nsd_data
NonStandardIdentifier/h221NonStandard h221NonStandardID
AudioMode/g711Alaw64k g711Alaw64k_mode
AudioMode/g711Alaw56k g711Alaw56k_mode
AudioMode/g711Ulaw64k g711Ulaw64k_mode
AudioMode/g711Ulaw56k g711Ulaw56k_mode
AudioMode/g722-64k g722_64k_mode
AudioMode/g722-56k g722_56k_mode
AudioMode/g722-48k g722_48k_mode
AudioMode/g728 g728_mode
AudioMode/g729 g729_mode
AudioMode/g729AnnexA g729AnnexA_mode
AudioMode/g7231 g7231_mode
AudioMode/vbd vbd_mode
IS11172AudioMode/audioLayer/audioLayer1 audioLayer1Mode
IS11172AudioMode/audioLayer/audioLayer2 audioLayer2Mode
IS11172AudioMode/audioLayer/audioLayer3 audioLayer3Mode
IS11172AudioMode/audioSampling/audioSampling32k audioSampling32kMode
IS11172AudioMode/audioSampling/audioSampling44k1 audioSampling44k1Mode
IS11172AudioMode/audioSampling/audioSampling48k audioSampling48kMode
IS11172AudioMode/multichannelType/singleChannel singleChannelMode
IS13818AudioMode/audioLayer audioLayerMode
IS13818AudioMode/audioLayer/audioLayer1 audioLayer1Mode
IS13818AudioMode/audioLayer/audioLayer2 audioLayer2Mode
IS13818AudioMode/audioLayer/audioLayer3 audioLayer3Mode
IS13818AudioMode/audioSampling audioSamplingMode
IS13818AudioMode/audioSampling/audioSampling16k audioSampling16kMode
IS13818AudioMode/audioSampling/audioSampling22k05 audioSampling22k05Mode
IS13818AudioMode/audioSampling/audioSampling24k audioSampling24kMode
IS13818AudioMode/audioSampling/audioSampling32k audioSampling32kMode
IS13818AudioMode/audioSampling/audioSampling44k1 audioSampling44k1Mode
IS13818AudioMode/audioSampling/audioSampling48k audioSampling48kMode
IS13818AudioMode/multichannelType/singleChannel singleChannelMode
IS13818AudioMode/multichannelType/threeChannels2-1 threeChannels2_1Mode
IS13818AudioMode/multichannelType/threeChannels3-0 threeChannels3_0Mode
IS13818AudioMode/multichannelType/fourChannels2-0-2-0 fourChannels2_0_2_0Mode
IS13818AudioMode/multichannelType/fourChannels2-2 fourChannels2_2Mode
IS13818AudioMode/multichannelType/fourChannels3-1 fourChannels3_1Mode
IS13818AudioMode/multichannelType/fiveChannels3-0-2-0 fiveChannels3_0_2_0Mode
IS13818AudioMode/multichannelType/fiveChannels3-2 fiveChannels3_2Mode
H262VideoMode/profileAndLevel/profileAndLevel-SPatML profileAndLevel_SPatMLMode
H262VideoMode/profileAndLevel/profileAndLevel-MPatLL profileAndLevel_MPatLLMode
H262VideoMode/profileAndLevel/profileAndLevel-MPatML profileAndLevel_MPatMLMode
H262VideoMode/profileAndLevel/profileAndLevel-MPatH-14 profileAndLevel_MPatH-14Mode
H262VideoMode/profileAndLevel/profileAndLevel-MPatHL profileAndLevel_MPatHLMode
H262VideoMode/profileAndLevel/profileAndLevel-SNRatLL profileAndLevel_SNRatLLMode
H262VideoMode/profileAndLevel/profileAndLevel-SNRatML profileAndLevel_SNRatMLMode
H262VideoMode/profileAndLevel/profileAndLevel-SpatialatH-14 profileAndLevel_SpatialatH-14Mode
H262VideoMode/profileAndLevel/profileAndLevel-HPatML profileAndLevel_HPatMLMode
H262VideoMode/profileAndLevel/profileAndLevel-HPatH-14 profileAndLevel_HPatH-14Mode
H262VideoMode/profileAndLevel/profileAndLevel-HPatHL profileAndLevel_HPatHLMode
RedundancyEncodingMode/secondaryEncoding/audioData audioMode
RedundancyEncodingMode/secondaryEncoding secondaryEncodingMode
RedundancyEncodingCapability/secondaryEncoding secondaryEncodingCapability
UnicastAddress/iPAddress/network ip4_network
UnicastAddress/iP6Address/network ip6_network
MulticastAddress/iP6Address/network mip6_network
MulticastAddress/iPAddress mIPAddress
MulticastAddress/iP6Address mIP6Address
MulticastAddress/iPAddress/network mip4_network
RTPPayloadType/payloadType rtpPayloadType
RTPPayloadType/payloadDescriptor/nonStandardIdentifier nonStandard
MediaPacketizationCapability/rtpPayloadType rtpPayloadTypes
T84Profile/t84Restricted/cif cif_bool
T84Profile/t84Restricted/qcif qcif_bool
H223ModeParameters/adaptationLayerType adaptationLayer
H261VideoMode/resolution h261_resolution
H263VideoMode/resolution h263_resolution
H263VideoMode/resolution/custom custom_res
CommunicationModeTableEntry/dataType entryDataType
VCCapability/transportStream transportStream_bool
MultiplePayloadStreamMode/elements mpsmElements
RedundancyEncodingDTMode/secondary secondaryDTM
MultiplexEntrySendReject/rejectionDescriptions sendRejectionDescriptions
MultiplexEntrySendAck/multiplexTableEntryNumber multiplexTableEntryNumbers
MultiplexEntrySendRelease/multiplexTableEntryNumber multiplexTableEntryNumbers
CapabilityIdentifier/standard standardOid
MiscellaneousIndication/type/videoNotDecodedMBs/temporalReference temporalReference_0_255
CloseLogicalChannel/source cLC_source
DepFECCapability/rfc2733/separateStream separateStreamBool
DepFECCapability/rfc2733/separateStream/samePort samePortBool
VCCapability/aal1/srtsClockRecovery srtsClockRecovery_bool
VCCapability/aal1ViaGateway/srtsClockRecovery srtsClockRecoveryflag
DataMode/application/t84 t84DataProtocolCapability
DataMode/application/t38fax t38faxDataProtocolCapability
H2250LogicalChannelParameters/sessionID sessionID_0_255
H223Capability/mobileOperationTransmitCapability/h223AnnexADoubleFlag h223AnnexADoubleFlagFlag
SendTerminalCapabilitySet/genericRequest genericRequestFlag
H2250LogicalChannelParameters/mediaPacketization/h261aVideoPacketization h261aVideoPacketizationFlag
RemoteMCResponse/reject/functionNotSupported functionNotSupportedFlag
NewATMVCCommand/aal/aal1/errorCorrection/longInterleaver longInterleaverFlag
NewATMVCIndication/aal/aal1/errorCorrection/longInterleaver longInterleaverFlag
MiscellaneousCommand/type/videoFastUpdateMB/firstGOB firstGOB_0_255
H263VideoCapability/sqcifMPI sqcifMPI_1_32
EnhancementOptions/sqcifMPI sqcifMPI_1_32
NewATMVCCommand/aal/aal1/errorCorrection/shortInterleaver shortInterleaverFlag
NewATMVCIndication/aal/aal1/errorCorrection/shortInterleaver shortInterleaverFlag
NewATMVCCommand/multiplex/programStream programStreamFlag
NewATMVCCommand/reverseParameters/multiplex/programStream programStreamFlag
NewATMVCIndication/multiplex/programStream programStreamFlag
NewATMVCIndication/reverseParameters/multiplex/programStream programStreamFlag
H263ModeComboFlags/enhancedReferencePicSelect enhancedReferencePicSelectBool
NewATMVCCommand/aal/aal1/errorCorrection/errorCorrectionOnly errorCorrectionOnlyFlag
NewATMVCIndication/aal/aal1/errorCorrection/errorCorrectionOnly errorCorrectionOnlyFlag
UserInputCapability/extendedAlphanumeric extendedAlphanumericFlag
MultiplexElement/repeatCount/finite me_repeatCount_finite
MiscellaneousCommand/type/videoFastUpdateMB/firstMB firstMB_1_8192
MiscellaneousIndication/type/videoNotDecodedMBs/firstMB firstMB_1_8192
H261VideoCapability/cifMPI cifMPI_1_4
CustomPictureClockFrequency/cifMPI cifMPI2_1_2048
H263VideoCapability/cif16MPI cif16MPI_1_32
EnhancementOptions/cif16MPI cif16MPI_1_32
H263VideoCapability/cif4MPI cif4MPI_1_32
EnhancementOptions/cif4MPI cif4MPI_1_32
H263Version3Options/pictureNumber pictureNumberBoolean
MiscellaneousCommand/type/videoBadMBs/numberOfMBs numberOfMBs1_1_9216
MiscellaneousCommand/type/lostPartialPicture/numberOfMBs numberOfMBs1_1_9216
DataApplicationCapability/maxBitRate maxBitRate2_0_4294967295
GenericCapability/maxBitRate maxBitRate2_0_4294967295
H261VideoCapability/maxBitRate maxBitRate_1_19200
IS13818AudioCapability/bitRate bitRate2_1_1130
IS13818AudioMode/bitRate bitRate2_1_1130
IS11172AudioCapability/bitRate bitRate_1_448
IS11172AudioMode/bitRate bitRate_1_448
DataMode/bitRate bitRate_0_4294967295
H223Capability/bitRate bitRate_1_19200
H261VideoMode/bitRate bitRate_1_19200
H263VideoMode/bitRate bitRate_1_19200
DialingInformationNumber/networkAddress din_networkAddress
NewATMVCCommand/aal/aal1/clockRecovery/adaptiveClockRecovery adaptiveClockRecoveryFlag
NewATMVCIndication/aal/aal1/clockRecovery/adaptiveClockRecovery adaptiveClockRecoveryFlag
NewATMVCCommand/aal/aal1/clockRecovery/nullClockRecovery nullClockRecoveryflag
NewATMVCIndication/aal/aal1/clockRecovery/nullClockRecovery nullClockRecoveryflag
NewATMVCCommand/aal/aal1/errorCorrection/nullErrorCorrection nullErrorCorrectionFlag
NewATMVCIndication/aal/aal1/errorCorrection/nullErrorCorrection nullErrorCorrectionFlag
H223AL2MParameters/headerFEC aL2HeaderFEC
H223AL1MParameters/headerFEC aL1HeaderFEC
H223AL1MParameters/crcLength crcLength2
H223AL3MParameters/crcLength crlength2
SendTerminalCapabilitySet/specificRequest/multiplexCapability multiplexCapabilityBool
DepFECCapability/rfc2733/redundancyEncoding redundancyEncodingBool
DepFECData/rfc2733/mode/redundancyEncoding redundancyEncodingFlag
DepFECMode/rfc2733Mode/mode/redundancyEncoding redundancyEncodingFlag
ParameterValue/genericParameter genericParameters
H261VideoCapability/qcifMPI qcifMPI_1_4
CustomPictureClockFrequency/qcifMPI qcifMPI_1_2048
DataMode/application datamodeapplication
MasterSlaveDeterminationReject/cause msd_rej_cause
OpenLogicalChannelReject/cause olc_rej_cause
RequestMultiplexEntryRejectionDescriptions/cause req_mux_rej_cause
RequestModeReject/cause req_rej_cause
MultiplexEntryRejectionDescriptions/cause mux_rej_cause
RequestChannelCloseReject/cause req_chan_clos_rej_cause
TerminalCapabilitySetReject/cause tcs_rej_cause
MaintenanceLoopReject/cause maintloop_rej_cause
FunctionNotSupported/cause fns_cause
Restriction/maximumBitRate res_maximumBitRate
RedundancyEncodingDTMode/primary prmary_dtmode
RedundancyEncoding/rtpRedundancyEncoding/primary primary
DepFECData/rfc2733 dep_rfc2733
DepFECMode/rfc2733Mode/mode fec_mode
DepFECData/rfc2733/mode fec_data_mode
FECData/rfc2733/pktMode/rfc2733sameport mode_rfc2733sameport
FECData/rfc2733/pktMode/rfc2733diffport mode_rfc2733diffport
V76LogicalChannelParameters/mode v76_mode
OpenLogicalChannelAck/reverseLogicalChannelParameters/multiplexParameters olc_ack_multiplexParameters
OpenLogicalChannel/forwardLogicalChannelNumber olc_fw_lcn
OpenLogicalChannelAck/forwardLogicalChannelNumber olc_ack_fw_lcn
OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters olc_forw_multiplexParameters
OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters olc_rev_multiplexParameter
IS11172AudioMode/multichannelType is11172multichannelType
IS13818AudioMode/multichannelType is13818MultichannelType
CloseLogicalChannel/reason clc_reason
MultiplexElement/repeatCount me_repeatCount
DepFECCapability/rfc2733 fecc_rfc2733
RequestModeAck/response req_mode_ack_response
UserInputIndication/signalUpdate/rtp si_rtp
VCCapability/availableBitRates/type avb_type
MultiplexElement/type me_type
RedundancyEncodingDTModeElement/type re_type
MaintenanceLoopRequest/type mlr_type
MaintenanceLoopAck/type mla_type
MaintenanceLoopReject/type mlrej_type
MiscellaneousCommand/type mc_type
MiscellaneousIndication/type mi_type
VBDMode/type vbd_type
VBDCapability/type vbd_cap_type
OpenLogicalChannelAck/reverseLogicalChannelParameters olc_ack_reverseLogicalChannelParameters
H2250LogicalChannelAckParameters/mediaChannel ack_mediaChannel
H2250LogicalChannelAckParameters/mediaControlChannel ack_mediaControlChannel
UnicastAddress/iP6Address/tsapIdentifier ipv6_tsapIdentifier
UnicastAddress/iPSourceRouteAddress/tsapIdentifier iPSrcRoute_tsapIdentifier
MulticastAddress/iPAddress/tsapIdentifier multicast_tsapIdentifier
MulticastAddress/iP6Address/tsapIdentifier multicast_IPv6_tsapIdentifier
CommunicationModeTableEntry/mediaChannel cm_mediaChannel
CommunicationModeTableEntry/mediaControlChannel cm_mediaControlChannel
Criteria/value criteriaValue
OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters olc_rev_h223_params
OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters olc_fw_h223_params
H223LogicalChannelParameters/adaptationLayerType/al1Framed h223_al_type_al1Framed
H223LogicalChannelParameters/adaptationLayerType/al1NotFramed h223_al_type_al1NotFramed
H223LogicalChannelParameters/adaptationLayerType/al2WithoutSequenceNumbers h223_al_type_al2WithoutSequenceNumbers
H223LogicalChannelParameters/adaptationLayerType/al2WithSequenceNumbers h223_al_type_al2WithSequenceNumbers
H223LogicalChannelParameters/adaptationLayerType/al3 h223_al_type_al3
Al3/sendBufferSize al3_sendBufferSize
H223LogicalChannelParameters/adaptationLayerType/al1M h223_al_type_al1M
H223LogicalChannelParameters/adaptationLayerType/al2M h223_al_type_al2M
H223LogicalChannelParameters/adaptationLayerType/al3M h223_al_type_al3M
H223LogicalChannelParameters/segmentableFlag h223_lc_segmentableFlag
#----------------------------------------------------------------------------------------
#.TYPE_ATTR
UnicastAddress/iPAddress/network TYPE = FT_IPv4 DISPLAY = BASE_NONE STRINGS = NULL
UnicastAddress/iP6Address/network TYPE = FT_IPv6 DISPLAY = BASE_NONE STRINGS = NULL
MulticastAddress/iPAddress/network TYPE = FT_IPv4 DISPLAY = BASE_NONE STRINGS = NULL
MulticastAddress/iP6Address/network TYPE = FT_IPv6 DISPLAY = BASE_NONE STRINGS = NULL
RTPPayloadType/payloadDescriptor/rfc-number TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = VALS(h245_RFC_number_vals)
NonStandardIdentifier/h221NonStandard/t35CountryCode TYPE = FT_UINT32 DISPLAY = BASE_DEC STRINGS = VALS(T35CountryCode_vals)
VendorIdentification/productNumber TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
VendorIdentification/versionNumber TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL
ParameterValue/octetString TYPE = FT_UINT32 DISPLAY = BASE_DEC
#----------------------------------------------------------------------------------------
#.FIELD_ATTR
AlternativeCapabilitySet/_item NAME = "alternativeCapability"
CapabilityIdentifier/standard ABBREV=standardOid
UnicastAddress/iPXAddress/tsapIdentifier ABBREV=ipx.tsapIdentifier
UnicastAddress/iP6Address/tsapIdentifier ABBREV=ipv6.tsapIdentifier
UnicastAddress/iPSourceRouteAddress/tsapIdentifier ABBREV=iPSrcRoute.tsapIdentifier
MulticastAddress/iPAddress/tsapIdentifier ABBREV=multicast.tsapIdentifier
MulticastAddress/iP6Address/tsapIdentifier ABBREV=multicast_IPv6.tsapIdentifier
UnicastAddress/iPAddress/network ABBREV=ip4_network
UnicastAddress/iP6Address/network ABBREV=ip6_network
MulticastAddress/iP6Address/network ABBREV=mip6_network
MulticastAddress/iPAddress ABBREV=mIPAddress
MulticastAddress/iP6Address ABBREV=mIP6Address
MulticastAddress/iPAddress/network ABBREV=mip4_network
Criteria/value ABBREV=criteriaValue
DialingInformationNumber/networkAddress ABBREV=din_networkAddress
SendTerminalCapabilitySet/specificRequest/multiplexCapability ABBREV=multiplexCapabilityBool
H263Version3Options/pictureNumber ABBREV=pictureNumberBoolean
H223Capability/mobileOperationTransmitCapability/h223AnnexADoubleFlag ABBREV=h223AnnexADoubleFlagFlag
#----------------------------------------------------------------------------------------
# vim:set ts=4 sts=2 sw=2:
|