summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/ilp/ilp.cnf
blob: 093b51acf136b69779a98737aa7916051662729b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# ilp.cnf
# ilp conformation file
# Copyright 2013 e.yimjia

#.OPT
PER
UNALIGNED
#.END

#.PDU
ILP-PDU
#.END


#.TYPE_RENAME
FrequencyInfo/modeSpecificInfo FrequencySpecificInfo
#.END

#.FIELD_RENAME
FrequencyInfo/modeSpecificInfo  modeSpecificFrequencyInfo
FrequencyInfo/modeSpecificInfo/fdd  fdd_fr
FrequencyInfo/modeSpecificInfo/tdd  tdd_fr
SETId/min  minsi
LocationDataLCI/latitude LocationDataLCI_latitude
LocationDataLCI/longitude LocationDataLCI_longitude
LocationDataLCI/altitude LocationDataLCI_altitude
CellGlobalIdEUTRA/cellIdentity eutra_cellIdentity

#.FIELD_ATTR
SETId/min  ABBREV=minsi
LocationDataLCI/latitude ABBREV=locationdatalci.latitude
LocationDataLCI/latitude ABBREV=locationdatalci.longitude
LocationDataLCI/altitude ABBREV=locationdatalci.altitude
CellGlobalIdEUTRA/cellIdentity ABBREV=cellglobalideutra.cellIdentity


#.END

#.FN_HDR ILP-PDU
  proto_item *it;
  proto_tree *ilp_tree;

  it = proto_tree_add_item(tree, proto_ilp, tvb, 0, -1, ENC_NA);
  ilp_tree = proto_item_add_subtree(it, ett_ilp);

  col_set_str(actx->pinfo->cinfo, COL_PROTOCOL, PSNAME);
  col_clear(actx->pinfo->cinfo, COL_INFO);
#.END

#.FN_BODY ILP-PDU TREE=ilp_tree
%(DEFAULT_BODY)s
#.END

#.FN_BODY IlpMessage  VAL_PTR = &IlpMessage

guint32 IlpMessage;

  %(DEFAULT_BODY)s

  col_append_fstr(%(ACTX)s->pinfo->cinfo, COL_INFO, "%%s ", val_to_str_const(IlpMessage,ilp_IlpMessage_vals,"Unknown"));

#.END

#.FN_BODY PosPayLoad/rrlpPayload  VAL_PTR = &rrlp_tvb
  tvbuff_t *rrlp_tvb;

%(DEFAULT_BODY)s

  if (rrlp_tvb && rrlp_handle) {
    call_dissector(rrlp_handle, rrlp_tvb, %(ACTX)s->pinfo, tree);
  }

#.FN_BODY MultiPosPayLoad/lPPPayload/_item  VAL_PTR = &lpp_tvb
  tvbuff_t *lpp_tvb;

%(DEFAULT_BODY)s

  if (lpp_tvb && lpp_handle) {
    call_dissector(lpp_handle, lpp_tvb, %(ACTX)s->pinfo, tree);
  }

#.FN_BODY SETId/msisdn VAL_PTR=&msisdn_tvb
  tvbuff_t *msisdn_tvb;
%(DEFAULT_BODY)s
  if (msisdn_tvb) {
    proto_tree *subtree;

    subtree = proto_item_add_subtree(actx->created_item, ett_ilp_setid);
    dissect_e164_msisdn(msisdn_tvb, subtree, 0, 8, E164_ENC_BCD);
  }

#.FN_BODY SETId/mdn VAL_PTR=&mdn_tvb
  tvbuff_t *mdn_tvb;
%(DEFAULT_BODY)s
  if (mdn_tvb) {
    proto_tree *subtree;

    subtree = proto_item_add_subtree(actx->created_item, ett_ilp_setid);
    proto_tree_add_item(subtree, hf_ilp_mobile_directory_number, mdn_tvb, 0, 8, ENC_BCD_DIGITS_0_9);
  }

#.FN_BODY SETId/imsi VAL_PTR=&imsi_tvb
  tvbuff_t *imsi_tvb;
%(DEFAULT_BODY)s
  if (imsi_tvb) {
    proto_tree *subtree;

    subtree = proto_item_add_subtree(actx->created_item, ett_ilp_setid);
    dissect_e212_imsi(imsi_tvb, actx->pinfo, subtree, 0, 8, FALSE);
  }

#.TYPE_ATTR
IPAddress/ipv4Address TYPE = FT_IPv4  DISPLAY = BASE_NONE  STRINGS = NULL
IPAddress/ipv6Address TYPE = FT_IPv6  DISPLAY = BASE_NONE  STRINGS = NULL
#.END