Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / asn1 / kpm-v2 / kpm-v2.cnf
blob8181df8d0056ad77aad3859582167deeeddc9663
1 # kpm-v2.cnf
2 # kpm-v2 conformation file
4 #.OPT
5 PER
6 ALIGNED
7 #.END
9 #.USE_VALS_EXT
11 #.EXPORTS ONLY_VALS WS_DLL
13 #.EXPORTS
15 #.PDU
17 E2SM-KPM-EventTriggerDefinition
18 E2SM-KPM-ActionDefinition
19 E2SM-KPM-IndicationHeader
20 E2SM-KPM-IndicationMessage
21 E2SM-KPM-RANfunction-Description
24 #.MAKE_ENUM
26 #.NO_EMIT
28 #.OMIT_ASSIGNMENT
30 #.END
33 #.TYPE_ATTR
35 #.TYPE_RENAME
37 #.FIELD_RENAME
39 #.FIELD_ATTR
41 #.ASSIGN_VALUE_TO_TYPE
43 #.END
45 #.REGISTER
47 #.FN_BODY RANfunction-Name/ranFunction-ShortName VAL_PTR=&value_tvb
48   tvbuff_t *value_tvb;
49 %(DEFAULT_BODY)s
50   if (!actx->pinfo->fd->visited) {
51     /* N.B. too early to work out exact dissector, as don't have OID yet */
52     e2ap_store_ran_function_mapping(actx->pinfo, tree, value_tvb,
53                                     tvb_get_string_enc(actx->pinfo->pool, value_tvb, 0, tvb_captured_length(value_tvb), ENC_ASCII));
54   }
57 #.FN_BODY RANfunction-Name/ranFunction-E2SM-OID  VAL_PTR = &parameter_tvb
58   tvbuff_t *parameter_tvb;
59   %(DEFAULT_BODY)s
60   e2ap_update_ran_function_mapping(actx->pinfo, tree, parameter_tvb,
61                                    tvb_get_string_enc(actx->pinfo->pool, parameter_tvb, 0,
62                                    tvb_captured_length(parameter_tvb), ENC_ASCII));
65 #.FN_BODY E2SM-KPM-IndicationHeader-Format1/colletStartTime
66   int ts_offset = offset;
67   %(DEFAULT_BODY)s
68   /* Add as a generated field the timestamp decoded */
69   const char *time_str = tvb_ntp_fmt_ts_sec(tvb, (ts_offset+7)/8);
70   proto_item *ti = proto_tree_add_string(tree, hf_kpm_v2_timestamp_string, tvb, (ts_offset+7)/8, 4, time_str);
71   proto_item_set_generated(ti);
74 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
76 # Local variables:
77 # c-basic-offset: 2
78 # tab-width: 8
79 # indent-tabs-mode: nil
80 # End:
82 # vi: set shiftwidth=2 tabstop=8 expandtab:
83 # :indentSize=2:tabSize=8:noTabs=true: