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
|
# h283.cnf
# H.283 conformation file
# 2007 Tomas Kukosa
#.OPT
PER
ALIGNED
#.END
#.PDU
LCTPDU
#.END
#.FN_PARS LCTPDU/pduType
VAL_PTR = &pdu_type
#.FN_HDR
int32_t pdu_type = -1;
const char *p = NULL;
#.FN_FTR
p = try_val_to_str(pdu_type, VALS(h283_T_pduType_vals));
if (!info_is_set && p ) {
col_set_str(actx->pinfo->cinfo, COL_INFO, p);
info_is_set = true;
}
#.END
#.FN_PARS RDCData/dataType
VAL_PTR = &data_type
#.FN_HDR
int32_t data_type = -1;
const char *p = NULL;
#.FN_FTR
p = try_val_to_str(data_type, VALS(h283_T_dataType_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "RDCData/%s", p);
info_is_set = true;
}
#.END
#.FN_PARS LCTMessage
VAL_PTR = &msg_type
#.FN_HDR
int32_t msg_type = -1;
const char *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTMessage_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTMessage/%s", p);
info_is_set = true;
}
#.END
#.FN_PARS LCTRequest
VAL_PTR = &msg_type
#.FN_HDR
int32_t msg_type = -1;
const char *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTRequest_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTRequest/%s", p);
info_is_set = true;
}
#.END
#.FN_PARS LCTResponse
VAL_PTR = &msg_type
#.FN_HDR
int32_t msg_type = -1;
const char *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTResponse_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTResponse/%s", p);
info_is_set = true;
}
#.END
#.FN_PARS LCTIndication
VAL_PTR = &msg_type
#.FN_HDR
int32_t msg_type = -1;
const char *p = NULL;
#.FN_FTR
p = try_val_to_str(msg_type, VALS(h283_LCTIndication_vals));
if (!info_is_set && p ) {
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "LCTIndication/%s", p);
info_is_set = true;
}
#.END
#.FN_BODY RDCData/dataType/rdcPDU VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
if (next_tvb && tvb_reported_length(next_tvb)) {
call_dissector((rdc_pdu_handle)?rdc_pdu_handle:data_handle, next_tvb, %(ACTX)s->pinfo, proto_tree_get_root(tree));
}
info_is_set = true;
#.END
#.FN_BODY LCTResponse/deviceListResp VAL_PTR = &next_tvb
tvbuff_t *next_tvb = NULL;
%(DEFAULT_BODY)s
if (next_tvb && tvb_reported_length(next_tvb)) {
call_dissector((rdc_device_list_handle)?rdc_device_list_handle:data_handle, next_tvb, %(ACTX)s->pinfo, tree);
}
#.END
#.TYPE_ATTR
RDCData/dataType/rdcPDU TYPE = FT_UINT32 DISPLAY = BASE_DEC
LCTResponse/deviceListResp TYPE = FT_UINT32 DISPLAY = BASE_DEC
#.END
|