summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/h501/h501.cnf
blob: 902f187b7cff0377ec9fcbd6ee0cc77dd98c2ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# h501.cnf
# H.501 conformation file
# 2007  Tomas Kukosa

#.INCLUDE ../h225/h225-exp.cnf
#.INCLUDE ../h235/h235-exp.cnf

#.OPT
PER
ALIGNED
#.END

#.PDU
Message
#.END

#.FIELD_RENAME
DescriptorRejection/descriptorID descriptorRejection_descriptorID
UpdateInformation/descriptorInfo/descriptorID updateInformation_descriptorID
DescriptorInfo/descriptorID descriptorInfo_descriptorID
#.FIELD_ATTR
DescriptorRejection/descriptorID               ABBREV=descriptorRejection_descriptorID
UpdateInformation/descriptorInfo/descriptorID  ABBREV=updateInformation_descriptorID
DescriptorInfo/descriptorID                    ABBREV=descriptorInfo_descriptorID


#.FN_PARS MessageBody
  VAL_PTR = &msg_type
#.FN_HDR
  gint32 msg_type = -1;
  const gchar *p = NULL;
#.FN_FTR
  p = try_val_to_str(msg_type, VALS(h501_MessageBody_vals));
  if (p )
    col_set_str(actx->pinfo->cinfo, COL_INFO, p);
#.END