From e.yimjia via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9289 :
[metze/wireshark/wip.git] / asn1 / ilp / ilp.cnf
1 # ilp.cnf
2 # ilp conformation file
3 # Copyright 2013 e.yimjia
4 # $Id$
5
6 #.OPT
7 PER
8 UNALIGNED
9 #.END
10
11 #.PDU
12 ILP-PDU
13 #.END
14
15
16 #.TYPE_RENAME
17 FrequencyInfo/modeSpecificInfo FrequencySpecificInfo
18 #.END
19
20 #.FIELD_RENAME
21 FrequencyInfo/modeSpecificInfo  modeSpecificFrequencyInfo
22 FrequencyInfo/modeSpecificInfo/fdd  fdd_fr
23 FrequencyInfo/modeSpecificInfo/tdd  tdd_fr
24 SETId/min  minsi
25 #.END
26
27 #.FN_HDR ILP-PDU
28   proto_tree_add_item(tree, proto_ilp, tvb, 0, -1, ENC_NA);
29
30   col_set_str(actx->pinfo->cinfo, COL_PROTOCOL, PSNAME);
31   col_clear(actx->pinfo->cinfo, COL_INFO);
32 #.END
33
34 #.FN_BODY IlpMessage  VAL_PTR = &IlpMessage
35
36 guint32 IlpMessage;
37
38   %(DEFAULT_BODY)s
39
40   col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ", val_to_str(IlpMessage,ilp_IlpMessage_vals,"Unknown"));
41
42 #.END
43
44 #.FN_BODY PosPayLoad/rrlpPayload  VAL_PTR = &rrlp_tvb
45   tvbuff_t *rrlp_tvb;
46
47 %(DEFAULT_BODY)s
48
49   if (rrlp_tvb && rrlp_handle) {
50     call_dissector(rrlp_handle, rrlp_tvb, %(ACTX)s->pinfo, tree);
51   }
52
53 #.FN_BODY MultiPosPayLoad/lPPPayload/_item  VAL_PTR = &lpp_tvb
54   tvbuff_t *lpp_tvb;
55
56 %(DEFAULT_BODY)s
57
58   if (lpp_tvb && lpp_handle) {
59     call_dissector(lpp_handle, lpp_tvb, %(ACTX)s->pinfo, tree);
60   }
61
62
63 #.TYPE_ATTR
64 IPAddress/ipv4Address TYPE = FT_IPv4  DISPLAY = BASE_NONE  STRINGS = NULL  
65 IPAddress/ipv6Address TYPE = FT_IPv6  DISPLAY = BASE_NONE  STRINGS = NULL  
66 #.END