will this finally get rid of the warnigs?
[obnox/wireshark/wip.git] / asn1 / h245 / h245.cnf
1 # H.245 conformation file
2 # Copyright 2005 Anders Broman anders.broman[at]ericsson.com
3 # $Id$
4 #----------------------------------------------------------------------------------------
5 #.EXPORTS
6 #----------------------------------------------------------------------------------------
7 T38FaxProfile
8 DataProtocolCapability NO_PROT_PREFIX
9 OpenLogicalChannel
10 QOSCapability
11 H223Capability
12 H223LogicalChannelParameters
13
14 #.PDU
15 OpenLogicalChannel
16
17 #----------------------------------------------------------------------------------------
18
19 #.VIRTUAL_ASSGN
20 G723AnnexCAudioMode  G7231AnnexCCapability/g723AnnexCAudioMode  G7231AnnexCMode/g723AnnexCAudioMode
21 Application  DataApplicationCapability/application
22 Nlpid  Application/nlpid  DataMode/application/nlpid
23 Al3 H223LogicalChannelParameters/adaptationLayerType/al3  H223ModeParameters/adaptationLayerType/al3  
24 ArqType  H223AL1MParameters/arqType  H223AL3MParameters/arqType
25 Restriction  FlowControlCommand/restriction  FlowControlIndication/restriction
26 Scope  FlowControlCommand/scope  FlowControlIndication/scope  JitterIndication/scope
27 EncryptedAlphanumeric  UserInputIndication/extendedAlphanumeric/encryptedAlphanumeric  UserInputIndication/encryptedAlphanumeric
28
29 DepSeparateStream  DepFECData/rfc2733/mode/separateStream  DepFECMode/rfc2733Mode/mode/separateStream
30
31 Rfc2733Format  FECCapability/rfc2733Format  FECMode/rfc2733Format
32
33 #----------------------------------------------------------------------------------------
34 #.FN_BODY MultiplexEntryDescriptor
35   /*MultiplexEntryDescriptor*/
36   h223_me = NULL;
37   h223_mc = 0;
38 %(DEFAULT_BODY)s
39   if(h223_set_mc_handle)
40     (*h223_set_mc_handle)(%(ACTX)s->pinfo, h223_mc, h223_me);
41  /* stuff */
42 #.END
43 #----------------------------------------------------------------------------------------
44 #.FN_PARS MultiplexTableEntryNumber
45   VAL_PTR = &value
46 #.FN_BODY MultiplexTableEntryNumber
47   guint32 value;
48 %(DEFAULT_BODY)s
49   h223_mc = value & 0xf;
50 #.END
51 #----------------------------------------------------------------------------------------
52 #.FN_BODY MultiplexEntryDescriptor/elementList
53   /* create a h223_mux_element to hold onto the head of the list, since
54    * h223_me will track the tail */
55   h223_mux_element dummy_me;
56   h223_me = &dummy_me;
57 %(DEFAULT_BODY)s
58   /* set h223_me to the head of the list for MEDescriptor to pick up */
59   h223_me = dummy_me.next;
60 #.END
61 #----------------------------------------------------------------------------------------
62 #.FN_HDR MultiplexElement
63   /*MultiplexElement*/
64   h223_mux_element* me = se_alloc(sizeof(h223_mux_element));
65   h223_me->next = me;
66   h223_me = me;
67   h223_me->next = NULL;
68 #.END
69 #----------------------------------------------------------------------------------------
70 #.FN_PARS MultiplexElement/type/logicalChannelNumber
71   VAL_PTR = &value
72 #.FN_BODY MultiplexElement/type/logicalChannelNumber
73   /*MultiplexElement/type/logicalChannelNumber*/
74   guint32 value;
75 %(DEFAULT_BODY)s
76   h223_me->sublist = NULL;
77   h223_me->vc = value & 0xffff;
78 #.END
79 #----------------------------------------------------------------------------------------
80 #.FN_BODY MultiplexElement/type/subElementList
81   h223_mux_element dummy_me, *parent_me = h223_me;
82   h223_me = &dummy_me;
83 %(DEFAULT_BODY)s
84   parent_me->sublist = dummy_me.next;
85   h223_me = parent_me;
86   h223_me->vc = 0;
87 #.END
88 #----------------------------------------------------------------------------------------
89 #.FN_FTR MultiplexElement/repeatCount/untilClosingFlag
90   h223_me->repeat_count = 0;
91 #.END
92 #----------------------------------------------------------------------------------------
93 #.FN_PARS MultiplexElement/repeatCount/finite
94   VAL_PTR = &value
95 #.FN_BODY MultiplexElement/repeatCount/finite
96   guint32 value;
97 %(DEFAULT_BODY)s
98   h223_me->repeat_count = value & 0xffff;
99 #.END
100 #----------------------------------------------------------------------------------------
101 # OpenLogicalChannel .FN_FTR is also declared, line 460ish
102 #.FN_BODY OpenLogicalChannel
103   gint32 temp;
104
105   h223_fw_lc_num = 0;
106   h223_lc_params_temp = NULL;
107
108 %(DEFAULT_BODY)s
109   if(h223_fw_lc_num != 0 && h223_fw_lc_params) {
110         h223_pending_olc *pending = se_alloc(sizeof(h223_pending_olc));
111         pending->fw_channel_params = h223_fw_lc_params;
112         pending->rev_channel_params = h223_rev_lc_params;
113         temp = h223_fw_lc_num;
114         if (%(ACTX)s->pinfo->p2p_dir > -1)
115                 g_hash_table_insert(h223_pending_olc_reqs[%(ACTX)s->pinfo->p2p_dir], GINT_TO_POINTER(temp), pending);
116   }
117 #.END
118 #----------------------------------------------------------------------------------------
119 #.FN_PARS LogicalChannelNumber
120   VAL_PTR = &value
121 #.FN_BODY LogicalChannelNumber
122   guint32 value;
123 %(DEFAULT_BODY)s
124   h245_lc_temp = value & 0xfff;
125 #.END
126 #----------------------------------------------------------------------------------------
127 #.FN_FTR OpenLogicalChannel/forwardLogicalChannelNumber
128   h223_fw_lc_num = h245_lc_temp;
129 #.END
130 #----------------------------------------------------------------------------------------
131 #.FN_BODY OpenLogicalChannel/forwardLogicalChannelParameters
132   h245_lc_dissector = NULL;
133 %(DEFAULT_BODY)s
134   if(h223_lc_params_temp && h245_lc_dissector)
135         h223_lc_params_temp->subdissector = h245_lc_dissector;
136   else if(h223_lc_params_temp)
137         h223_lc_params_temp->subdissector = data_handle;
138 #.END
139 #----------------------------------------------------------------------------------------
140 #.FN_HDR OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters
141   h223_fw_lc_params = se_alloc(sizeof(h223_lc_params));
142   h223_fw_lc_params->al_type = al_nonStandard;
143   h223_fw_lc_params->al_params = NULL;
144   h223_fw_lc_params->segmentable = 0;
145   h223_fw_lc_params->subdissector = NULL;
146   h223_lc_params_temp = h223_fw_lc_params;
147 #.END
148 #----------------------------------------------------------------------------------------
149 #.FN_HDR OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters
150   h223_rev_lc_params = se_alloc(sizeof(h223_lc_params));
151   h223_rev_lc_params->al_type = al_nonStandard;
152   h223_rev_lc_params->al_params = NULL;
153   h223_rev_lc_params->segmentable = 0;
154   h223_rev_lc_params->subdissector = NULL;
155   h223_lc_params_temp = h223_rev_lc_params;
156 #.END
157 #----------------------------------------------------------------------------------------
158 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al1Framed
159   if(h223_lc_params_temp)
160         h223_lc_params_temp->al_type = al1Framed;
161 #.END
162 #----------------------------------------------------------------------------------------
163 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al1NotFramed
164   if(h223_lc_params_temp)
165         h223_lc_params_temp->al_type = al1NotFramed;
166 #.END
167 #----------------------------------------------------------------------------------------
168 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al2WithoutSequenceNumbers
169   if(h223_lc_params_temp)
170         h223_lc_params_temp->al_type = al2WithoutSequenceNumbers;
171 #.END
172 #----------------------------------------------------------------------------------------
173 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al2WithSequenceNumbers
174   if(h223_lc_params_temp)
175         h223_lc_params_temp->al_type = al2WithSequenceNumbers;
176 #.END
177 #----------------------------------------------------------------------------------------
178 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al3
179  if(h223_lc_params_temp) {
180         h223_lc_params_temp->al_type = al3;
181         h223_lc_params_temp->al_params = se_alloc(sizeof(h223_al3_params));
182   }
183 #.END
184 #----------------------------------------------------------------------------------------
185 #.FN_PARS Al3/controlFieldOctets
186   VAL_PTR = &value
187 #.FN_BODY Al3/controlFieldOctets
188   guint32 value;
189 %(DEFAULT_BODY)s
190   if(h223_lc_params_temp && h223_lc_params_temp->al_params)
191         ((h223_al3_params*)h223_lc_params_temp->al_params)->control_field_octets = value & 3 ;
192 #.END
193 #----------------------------------------------------------------------------------------
194 #.FN_PARS Al3/sendBufferSize
195   VAL_PTR = &value
196 #.FN_BODY Al3/sendBufferSize
197   guint32 value;
198 %(DEFAULT_BODY)s
199   if(h223_lc_params_temp && h223_lc_params_temp->al_params)
200         ((h223_al3_params*)h223_lc_params_temp->al_params)->send_buffer_size = value & 0xfffff;
201 #.END
202 #----------------------------------------------------------------------------------------
203 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al1M
204   if(h223_lc_params_temp)
205         h223_lc_params_temp->al_type = al1M;
206 #.END
207 #----------------------------------------------------------------------------------------
208 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al2M
209   if(h223_lc_params_temp)
210         h223_lc_params_temp->al_type = al2M;
211 #.END
212 #----------------------------------------------------------------------------------------
213 #.FN_HDR H223LogicalChannelParameters/adaptationLayerType/al3M
214   if(h223_lc_params_temp)
215         h223_lc_params_temp->al_type = al3M;
216 #.END
217 #----------------------------------------------------------------------------------------
218 #.FN_PARS H223LogicalChannelParameters/segmentableFlag
219   VAL_PTR = &value
220 #.FN_BODY H223LogicalChannelParameters/segmentableFlag
221   guint32 value;
222 %(DEFAULT_BODY)s
223   if(h223_lc_params_temp)
224         h223_lc_params_temp->segmentable = value & 1;
225 #.END
226 #----------------------------------------------------------------------------------------
227 # OpenLogicalChannelAck .FN_FTR is also declared, line 460ish
228 #.FN_BODY OpenLogicalChannelAck
229   guint32 temp;
230   int p2p_dir;
231   h223_pending_olc *pend;
232   h223_fw_lc_num = 0;
233   h223_rev_lc_num = 0;
234         
235 %(DEFAULT_BODY)s
236   temp = h223_fw_lc_num;
237   p2p_dir = %(ACTX)s->pinfo->p2p_dir;
238   
239   if(%(ACTX)s->pinfo->p2p_dir == P2P_DIR_SENT)
240         %(ACTX)s->pinfo->p2p_dir = P2P_DIR_RECV;
241   else
242         %(ACTX)s->pinfo->p2p_dir = P2P_DIR_SENT;
243   pend = g_hash_table_lookup( h223_pending_olc_reqs[%(ACTX)s->pinfo->p2p_dir], GINT_TO_POINTER(temp) );
244   if (pend) {
245         DISSECTOR_ASSERT( ( h223_rev_lc_num &&  pend->rev_channel_params)
246                                    || (!h223_rev_lc_num && !pend->rev_channel_params) );
247         if(h223_add_lc_handle) {
248           (*h223_add_lc_handle)( %(ACTX)s->pinfo, h223_fw_lc_num, pend->fw_channel_params );
249           if(h223_rev_lc_num)
250                 (*h223_add_lc_handle)( %(ACTX)s->pinfo, h223_rev_lc_num, pend->rev_channel_params );
251         }
252   } else {
253         /* we missed the OpenLogicalChannel packet */
254   }
255   %(ACTX)s->pinfo->p2p_dir = p2p_dir;
256 #.END
257 #----------------------------------------------------------------------------------------
258 #.FN_FTR OpenLogicalChannelAck/forwardLogicalChannelNumber
259   h223_fw_lc_num = h245_lc_temp;
260 #.END
261 #----------------------------------------------------------------------------------------
262 #.FN_FTR OpenLogicalChannelAck/reverseLogicalChannelParameters/reverseLogicalChannelNumber
263   h223_rev_lc_num = h245_lc_temp;
264 #.END
265 #----------------------------------------------------------------------------------------
266 #.FN_FTR H263VideoCapability
267   h245_lc_dissector = h263_handle;
268 #.END
269 #----------------------------------------------------------------------------------------
270 #.FN_BODY RequestMessage  VAL_PTR = &value
271   guint32 value;
272
273 %(DEFAULT_BODY)s
274         if (check_col(%(ACTX)s->pinfo->cinfo, COL_INFO)){
275                 if ( h245_shorttypes == TRUE )
276                 {
277                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
278                                 val_to_str(value, h245_RequestMessage_short_vals, "<unknown>"));
279                 }
280                 else
281                 {
282                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
283                                 val_to_str(value, h245_RequestMessage_vals, "<unknown>"));
284                 }
285         }
286
287         if (( check_col(%(ACTX)s->pinfo->cinfo, COL_INFO)) && ( codec_type != NULL ) && ( value == 3) ){
288                 col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "(%%s) ", codec_type );
289         }
290
291         col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
292
293     /* Add to packet info */
294
295     /* if it is TCS*/
296     if ((codec_type != NULL) && ( value == 2))
297                 g_snprintf(h245_pi->frame_label, 50, "%%s (%%s) ",val_to_str(value, h245_RequestMessage_short_vals, "UKN"), h245_pi->frame_label);
298     else
299                 g_snprintf(h245_pi->frame_label, 50, "%%s ", val_to_str(value, h245_RequestMessage_short_vals, "UKN"));
300
301         g_strlcat(h245_pi->comment, val_to_str(value, h245_RequestMessage_vals, "<unknown>"), 50);
302
303     /* if it is OLC or RM*/
304     if ((codec_type != NULL) && (( value == 3) || ( value == 8)))
305                 g_snprintf(h245_pi->frame_label, 50, "%%s (%%s) ", h245_pi->frame_label, codec_type);
306 #.END
307 #----------------------------------------------------------------------------------------
308 #.FN_BODY ResponseMessage  VAL_PTR = &value
309   guint32 value;
310
311 %(DEFAULT_BODY)s
312         if (check_col(%(ACTX)s->pinfo->cinfo, COL_INFO)){
313                 if ( h245_shorttypes == TRUE )
314                 {
315                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
316                                 val_to_str(value, h245_ResponseMessage_short_vals, "<unknown>"));
317                 }
318                 else
319                 {
320                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
321                                 val_to_str(value, h245_ResponseMessage_vals, "<unknown>"));
322                 }
323         }
324
325         col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
326
327     /* Add to packet info */
328     g_snprintf(h245_pi->frame_label, 50, "%%s %%s ", h245_pi->frame_label, val_to_str(value, h245_ResponseMessage_short_vals, "UKN"));
329         g_strlcat(h245_pi->comment, val_to_str(value, h245_ResponseMessage_vals, "<unknown>"), 50);
330
331 #.END
332 #----------------------------------------------------------------------------------------
333 #.FN_BODY IndicationMessage  VAL_PTR = &value
334   guint32 value;
335
336 %(DEFAULT_BODY)s
337         if (check_col(%(ACTX)s->pinfo->cinfo, COL_INFO)){
338                 if ( h245_shorttypes == TRUE )
339                 {
340                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
341                                 val_to_str(value, h245_IndicationMessage_short_vals, "<unknown>"));
342                 }
343                 else
344                 {
345                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
346                                 val_to_str(value, h245_IndicationMessage_vals, "<unknown>"));
347                 }
348         }
349
350         col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
351     /* Add to packet info */
352     g_snprintf(h245_pi->frame_label, 50, "%%s %%s ", h245_pi->frame_label, val_to_str(value, h245_IndicationMessage_short_vals, "UKN"));
353         g_strlcat(h245_pi->comment, val_to_str(value, h245_IndicationMessage_vals, "<unknown>"), 50);
354
355 #.END
356 #----------------------------------------------------------------------------------------
357 #.FN_BODY CommandMessage  VAL_PTR = &value
358   guint32 value;
359
360 %(DEFAULT_BODY)s
361         if (check_col(%(ACTX)s->pinfo->cinfo, COL_INFO)){
362                 if ( h245_shorttypes == TRUE )
363                 {
364                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
365                                 val_to_str(value, h245_CommandMessage_short_vals, "<unknown>"));
366                 }
367                 else
368                 {
369                         col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ",
370                                 val_to_str(value, h245_CommandMessage_vals, "<unknown>"));
371                 }
372         }
373
374         col_set_fence(%(ACTX)s->pinfo->cinfo,COL_INFO);
375     /* Add to packet info */
376     g_snprintf(h245_pi->frame_label, 50, "%%s %%s ", h245_pi->frame_label, val_to_str(value, h245_CommandMessage_short_vals, "UKN"));
377         g_strlcat(h245_pi->comment, val_to_str(value, h245_CommandMessage_vals, "<unknown>"), 50);
378
379 #.END
380 #----------------------------------------------------------------------------------------
381 #.FN_BODY AudioCapability  VAL_PTR = &value
382   guint32 value;
383
384 %(DEFAULT_BODY)s
385         codec_type = val_to_str(value, h245_AudioCapability_short_vals, "<unknown>");
386                 if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%%s %%s", h245_pi->frame_label, val_to_str(value, h245_AudioCapability_short_vals, "ukn"));
387
388 #.END
389 #----------------------------------------------------------------------------------------
390 #.FN_BODY VideoCapability  VAL_PTR = &value
391   guint32 value;
392
393 %(DEFAULT_BODY)s
394         codec_type = val_to_str(value, h245_VideoCapability_vals, "<unknown>");
395                 if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%%s %%s", h245_pi->frame_label, codec_type);
396
397 #.END
398 #----------------------------------------------------------------------------------------
399 #.FN_BODY Application  VAL_PTR = &value
400   guint32 value;
401
402 %(DEFAULT_BODY)s
403         codec_type = val_to_str(value, h245_Application_vals, "<unknown>");
404                 if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%%s %%s", h245_pi->frame_label, codec_type);
405 #.END
406 #----------------------------------------------------------------------------------------
407 #.FN_BODY AudioMode  VAL_PTR = &value
408   guint32 value;
409
410 %(DEFAULT_BODY)s
411   codec_type = val_to_str(value, h245_AudioMode_vals, "<unknown>");
412                 if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%%s %%s", h245_pi->frame_label, val_to_str(value, h245_AudioMode_vals, "ukn"));
413 #.END
414 #----------------------------------------------------------------------------------------
415 #.FN_BODY VideoMode  VAL_PTR = &value
416   guint32 value;
417
418 %(DEFAULT_BODY)s
419   codec_type = val_to_str(value, h245_VideoMode_vals, "<unknown>");
420                 if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%%s %%s", h245_pi->frame_label, val_to_str(value, h245_VideoMode_vals, "ukn"));
421 #.END
422 #----------------------------------------------------------------------------------------
423 #.FN_BODY DataModeApplication  VAL_PTR = &value
424   guint32 value;
425
426 %(DEFAULT_BODY)s
427   codec_type = val_to_str(value, h245_DataModeApplication_vals, "<unknown>");
428                 if (h245_pi != NULL) g_snprintf(h245_pi->frame_label, 50, "%%s %%s", h245_pi->frame_label, val_to_str(value, h245_DataModeApplication_vals, "ukn"));
429 #.END
430 #----------------------------------------------------------------------------------------
431 #.FN_FTR MasterSlaveDeterminationAck
432
433   h245_pi->msg_type = H245_MastSlvDetAck;
434 #.END
435 #----------------------------------------------------------------------------------------
436 #.FN_FTR MasterSlaveDeterminationReject
437
438   h245_pi->msg_type = H245_MastSlvDetRjc;
439 #.END
440 #----------------------------------------------------------------------------------------
441 #.FN_FTR OpenLogicalChannelReject
442
443   h245_pi->msg_type = H245_OpenLogChnRjc;
444 #.END
445 #----------------------------------------------------------------------------------------
446 #.FN_FTR CloseLogicalChannel
447
448   h245_pi->msg_type = H245_CloseLogChn;
449 #.END
450 #----------------------------------------------------------------------------------------
451 #.FN_FTR CloseLogicalChannelAck
452
453   h245_pi->msg_type = H245_CloseLogChnAck;
454 #.END
455 #----------------------------------------------------------------------------------------
456 #.FN_FTR OpenLogicalChannelConfirm
457
458   h245_pi->msg_type = H245_OpenLogChnCnf;
459 #.END
460 #----------------------------------------------------------------------------------------
461 #.FN_FTR TerminalCapabilitySetAck
462
463   h245_pi->msg_type = H245_TermCapSetAck;
464 #.END
465 #----------------------------------------------------------------------------------------
466 #.FN_FTR MasterSlaveDetermination
467
468   h245_pi->msg_type = H245_MastSlvDet;
469 #.END
470 #----------------------------------------------------------------------------------------
471 #.FN_FTR TerminalCapabilitySetReject
472
473   h245_pi->msg_type = H245_TermCapSetRjc;
474 #.END
475 #----------------------------------------------------------------------------------------
476 #.FN_FTR MasterSlaveDeterminationRelease
477
478   h245_pi->msg_type = H245_MastSlvDetRls;
479 #.END
480 #----------------------------------------------------------------------------------------
481 #.FN_FTR TerminalCapabilitySet
482
483   h245_pi->msg_type = H245_TermCapSet;
484 #.END
485 #----------------------------------------------------------------------------------------
486 #.FN_FTR TerminalCapabilitySetRelease
487
488   h245_pi->msg_type = H245_TermCapSetRls;
489 #.END
490 #----------------------------------------------------------------------------------------
491 # OpenLogicalChannel .FN_BODY is also declared, line 70ish
492 #.FN_FTR OpenLogicalChannel
493
494   if (h245_pi != NULL) h245_pi->msg_type = H245_OpenLogChn;
495 #.END
496 #----------------------------------------------------------------------------------------
497 # OpenLogicalChannelAck .FN_BODY is also declared, line 200ish
498 #.FN_FTR OpenLogicalChannelAck
499
500   h245_pi->msg_type = H245_OpenLogChnAck;
501 #.END
502 #----------------------------------------------------------------------------------------
503 #.FN_PARS CapabilityIdentifier/standard
504   FN_VARIANT = _str  VAL_PTR = &standard_oid_str
505 #.FN_FTR CapabilityIdentifier/standard
506   gen_par_prefix = ep_strdup(standard_oid_str);
507   if(!h245_lc_dissector && strcmp(standard_oid_str,"0.0.8.245.1.1.1") == 0)
508         h245_lc_dissector = amr_handle;
509 #.END
510 #----------------------------------------------------------------------------------------
511 #.FN_HDR GenericCapability
512   gen_par_prefix = "";
513 #.END
514 #----------------------------------------------------------------------------------------
515 #.FN_HDR GenericMessage
516   gen_par_prefix = "";
517 #.END
518 #----------------------------------------------------------------------------------------
519 #.FN_HDR GenericMessage/subMessageIdentifier
520   guint32 subMessageIdentifer;
521
522 #.FN_PARS GenericMessage/subMessageIdentifier
523   VAL_PTR = &subMessageIdentifer
524 #.END
525 #----------------------------------------------------------------------------------------
526 #.FN_HDR EncryptionSync
527   gen_par_prefix = "EncryptionSync";
528 #.END
529 #----------------------------------------------------------------------------------------
530 #.FN_HDR GenericParameter
531   gen_par_str = "";
532 #.FN_FTR GenericParameter/parameterIdentifier
533   gen_par_str = ep_strdup_printf("%s-%s", gen_par_prefix, gen_par_str);
534 #.END
535 #----------------------------------------------------------------------------------------
536 #.FN_BODY ParameterIdentifier/standard  VAL_PTR = &value_int
537   gint32 value_int;
538
539 %(DEFAULT_BODY)s
540   gen_par_str = ep_strdup_printf("%%d", value_int);
541 #.END
542 #----------------------------------------------------------------------------------------
543 #.FN_BODY ParameterValue/octetString  VAL_PTR = &value_tvb
544   tvbuff_t *value_tvb;
545
546 %(DEFAULT_BODY)s
547   dissector_try_string(gen_par_dissector_table, gen_par_str, value_tvb, %(ACTX)s->pinfo, %(TREE)s);
548 #.END
549 #----------------------------------------------------------------------------------------
550 #.FN_BODY UnicastAddress/iPAddress/network  VAL_PTR = &value_tvb
551
552   tvbuff_t *value_tvb;
553
554 %(DEFAULT_BODY)s
555   if ( media_channel )
556     ipv4_address = tvb_get_ipv4(value_tvb, 0);
557
558   if ( media_control_channel )
559     rtcp_ipv4_address = tvb_get_ipv4(value_tvb, 0);
560
561 #.END
562 #----------------------------------------------------------------------------------------
563 #.FN_BODY UnicastAddress/iPAddress/tsapIdentifier  VAL_PTR = &tsapIdentifier
564   guint32 tsapIdentifier;
565
566 %(DEFAULT_BODY)s
567   if ( media_channel )
568         ipv4_port = tsapIdentifier;
569
570   if ( media_control_channel )
571         rtcp_ipv4_port = tsapIdentifier;
572
573 #.END
574 #----------------------------------------------------------------------------------------
575 #.FN_HDR H2250LogicalChannelAckParameters/mediaChannel
576
577
578         media_channel = TRUE;
579 #.END
580 #----------------------------------------------------------------------------------------
581 #.FN_HDR H2250LogicalChannelParameters/mediaChannel
582
583
584         media_channel = TRUE;
585 #.END
586 #----------------------------------------------------------------------------------------
587 #.FN_HDR H2250LogicalChannelAckParameters/mediaControlChannel
588
589
590         media_control_channel = TRUE;
591 #.END
592 #----------------------------------------------------------------------------------------
593 #.FN_HDR H2250LogicalChannelParameters/mediaControlChannel
594
595
596         media_control_channel = TRUE;
597 #.END
598 #----------------------------------------------------------------------------------------
599 #.FN_FTR H2250LogicalChannelAckParameters/mediaChannel
600
601
602         media_channel = FALSE;
603 #.END
604 #----------------------------------------------------------------------------------------
605 #.FN_FTR H2250LogicalChannelAckParameters/mediaControlChannel
606
607
608         media_control_channel = FALSE;
609 #.END
610 #----------------------------------------------------------------------------------------
611 #.FN_FTR H2250LogicalChannelParameters/mediaChannel
612
613
614         media_channel = FALSE;
615 #.END
616 #----------------------------------------------------------------------------------------
617 #.FN_FTR H2250LogicalChannelParameters/mediaControlChannel
618
619
620         media_control_channel = FALSE;
621 #.END
622 #----------------------------------------------------------------------------------------
623 #.FN_HDR OpenLogicalChannelAck/forwardMultiplexAckParameters
624
625
626         media_channel = FALSE;
627         media_control_channel = FALSE;
628
629 #.END
630 #----------------------------------------------------------------------------------------
631 #.FN_FTR OpenLogicalChannelAck/forwardMultiplexAckParameters
632         
633         if (!actx->pinfo->fd->flags.visited) {
634                 if (codec_type && strcmp(codec_type, "t38fax")==0) {
635                         if(ipv4_address!=0 && ipv4_port!=0 && t38_handle){
636                                 address src_addr;
637
638                                 src_addr.type=AT_IPv4;
639                                 src_addr.len=4;
640                                 src_addr.data=(guint8*)&ipv4_address;
641
642                                 t38_add_address(actx->pinfo, &src_addr, ipv4_port, 0, "H245", actx->pinfo->fd->num);
643                         }
644                 } else {
645                         if(ipv4_address!=0 && ipv4_port!=0 && rtp_handle){
646                                 address src_addr;
647
648                                 src_addr.type=AT_IPv4;
649                                 src_addr.len=4;
650                                 src_addr.data=(guint8*)&ipv4_address;
651
652                                 rtp_add_address(actx->pinfo, &src_addr, ipv4_port, 0, "H245", actx->pinfo->fd->num, NULL);
653                         }
654                         if(rtcp_ipv4_address!=0 && rtcp_ipv4_port!=0 && rtcp_handle){
655                                 address src_addr;
656
657                                 src_addr.type=AT_IPv4;
658                                 src_addr.len=4;
659                                 src_addr.data=(guint8*)&rtcp_ipv4_address;
660
661                                 rtcp_add_address(actx->pinfo, &src_addr, rtcp_ipv4_port, 0, "H245", actx->pinfo->fd->num);
662                         }
663                 }
664         }
665 #.END
666 #----------------------------------------------------------------------------------------
667 #.FN_HDR OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters
668
669
670         media_channel = FALSE;
671         media_control_channel = FALSE;
672
673 #.END
674 #----------------------------------------------------------------------------------------
675 #.FN_FTR OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters
676         
677         if (!actx->pinfo->fd->flags.visited) {
678                 if (codec_type && (strcmp(codec_type, "t38fax")==0)) {
679                         if(ipv4_address!=0 && ipv4_port!=0 && t38_handle){
680                                 address src_addr;
681
682                                 src_addr.type=AT_IPv4;
683                                 src_addr.len=4;
684                                 src_addr.data=(guint8*)&ipv4_address;
685
686                                 t38_add_address(actx->pinfo, &src_addr, ipv4_port, 0, "H245", actx->pinfo->fd->num);
687                         }
688                 } else {
689                         if(ipv4_address!=0 && ipv4_port!=0 && rtp_handle){
690                                 address src_addr;
691
692                                 src_addr.type=AT_IPv4;
693                                 src_addr.len=4;
694                                 src_addr.data=(guint8*)&ipv4_address;
695
696                                 rtp_add_address(actx->pinfo, &src_addr, ipv4_port, 0, "H245", actx->pinfo->fd->num, NULL);
697                         }
698                         if(rtcp_ipv4_address!=0 && rtcp_ipv4_port!=0 && rtcp_handle){
699                                 address src_addr;
700
701                                 src_addr.type=AT_IPv4;
702                                 src_addr.len=4;
703                                 src_addr.data=(guint8*)&rtcp_ipv4_address;
704
705                                 rtcp_add_address(actx->pinfo, &src_addr, rtcp_ipv4_port, 0, "H245", actx->pinfo->fd->num);
706                         }
707                 }
708         }
709 #.END
710
711 #--- NonStandardParameter ---------------------------------------------------------------
712
713 #.FN_PARS
714 NonStandardIdentifier/object  FN_VARIANT = _str  VAL_PTR = &nsiOID
715 #.END
716 #.FN_BODY NonStandardIdentifier  VAL_PTR = &value
717         guint32 value;
718
719         nsiOID = "";
720         h221NonStandard = 0;
721
722 %(DEFAULT_BODY)s
723         switch (value) {
724                 case 0 :  /* object */
725                         nsp_handle = dissector_get_string_handle(nsp_object_dissector_table, nsiOID);
726                         break;
727                 case 1 :  /* h221NonStandard */
728                         nsp_handle = dissector_get_port_handle(nsp_h221_dissector_table, h221NonStandard);
729                         break;
730                 default :
731                         nsp_handle = NULL;
732     }
733 #.END
734
735 #.FN_HDR NonStandardIdentifier/h221NonStandard
736   t35CountryCode = 0;
737   t35Extension = 0;
738   manufacturerCode = 0;
739 #.FN_FTR NonStandardIdentifier/h221NonStandard
740   h221NonStandard = ((t35CountryCode * 256) + t35Extension) * 65536 + manufacturerCode;
741   proto_tree_add_uint(tree, hf_h245Manufacturer, tvb, (offset>>3)-4, 4, h221NonStandard);
742 #.FN_PARS 
743 NonStandardIdentifier/h221NonStandard/t35CountryCode    VAL_PTR = &t35CountryCode
744 NonStandardIdentifier/h221NonStandard/t35Extension      VAL_PTR = &t35Extension
745 NonStandardIdentifier/h221NonStandard/manufacturerCode  VAL_PTR = &manufacturerCode
746 #.END
747
748 #.FN_HDR NonStandardParameter
749   nsp_handle = NULL;
750 #.FN_BODY NonStandardParameter/data  VAL_PTR = &next_tvb
751   tvbuff_t *next_tvb = NULL;
752
753 %(DEFAULT_BODY)s
754   if (next_tvb && tvb_length(next_tvb)) {
755     call_dissector((nsp_handle)?nsp_handle:data_handle, next_tvb, %(ACTX)s->pinfo, tree);
756   }
757 #.END
758
759 #----------------------------------------------------------------------------------------
760 #.TYPE_RENAME
761
762 NewATMVCCommand/aal Cmd_aal
763 NewATMVCCommand/aal/aal1 Cmd_aal1
764 NewATMVCCommand/aal/aal5 Cmd_aal5
765 NewATMVCCommand/aal/aal1/clockRecovery Cmd_clockRecovery
766 NewATMVCCommand/aal/aal1/errorCorrection Cmd_errorCorrection
767 NewATMVCCommand/multiplex Cmd_multiplex
768 NewATMVCCommand/reverseParameters Cmd_reverseParameters
769 NewATMVCCommand/reverseParameters/multiplex CmdR_multiplex
770
771 NewATMVCIndication/aal Ind_aal
772 NewATMVCIndication/aal/aal1 Ind_aal1
773 NewATMVCIndication/aal/aal5 Ind_aal5
774 NewATMVCIndication/aal/aal1/clockRecovery Ind_clockRecovery
775 NewATMVCIndication/aal/aal1/errorCorrection Ind_errorCorrection
776 NewATMVCIndication/multiplex Ind_multiplex
777 NewATMVCIndication/reverseParameters Ind_reverseParameters
778 NewATMVCIndication/reverseParameters/multiplex IndR_multiplex
779
780 MultilinkRequest/callInformation  CallInformationReq
781 MultilinkRequest/addConnection AddConnectionReq
782 MultilinkRequest/removeConnection RemoveConnectionReq
783 MultilinkRequest/maximumHeaderInterval MaximumHeaderIntervalReq
784
785 MultilinkResponse/callInformation CallInformationResp
786 MultilinkResponse/addConnection AddConnectionResp
787 MultilinkResponse/removeConnection RemoveConnectionResp
788 MultilinkResponse/maximumHeaderInterval MaximumHeaderIntervalResp
789
790 MasterSlaveDeterminationReject/cause             MasterSlaveDeterminationRejectCause
791 TerminalCapabilitySetReject/cause                TerminalCapabilitySetRejectCause
792 OpenLogicalChannelReject/cause                   OpenLogicalChannelRejectCause
793 RequestChannelCloseReject/cause                  RequestChannelCloseRejectCause
794 MultiplexEntryRejectionDescriptions/cause        MultiplexEntryRejectionDescriptionsCause
795 RequestMultiplexEntryRejectionDescriptions/cause RequestMultiplexEntryRejectionDescriptionsCause
796 RequestModeReject/cause                          RequestModeRejectCause
797 MaintenanceLoopReject/cause                      MaintenanceLoopRejectCause
798 FunctionNotSupported/cause                       FunctionNotSupportedCause
799
800 AudioMode/g7231 Mode_g7231
801
802 DataMode/application DataModeApplication
803 DataMode/application/t38fax T38faxApp 
804
805 DepFECData/rfc2733 RFC2733Data
806
807 IS13818AudioMode/audioLayer IS13818AudioLayer
808 IS13818AudioMode/audioSampling IS13818AudioSampling
809 IS13818AudioMode/multichannelType IS13818MultichannelType
810
811 H223ModeParameters/adaptationLayerType AdaptationLayerType
812
813 H223AL1MParameters/headerFEC AL1HeaderFEC
814 H223AL1MParameters/crcLength AL1CrcLength
815 H223AL2MParameters/headerFEC AL2HeaderFEC
816 H223AL3MParameters/crcLength AL3CrcLength
817
818 H261VideoMode/resolution H261Resolution
819 H263VideoMode/resolution H263Resolution
820
821 UnicastAddress/iPAddress/network Ipv4_network
822 MulticastAddress/iPAddress MIPAddress
823 MulticastAddress/iP6Address MIP6Address
824
825 NonStandardIdentifier/h221NonStandard H221NonStandardID
826 OpenLogicalChannel/forwardLogicalChannelNumber OLC_fw_lcn
827 OpenLogicalChannelAck/forwardLogicalChannelNumber OLC_ack_fw_lcn
828 OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters OLC_forw_multiplexParameters
829 OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters OLC_rev_multiplexParameters
830 OpenLogicalChannel/reverseLogicalChannelParameters OLC_reverseLogicalChannelParameters
831 OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters OLC_fw_h223_params
832 OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters OLC_rev_h223_params
833 OpenLogicalChannelAck/reverseLogicalChannelParameters OLC_ack_reverseLogicalChannelParameters
834 CloseLogicalChannel/reason Clc_reason
835 VCCapability/availableBitRates/type Avb_type
836 MultiplexElement/type Me_type
837 RedundancyEncodingDTModeElement/type Re_type
838 MaintenanceLoopRequest/type Mlr_type
839 MaintenanceLoopAck/type Mla_type
840 MaintenanceLoopReject/type Mlrej_type
841 MiscellaneousCommand/type Mc_type
842 MiscellaneousIndication/type Mi_type
843 V76LogicalChannelParameters/mode V76LCP_mode
844 DepFECData/rfc2733/mode FECdata_mode
845 DepFECMode/rfc2733Mode/mode FEC_mode
846 IS11172AudioMode/multichannelType IS11172_multichannelType
847 MultiplexElement/repeatCount/finite ME_finiteRepeatCount
848 MultiplexElement/repeatCount ME_repeatCount
849 DepFECCapability/rfc2733 FECC_rfc2733
850 RequestModeAck/response Req_mode_ack_response
851 UserInputIndication/signalUpdate/rtp Si_rtp
852 UnicastAddress/iPAddress/tsapIdentifier TsapIdentifier
853 H2250LogicalChannelAckParameters/mediaChannel Ack_mediaChannel
854 H2250LogicalChannelAckParameters/mediaControlChannel Ack_mediaControlChannel
855 CommunicationModeTableEntry/mediaChannel Cm_mediaChannel
856 #----------------------------------------------------------------------------------------
857 #.FIELD_RENAME
858 #----------------------------------------------------------------------------------------
859
860 NewATMVCCommand/aal cmd_aal
861 NewATMVCCommand/aal/aal1 cmd_aal1
862 NewATMVCCommand/aal/aal5 cmd_aal5
863 NewATMVCCommand/aal/aal1/clockRecovery  cmd_clockRecovery
864 NewATMVCCommand/aal/aal1/errorCorrection cmd_errorCorrection
865 NewATMVCCommand/multiplex cmd_multiplex
866 NewATMVCCommand/reverseParameters cmd_reverseParameters
867 NewATMVCCommand/reverseParameters/multiplex cmdr_multiplex
868
869 NewATMVCIndication/aal     ind_aal
870 NewATMVCIndication/aal/aal1 ind_aal1
871 NewATMVCIndication/aal/aal5 ind_aal5
872 NewATMVCIndication/aal/aal1/clockRecovery ind_clockRecovery
873 NewATMVCIndication/aal/aal1/errorCorrection ind_errorCorrection
874 NewATMVCIndication/multiplex ind_multiplex
875 NewATMVCIndication/reverseParameters ind_reverseParameters
876 NewATMVCIndication/reverseParameters/multiplex indr_multiplex
877
878 MultilinkRequest/callInformation  callInformationReq
879 MultilinkRequest/addConnection addConnectionReq
880 MultilinkRequest/removeConnection removeConnectionReq
881 MultilinkRequest/maximumHeaderInterval maximumHeaderIntervalReq
882
883 MultilinkResponse/callInformation callInformationResp
884 MultilinkResponse/addConnection addConnectionResp
885 MultilinkResponse/removeConnection removeConnectionResp
886 MultilinkResponse/maximumHeaderInterval maximumHeaderIntervalResp
887
888 MultiplexElement/type/logicalChannelNumber logicalChannelNum
889 ConnectionIdentifier/sequenceNumber sequenceNum
890
891 RequestMessage/nonStandard nonStandardMsg
892 ResponseMessage/nonStandard nonStandardMsg
893 CommandMessage/nonStandard nonStandardMsg
894 IndicationMessage/nonStandard nonStandardMsg
895 MultilinkRequest/nonStandard nonStandardMsg
896 MultilinkResponse/nonStandard nonStandardMsg
897 MultilinkIndication/nonStandard nonStandardMsg
898 DialingInformation/nonStandard nonStandardMsg
899 DialingInformationNetworkType/nonStandard nonStandardMsg
900
901 UserInputCapability/nonStandard ui_nonStandard
902 H2250LogicalChannelParameters/nonStandard nonStandardParams
903 H2250LogicalChannelAckParameters/nonStandard nonStandardParams
904 CommunicationModeTableEntry/nonStandard nonStandardParams
905 ConferenceCapability/nonStandardData nonStandardParams
906
907 UnicastAddress/iPXAddress/tsapIdentifier ipx_tsapIdentifier
908
909 NonStandardParameter/data nsd_data
910 NonStandardIdentifier/h221NonStandard h221NonStandardID
911
912 AudioMode/g711Alaw64k g711Alaw64k_mode
913 AudioMode/g711Alaw56k g711Alaw56k_mode
914 AudioMode/g711Ulaw64k g711Ulaw64k_mode
915 AudioMode/g711Ulaw56k g711Ulaw56k_mode
916 AudioMode/g722-64k    g722_64k_mode
917 AudioMode/g722-56k    g722_56k_mode
918 AudioMode/g722-48k    g722_48k_mode
919 AudioMode/g728        g728_mode
920 AudioMode/g729        g729_mode
921 AudioMode/g729AnnexA  g729AnnexA_mode
922 AudioMode/g7231       g7231_mode
923 AudioMode/vbd         vbd_mode
924
925 IS11172AudioMode/audioLayer/audioLayer1 audioLayer1Mode
926 IS11172AudioMode/audioLayer/audioLayer2 audioLayer2Mode
927 IS11172AudioMode/audioLayer/audioLayer3 audioLayer3Mode
928 IS11172AudioMode/audioSampling/audioSampling32k  audioSampling32kMode
929 IS11172AudioMode/audioSampling/audioSampling44k1 audioSampling44k1Mode
930 IS11172AudioMode/audioSampling/audioSampling48k  audioSampling48kMode
931 IS11172AudioMode/multichannelType/singleChannel  singleChannelMode
932
933 IS13818AudioMode/audioLayer             audioLayerMode
934 IS13818AudioMode/audioLayer/audioLayer1 audioLayer1Mode
935 IS13818AudioMode/audioLayer/audioLayer2 audioLayer2Mode
936 IS13818AudioMode/audioLayer/audioLayer3 audioLayer3Mode
937 IS13818AudioMode/audioSampling          audioSamplingMode
938 IS13818AudioMode/audioSampling/audioSampling16k       audioSampling16kMode
939 IS13818AudioMode/audioSampling/audioSampling22k05     audioSampling22k05Mode
940 IS13818AudioMode/audioSampling/audioSampling24k       audioSampling24kMode
941 IS13818AudioMode/audioSampling/audioSampling32k       audioSampling32kMode
942 IS13818AudioMode/audioSampling/audioSampling44k1      audioSampling44k1Mode
943 IS13818AudioMode/audioSampling/audioSampling48k       audioSampling48kMode
944 IS13818AudioMode/multichannelType/singleChannel       singleChannelMode
945 IS13818AudioMode/multichannelType/threeChannels2-1    threeChannels2_1Mode
946 IS13818AudioMode/multichannelType/threeChannels3-0    threeChannels3_0Mode
947 IS13818AudioMode/multichannelType/fourChannels2-0-2-0 fourChannels2_0_2_0Mode
948 IS13818AudioMode/multichannelType/fourChannels2-2     fourChannels2_2Mode
949 IS13818AudioMode/multichannelType/fourChannels3-1     fourChannels3_1Mode
950 IS13818AudioMode/multichannelType/fiveChannels3-0-2-0 fiveChannels3_0_2_0Mode
951 IS13818AudioMode/multichannelType/fiveChannels3-2     fiveChannels3_2Mode
952
953 H262VideoMode/profileAndLevel/profileAndLevel-SPatML        profileAndLevel_SPatMLMode
954 H262VideoMode/profileAndLevel/profileAndLevel-MPatLL        profileAndLevel_MPatLLMode
955 H262VideoMode/profileAndLevel/profileAndLevel-MPatML        profileAndLevel_MPatMLMode
956 H262VideoMode/profileAndLevel/profileAndLevel-MPatH-14      profileAndLevel_MPatH-14Mode
957 H262VideoMode/profileAndLevel/profileAndLevel-MPatHL        profileAndLevel_MPatHLMode
958 H262VideoMode/profileAndLevel/profileAndLevel-SNRatLL       profileAndLevel_SNRatLLMode
959 H262VideoMode/profileAndLevel/profileAndLevel-SNRatML       profileAndLevel_SNRatMLMode
960 H262VideoMode/profileAndLevel/profileAndLevel-SpatialatH-14 profileAndLevel_SpatialatH-14Mode
961 H262VideoMode/profileAndLevel/profileAndLevel-HPatML        profileAndLevel_HPatMLMode
962 H262VideoMode/profileAndLevel/profileAndLevel-HPatH-14      profileAndLevel_HPatH-14Mode
963 H262VideoMode/profileAndLevel/profileAndLevel-HPatHL        profileAndLevel_HPatHLMode
964                     
965 RedundancyEncodingMode/secondaryEncoding/audioData audioMode
966 RedundancyEncodingMode/secondaryEncoding  secondaryEncodingMode
967 RedundancyEncodingCapability/secondaryEncoding  secondaryEncodingCapability
968
969 UnicastAddress/iPAddress/network ip4_network
970 UnicastAddress/iP6Address/network ip6_network
971 MulticastAddress/iP6Address/network mip6_network
972 MulticastAddress/iPAddress mIPAddress
973 MulticastAddress/iP6Address mIP6Address 
974 MulticastAddress/iPAddress/network mip4_network
975
976 RTPPayloadType/payloadDescriptor/nonStandardIdentifier nonStandard
977 MediaPacketizationCapability/rtpPayloadType  rtpPayloadTypes
978 T84Profile/t84Restricted/cif cif_bool
979 T84Profile/t84Restricted/qcif qcif_bool
980 H223ModeParameters/adaptationLayerType adaptationLayer
981 H261VideoMode/resolution h261_resolution
982 H263VideoMode/resolution h263_resolution
983 H263VideoMode/resolution/custom custom_res
984 CommunicationModeTableEntry/dataType entryDataType
985 VCCapability/transportStream transportStream_bool
986 MultiplePayloadStreamMode/elements  mpsmElements
987 RedundancyEncodingDTMode/secondary  secondaryDTM
988 MultiplexEntrySendReject/rejectionDescriptions sendRejectionDescriptions
989
990 MultiplexEntrySendAck/multiplexTableEntryNumber multiplexTableEntryNumbers
991 MultiplexEntrySendRelease/multiplexTableEntryNumber multiplexTableEntryNumbers
992 CapabilityIdentifier/standard standardOid
993 MiscellaneousIndication/type/videoNotDecodedMBs/temporalReference temporalReference_0_255
994 CloseLogicalChannel/source cLC_source
995 DepFECCapability/rfc2733/separateStream separateStreamBool
996 DepFECCapability/rfc2733/separateStream/samePort samePortBool
997 VCCapability/aal1/srtsClockRecovery srtsClockRecovery_bool
998 VCCapability/aal1ViaGateway/srtsClockRecovery srtsClockRecoveryflag
999 DataMode/application/t84 t84DataProtocolCapability
1000 DataMode/application/t38fax t38faxDataProtocolCapability
1001 H2250LogicalChannelParameters/sessionID sessionID_0_255 
1002 H223Capability/mobileOperationTransmitCapability/h223AnnexADoubleFlag h223AnnexADoubleFlagFlag
1003 SendTerminalCapabilitySet/genericRequest genericRequestFlag
1004 H2250LogicalChannelParameters/mediaPacketization/h261aVideoPacketization h261aVideoPacketizationFlag
1005 RemoteMCResponse/reject/functionNotSupported functionNotSupportedFlag
1006 NewATMVCCommand/aal/aal1/errorCorrection/longInterleaver longInterleaverFlag 
1007 NewATMVCIndication/aal/aal1/errorCorrection/longInterleaver longInterleaverFlag
1008 MiscellaneousCommand/type/videoFastUpdateMB/firstGOB firstGOB_0_255
1009 H263VideoCapability/sqcifMPI sqcifMPI_1_32 
1010 EnhancementOptions/sqcifMPI sqcifMPI_1_32
1011 NewATMVCCommand/aal/aal1/errorCorrection/shortInterleaver shortInterleaverFlag
1012 NewATMVCIndication/aal/aal1/errorCorrection/shortInterleaver shortInterleaverFlag
1013 NewATMVCCommand/multiplex/programStream programStreamFlag 
1014 NewATMVCCommand/reverseParameters/multiplex/programStream programStreamFlag
1015 NewATMVCIndication/multiplex/programStream programStreamFlag
1016 NewATMVCIndication/reverseParameters/multiplex/programStream programStreamFlag
1017 H263ModeComboFlags/enhancedReferencePicSelect enhancedReferencePicSelectBool
1018 NewATMVCCommand/aal/aal1/errorCorrection/errorCorrectionOnly errorCorrectionOnlyFlag 
1019 NewATMVCIndication/aal/aal1/errorCorrection/errorCorrectionOnly errorCorrectionOnlyFlag
1020 UserInputCapability/extendedAlphanumeric extendedAlphanumericFlag
1021 MultiplexElement/repeatCount/finite  me_repeatCount_finite
1022 MiscellaneousCommand/type/videoFastUpdateMB/firstMB firstMB_1_8192
1023 MiscellaneousIndication/type/videoNotDecodedMBs/firstMB firstMB_1_8192
1024 H261VideoCapability/cifMPI cifMPI_1_4
1025 CustomPictureClockFrequency/cifMPI cifMPI2_1_2048         
1026 H263VideoCapability/cif16MPI  cif16MPI_1_32
1027 EnhancementOptions/cif16MPI  cif16MPI_1_32
1028 H263VideoCapability/cif4MPI cif4MPI_1_32
1029 EnhancementOptions/cif4MPI  cif4MPI_1_32
1030 H263Version3Options/pictureNumber pictureNumberBoolean       
1031 MiscellaneousCommand/type/videoBadMBs/numberOfMBs numberOfMBs1_1_9216
1032 MiscellaneousCommand/type/lostPartialPicture/numberOfMBs numberOfMBs1_1_9216
1033 DataApplicationCapability/maxBitRate maxBitRate2_0_4294967295
1034 GenericCapability/maxBitRate maxBitRate2_0_4294967295
1035 H261VideoCapability/maxBitRate maxBitRate_1_19200
1036 IS13818AudioCapability/bitRate bitRate2_1_1130
1037 IS13818AudioMode/bitRate bitRate2_1_1130
1038 IS11172AudioCapability/bitRate bitRate_1_448 
1039 IS11172AudioMode/bitRate  bitRate_1_448
1040 DataMode/bitRate bitRate_0_4294967295
1041 H223Capability/bitRate bitRate_1_19200
1042 H261VideoMode/bitRate bitRate_1_19200
1043 H263VideoMode/bitRate bitRate_1_19200
1044 DialingInformationNumber/networkAddress networkAddressNum
1045 NewATMVCCommand/aal/aal1/clockRecovery/adaptiveClockRecovery adaptiveClockRecoveryFlag 
1046 NewATMVCIndication/aal/aal1/clockRecovery/adaptiveClockRecovery adaptiveClockRecoveryFlag
1047 NewATMVCCommand/aal/aal1/clockRecovery/nullClockRecovery nullClockRecoveryflag 
1048 NewATMVCIndication/aal/aal1/clockRecovery/nullClockRecovery nullClockRecoveryflag
1049 NewATMVCCommand/aal/aal1/errorCorrection/nullErrorCorrection nullErrorCorrectionFlag 
1050 NewATMVCIndication/aal/aal1/errorCorrection/nullErrorCorrection nullErrorCorrectionFlag
1051 H223AL2MParameters/headerFEC aL2HeaderFEC
1052 H223AL1MParameters/headerFEC aL1HeaderFEC
1053 H223AL1MParameters/crcLength crcLength2
1054 H223AL3MParameters/crcLength crlength2
1055 SendTerminalCapabilitySet/specificRequest/multiplexCapability multiplexCapabilityBool
1056 DepFECCapability/rfc2733/redundancyEncoding redundancyEncodingBool
1057 DepFECData/rfc2733/mode/redundancyEncoding redundancyEncodingFlag
1058 DepFECMode/rfc2733Mode/mode/redundancyEncoding redundancyEncodingFlag
1059 ParameterValue/genericParameter genericParameters
1060
1061 H261VideoCapability/qcifMPI qcifMPI_1_4
1062 CustomPictureClockFrequency/qcifMPI qcifMPI_1_2048
1063 DataMode/application datamodeapplication
1064 MasterSlaveDeterminationReject/cause msd_rej_cause
1065
1066 OpenLogicalChannelReject/cause olc_rej_cause
1067 RequestMultiplexEntryRejectionDescriptions/cause req_mux_rej_cause
1068 RequestModeReject/cause req_rej_cause
1069 MultiplexEntryRejectionDescriptions/cause mux_rej_cause
1070 RequestChannelCloseReject/cause req_chan_clos_rej_cause
1071 TerminalCapabilitySetReject/cause tcs_rej_cause
1072 MaintenanceLoopReject/cause maintloop_rej_cause
1073 FunctionNotSupported/cause fns_cause
1074 Restriction/maximumBitRate res_maximumBitRate
1075 RedundancyEncodingDTMode/primary prmary_dtmode
1076 RedundancyEncoding/rtpRedundancyEncoding/primary primary
1077 DepFECData/rfc2733  dep_rfc2733
1078 DepFECMode/rfc2733Mode/mode fec_mode
1079 DepFECData/rfc2733/mode fec_data_mode
1080 FECData/rfc2733/pktMode/rfc2733sameport mode_rfc2733sameport
1081 FECData/rfc2733/pktMode/rfc2733diffport mode_rfc2733diffport
1082 V76LogicalChannelParameters/mode v76_mode
1083 OpenLogicalChannelAck/reverseLogicalChannelParameters/multiplexParameters olc_ack_multiplexParameters
1084 OpenLogicalChannel/forwardLogicalChannelNumber olc_fw_lcn
1085 OpenLogicalChannelAck/forwardLogicalChannelNumber olc_ack_fw_lcn
1086 OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters olc_forw_multiplexParameters
1087 OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters olc_rev_multiplexParameter
1088 IS11172AudioMode/multichannelType is11172multichannelType
1089 IS13818AudioMode/multichannelType is13818MultichannelType
1090 CloseLogicalChannel/reason clc_reason
1091 MultiplexElement/repeatCount me_repeatCount
1092 DepFECCapability/rfc2733 fecc_rfc2733
1093 RequestModeAck/response req_mode_ack_response
1094 UserInputIndication/signalUpdate/rtp si_rtp
1095 VCCapability/availableBitRates/type avb_type
1096 MultiplexElement/type me_type
1097 RedundancyEncodingDTModeElement/type re_type
1098 MaintenanceLoopRequest/type mlr_type
1099 MaintenanceLoopAck/type mla_type
1100 MaintenanceLoopReject/type mlrej_type
1101 MiscellaneousCommand/type mc_type
1102 MiscellaneousIndication/type mi_type
1103 VBDMode/type vbd_type
1104 VBDCapability/type vbd_cap_type
1105 OpenLogicalChannelAck/reverseLogicalChannelParameters olc_ack_reverseLogicalChannelParameters
1106 H2250LogicalChannelAckParameters/mediaChannel ack_mediaChannel
1107 H2250LogicalChannelAckParameters/mediaControlChannel ack_mediaControlChannel
1108 UnicastAddress/iP6Address/tsapIdentifier ipv6_tsapIdentifier 
1109 UnicastAddress/iPSourceRouteAddress/tsapIdentifier iPSrcRoute_tsapIdentifier 
1110 MulticastAddress/iPAddress/tsapIdentifier multicast_tsapIdentifier
1111 MulticastAddress/iP6Address/tsapIdentifier multicast_IPv6_tsapIdentifier
1112 CommunicationModeTableEntry/mediaChannel cm_mediaChannel
1113 CommunicationModeTableEntry/mediaControlChannel cm_mediaControlChannel
1114
1115 OpenLogicalChannel/reverseLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters olc_rev_h223_params
1116 OpenLogicalChannel/forwardLogicalChannelParameters/multiplexParameters/h223LogicalChannelParameters olc_fw_h223_params
1117
1118 H223LogicalChannelParameters/adaptationLayerType/al1Framed                 h223_al_type_al1Framed
1119 H223LogicalChannelParameters/adaptationLayerType/al1NotFramed              h223_al_type_al1NotFramed
1120 H223LogicalChannelParameters/adaptationLayerType/al2WithoutSequenceNumbers h223_al_type_al2WithoutSequenceNumbers
1121 H223LogicalChannelParameters/adaptationLayerType/al2WithSequenceNumbers    h223_al_type_al2WithSequenceNumbers
1122 H223LogicalChannelParameters/adaptationLayerType/al3                       h223_al_type_al3
1123 Al3/sendBufferSize                                                         al3_sendBufferSize
1124 H223LogicalChannelParameters/adaptationLayerType/al1M                      h223_al_type_al1M
1125 H223LogicalChannelParameters/adaptationLayerType/al2M                      h223_al_type_al2M
1126 H223LogicalChannelParameters/adaptationLayerType/al3M                      h223_al_type_al3M
1127 H223LogicalChannelParameters/segmentableFlag                               h223_lc_segmentableFlag
1128
1129 #----------------------------------------------------------------------------------------
1130 #.TYPE_ATTR
1131 UnicastAddress/iPAddress/network  TYPE = FT_IPv4  DISPLAY = BASE_NONE  STRINGS = NULL
1132 UnicastAddress/iP6Address/network  TYPE = FT_IPv6  DISPLAY = BASE_NONE  STRINGS = NULL
1133 MulticastAddress/iPAddress/network  TYPE = FT_IPv4  DISPLAY = BASE_NONE  STRINGS = NULL
1134 MulticastAddress/iP6Address/network  TYPE = FT_IPv6  DISPLAY = BASE_NONE  STRINGS = NULL
1135 RTPPayloadType/payloadDescriptor/rfc-number TYPE = FT_UINT32  DISPLAY = BASE_DEC  STRINGS = VALS(h245_RFC_number_vals)
1136 NonStandardIdentifier/h221NonStandard/t35CountryCode TYPE = FT_UINT32  DISPLAY = BASE_DEC  STRINGS = VALS(T35CountryCode_vals)
1137 VendorIdentification/productNumber TYPE = FT_STRING DISPLAY = BASE_HEX STRINGS = NULL
1138 VendorIdentification/versionNumber TYPE = FT_STRING DISPLAY = BASE_HEX STRINGS = NULL
1139
1140 #----------------------------------------------------------------------------------------
1141 #.FIELD_ATTR
1142 AlternativeCapabilitySet/_item NAME = "alternativeCapability"
1143
1144 #----------------------------------------------------------------------------------------
1145 # vim:set ts=4 sts=2 sw=2: