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
|
# pres.cnf
# pres conformation file
# $Id$
#.MODULE_IMPORT
Reliable-Transfer-APDU rtse
#.INCLUDE ../rtse/rtse-exp.cnf
#.EXPORTS
#.PDU
#.NO_EMIT
#.TYPE_RENAME
CPA-PPDU/normal-mode-parameters T_CPA_PPDU_normal_mode_parameters
CPR-PPDU/normal-mode-parameters T_CPR_PPDU_normal_mode_parameters
ARU-PPDU/normal-mode-parameters T_ARU_PPDU_normal_mode_parameters
#.FIELD_RENAME
ARU-PPDU/normal-mode-parameters aRU_PPDU_normal_mode_parameters
CPA-PPDU/normal-mode-parameters cPU_PPDU_normal_mode_parameters
CPR-PPDU/normal-mode-parameters cPR_PPDU_normal_mode_parameters
ARU-PPDU/x400-mode-parameters aRU_PPDU_x400_mode_parameters
CPR-PPDU/x400-mode-parameters cPU_PPDU_x400_mode_parameters
CPA-PPDU/x410-mode-parameters cPR_PPDU_x400_mode_parameters
ARP-PPDU/provider-reason aRU_PPDU_provider-reason
CPR-PPDU/normal-mode-parameters/provider-reason cPR_PPDU__provider-reason
#.FN_BODY OPEN
/* FIX ME*/
#.FN_BODY PDV-list/presentation-data-values/single-ASN1-type
tvbuff_t *next_tvb;
char *oid;
oid=find_oid_by_pres_ctx_id(pinfo, presentation_context_identifier);
if(oid){
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
call_ber_oid_callback(oid, next_tvb, offset, pinfo, global_tree);
} else {
proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available");
%(DEFAULT_BODY)s
}
#.FN_BODY PDV-list/presentation-data-values/octet-aligned
tvbuff_t *next_tvb;
char *oid;
oid=find_oid_by_pres_ctx_id(pinfo, presentation_context_identifier);
if(oid){
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
call_ber_oid_callback(oid, next_tvb, offset, pinfo, global_tree);
} else {
proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available");
%(DEFAULT_BODY)s
}
#.FN_PARS Abstract_syntax_name
VAL_PTR = abstract_syntax_name_oid
#.FN_PARS Presentation_context_identifier
VAL_PTR = &presentation_context_identifier
#.FN_FTR Context-list/_item
register_ctx_id_and_oid(pinfo, presentation_context_identifier, abstract_syntax_name_oid);
#.END
|