### Bug Summary

File: | builds/wireshark/wireshark/epan/dissectors/packet-sapdiag.c
Warning: | line 2129, column 127 Value stored to 'offset' is never read

### Annotated Source Code

Press '?' to see keyboard shortcuts

Show analyzer invocation
clang -cc1 -cc1 -triple x86_64-pc-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name packet-sapdiag.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -fno-delete-null-pointer-checks -mframe-pointer=all -relaxed-aliasing -fmath-errno -ffp-contract=on -fno-rounding-math -ffloat16-excess-precision=fast -fbfloat16-excess-precision=fast -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fdebug-compilation-dir=/builds/wireshark/wireshark/build -fcoverage-compilation-dir=/builds/wireshark/wireshark/build -resource-dir /usr/lib/llvm-22/lib/clang/22 -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /builds/wireshark/wireshark/epan/dissectors -isystem /builds/wireshark/wireshark/build/epan/dissectors -isystem /usr/include/mit-krb5 -isystem /usr/include/libxml2 -isystem /builds/wireshark/wireshark/epan -D CARES_NO_DEPRECATED -D G_DISABLE_DEPRECATED -D G_DISABLE_SINGLE_INCLUDES -D WS_BUILD_DLL -D WS_DEBUG -D WS_DEBUG_UTF_8 -I /builds/wireshark/wireshark/build -I /builds/wireshark/wireshark -I /builds/wireshark/wireshark/include -D _GLIBCXX_ASSERTIONS -internal-isystem /usr/lib/llvm-22/lib/clang/22/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/16/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fmacro-prefix-map=/builds/wireshark/wireshark/= -fmacro-prefix-map=/builds/wireshark/wireshark/build/= -fmacro-prefix-map=../= -Wno-format-nonliteral -std=gnu17 -ferror-limit 19 -fvisibility=hidden -fwrapv -fwrapv-pointer -fstrict-flex-arrays=3 -stack-protector 2 -fstack-clash-protection -fcf-protection=full -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fexceptions -fcolor-diagnostics -analyzer-output=html -faddrsig -fdwarf2-cfi-asm -o /builds/wireshark/wireshark/sbout/2026-08-26-100403-3659-1 -x c /builds/wireshark/wireshark/epan/dissectors/packet-sapdiag.c

Keyboard shortcuts:

- Use 'j/k' keys for keyboard navigation
- Use 'Shift+S' to show/hide relevant lines
- Use '?' to toggle this window

Close
Show only relevant lines Show control flow arrows

1 | /* packet-sapdiag.c
2 | * Routines for SAP Diag (SAP GUI Protocol) dissection
3 | * Copyright 2022, Martin Gallo <martin.gallo [AT] gmail.com>
4 | * Code contributed by SecureAuth Corp.
5 | *
6 | * Wireshark - Network traffic analyzer
7 | * By Gerald Combs <gerald@wireshark.org>
8 | * Copyright 1998 Gerald Combs
9 | *
10 | * SPDX-License-Identifier: GPL-2.0-or-later
11 | */
12 |
13 | #include <epan/packet.h>
14 | #include <epan/prefs.h>
15 | #include <epan/expert.h>
16 | #include <wsutil/wmem/wmem.h>
17 | #include <wsutil/saplzclzh.h>
18 |
19 | #include "packet-sapsnc.h"
20 |
21 | /* Define default ports. The right range should be 32NN, but as port numbers are
22 | * proprietary and not IANA assigned, we leave only the one corresponding to the
23 | * instance 00. In addition, 3298 it's generally used for the niping tool and 3299
24 | * is associated to SAP Router.
25 | */
26 | #define SAPDIAG_PORT_RANGE"3200" "3200"
27 | #define SAPDIAG_DEFAULT_MAX_UNCOMPRESSED_SIZE(16U * 1024U * 1024U) (16U * 1024U * 1024U)
28 |
29 | /* SAP Diag Header Communication Flag values */
30 | #define SAPDIAG_COM_FLAG_TERM_EOS0x01 0x01
31 | #define SAPDIAG_COM_FLAG_TERM_EOC0x02 0x02
32 | #define SAPDIAG_COM_FLAG_TERM_NOP0x04 0x04
33 | #define SAPDIAG_COM_FLAG_TERM_EOP0x08 0x08
34 | #define SAPDIAG_COM_FLAG_TERM_INI0x10 0x10
35 | #define SAPDIAG_COM_FLAG_TERM_CAS0x20 0x20
36 | #define SAPDIAG_COM_FLAG_TERM_NNM0x40 0x40
37 | #define SAPDIAG_COM_FLAG_TERM_GRA0x80 0x80
38 |
39 |
40 | /* SAP Diag Header Compression field values */
41 | static const value_string sapdiag_compress_vals[] = {
42 | { 0x0, "Compression switched off" },
43 | { 0x1, "Compression switched on" },
44 | { 0x2, "Data encrypted" },
45 | { 0x3, "Data encrypted wrap" },
46 | /* NULL */
47 | { 0x0, NULL((void*)0) }
48 | };
49 |
50 | /* SAP Diag Header Algorithm field values */
51 | static const value_string sapdiag_algorithm_vals[] = {
52 | { 0x10, "LZC" },
53 | { 0x12, "LZH" },
54 | /* NULL */
55 | { 0x00, NULL((void*)0) }
56 | };
57 |
58 | /* SAP Diag DP Header Request ID values */
59 | static const value_string sapdiag_dp_request_id_vals[] = {
60 | { 0x00000000, "NOWP" },
61 | { 0x00000001, "DIA" },
62 | { 0x00000002, "DUPD" },
63 | { 0x00000003, "DENQ" },
64 | { 0x00000004, "DBTC" },
65 | { 0x00000005, "DSPO" },
66 | { 0x00000006, "DUP2" },
67 | /* NULL */
68 | { 0x00000000, NULL((void*)0)}
69 | };
70 |
71 | /* SAP Diag DP Header Sender ID values */
72 | static const value_string sapdiag_dp_sender_id_vals[] = {
73 | { 0x01, "DISPATCHER" },
74 | { 0x02, "WORK_PROCESS" },
75 | { 0x04, "REMOTE_TERMINAL" },
76 | { 0x20, "APPC_TERMINAL" },
77 | { 0x40, "APPC_GATEWAY" },
78 | { 0xC8, "ICMAN" },
79 | { 0xC9, "IC_MONITOR" },
80 | { 0xCB, "LCOM" },
81 | /* NULL */
82 | { 0x00, NULL((void*)0)}
83 | };
84 |
85 | /* SAP Diag DP Header Action Type values */
86 | static const value_string sapdiag_dp_action_type_vals[] = {
87 | { 0x01, "SEND_TO_DP" },
88 | { 0x02, "SEND_TO_WP" },
89 | { 0x03, "SEND_TO_TM" },
90 | { 0x04, "SEND_TO_APPC" },
91 | { 0x05, "SEND_TO_APPCTM" },
92 | { 0x06, "SEND_MSG_TYPE" },
93 | { 0x07, "SEND_MSG_REQUES" },
94 | { 0x08, "SEND_MSG_REPLY" },
95 | { 0x09, "SEND_MSG_ONEWAY" },
96 | { 0x0A, "SEND_MSG_ADMIN" },
97 | { 0x0B, "WAKE_UP_WPS" },
98 | { 0x0C, "SET_TIMEOUT" },
99 | { 0x0D, "DEL_SCHEDULE" },
100 | { 0x0E, "ADD_SOFT_SERV" },
101 | { 0x0F, "SUB_SOFT_SERV" },
102 | { 0x10, "SHUTDOWN" },
103 | { 0x11, "SEND_TO_MSGSERV" },
104 | { 0x12, "SEND_TO_PLUGIN" },
105 | /* NULL */
106 | { 0x00, NULL((void*)0)}
107 | };
108 |
109 | /* SAP Diag DP Header Request Info Flag constants */
110 | #define SAPDIAG_DP_REQ_INFO_UNDEFINED0x00 0x00
111 | #define SAPDIAG_DP_REQ_INFO_LOGIN0x01 0x01
112 | #define SAPDIAG_DP_REQ_INFO_LOGOFF0x02 0x02
113 | #define SAPDIAG_DP_REQ_INFO_SHUTDOWN0x04 0x04
114 | #define SAPDIAG_DP_REQ_INFO_GRAPHIC_TM0x08 0x08
115 | #define SAPDIAG_DP_REQ_INFO_ALPHA_TM0x10 0x10
116 | #define SAPDIAG_DP_REQ_INFO_ERROR_FROM_APPC0x20 0x20
117 | #define SAPDIAG_DP_REQ_INFO_CANCELMODE0x40 0x40
118 | #define SAPDIAG_DP_REQ_INFO_MSG_WITH_REQ_BUF0x80 0x80
119 |
120 | #define SAPDIAG_DP_REQ_INFO_MSG_WITH_OH0x01 0x01
121 | #define SAPDIAG_DP_REQ_INFO_BUFFER_REFRESH0x02 0x02
122 | #define SAPDIAG_DP_REQ_INFO_BTC_SCHEDULER0x04 0x04
123 | #define SAPDIAG_DP_REQ_INFO_APPC_SERVER_DOWN0x08 0x08
124 | #define SAPDIAG_DP_REQ_INFO_MS_ERROR0x10 0x10
125 | #define SAPDIAG_DP_REQ_INFO_SET_SYSTEM_USER0x20 0x20
126 | #define SAPDIAG_DP_REQ_INFO_DP_CANT_HANDLE_REQ0x40 0x40
127 | #define SAPDIAG_DP_REQ_INFO_DP_AUTO_ABAP0x80 0x80
128 |
129 | #define SAPDIAG_DP_REQ_INFO_DP_APPL_SERV_INFO0x01 0x01
130 | #define SAPDIAG_DP_REQ_INFO_DP_ADMIN0x02 0x02
131 | #define SAPDIAG_DP_REQ_INFO_DP_SPOOL_ALRM0x04 0x04
132 | #define SAPDIAG_DP_REQ_INFO_DP_HAND_SHAKE0x08 0x08
133 | #define SAPDIAG_DP_REQ_INFO_DP_CANCEL_PRIV0x10 0x10
134 | #define SAPDIAG_DP_REQ_INFO_DP_RAISE_TIMEOUT0x20 0x20
135 | #define SAPDIAG_DP_REQ_INFO_DP_NEW_MODE0x40 0x40
136 | #define SAPDIAG_DP_REQ_INFO_DP_SOFT_CANCEL0x80 0x80
137 |
138 | #define SAPDIAG_DP_REQ_INFO_DP_TM_INPUT0x01 0x01
139 | #define SAPDIAG_DP_REQ_INFO_DP_TM_OUTPUT0x02 0x02
140 | #define SAPDIAG_DP_REQ_INFO_DP_ASYNC_RFC0x04 0x04
141 | #define SAPDIAG_DP_REQ_INFO_DP_ICM_EVENT0x08 0x08
142 | #define SAPDIAG_DP_REQ_INFO_DP_AUTO_TH0x10 0x10
143 | #define SAPDIAG_DP_REQ_INFO_DP_RFC_CANCEL0x20 0x20
144 | #define SAPDIAG_DP_REQ_INFO_DP_MS_ADM0x40 0x40
145 |
146 | /* SAP Diag Support Bits */
147 | #define SAPDIAG_SUPPORT_BIT_PROGRESS_INDICATOR0x01 0x01 /* 0 */
148 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_LABELS0x02 0x02 /* 1 */
149 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_DIAGVERSION0x04 0x04 /* 2 */
150 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_SELECT_RECT0x08 0x08 /* 3 */
151 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_SYMBOL_RIGHT0x10 0x10 /* 4 */
152 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_FONT_METRIC0x20 0x20 /* 5 */
153 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_COMPR_ENHANCED0x40 0x40 /* 6 */
154 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_IMODE0x80 0x80 /* 7 */
155 |
156 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_LONG_MESSAGE0x01 0x01 /* 8 */
157 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_TABLE0x02 0x02 /* 9 */
158 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_FOCUS_10x04 0x04 /* 10 */
159 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_PUSHBUTTON_10x08 0x08 /* 11 */
160 | #define SAPDIAG_SUPPORT_BIT_UPPERCASE0x10 0x10 /* 12 */
161 | #define SAPDIAG_SUPPORT_BIT_SAPGUI_TABPROPERTY0x20 0x20 /* 13 */
162 | #define SAPDIAG_SUPPORT_BIT_INPUT_UPPERCASE0x40 0x40 /* 14 */
163 | #define SAPDIAG_SUPPORT_BIT_RFC_DIALOG0x80 0x80 /* 15 */
164 |
165 | #define SAPDIAG_SUPPORT_BIT_LIST_HOTSPOT0x01 0x01 /* 16 */
166 | #define SAPDIAG_SUPPORT_BIT_FKEY_TABLE0x02 0x02 /* 17 */
167 | #define SAPDIAG_SUPPORT_BIT_MENU_SHORTCUT0x04 0x04 /* 18 */
168 | #define SAPDIAG_SUPPORT_BIT_STOP_TRANS0x08 0x08 /* 19 */
169 | #define SAPDIAG_SUPPORT_BIT_FULL_MENU0x10 0x10 /* 20 */
170 | #define SAPDIAG_SUPPORT_BIT_OBJECT_NAMES0x20 0x20 /* 21 */
171 | #define SAPDIAG_SUPPORT_BIT_CONTAINER_TYPE0x40 0x40 /* 22 */
172 | #define SAPDIAG_SUPPORT_BIT_DLGH_FLAGS0x80 0x80 /* 23 */
173 |
174 | #define SAPDIAG_SUPPORT_BIT_APPL_MNU0x01 0x01 /* 24 */
175 | #define SAPDIAG_SUPPORT_BIT_MESSAGE_INFO0x02 0x02 /* 25 */
176 | #define SAPDIAG_SUPPORT_BIT_MESDUM_FLAG10x04 0x04 /* 26 */
177 | #define SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB0x08 0x08 /* 27 */
178 | #define SAPDIAG_SUPPORT_BIT_GUIAPI0x10 0x10 /* 28 */
179 | #define SAPDIAG_SUPPORT_BIT_NOGRAPH0x20 0x20 /* 29 */
180 | #define SAPDIAG_SUPPORT_BIT_NOMESSAGES0x40 0x40 /* 30 */
181 | #define SAPDIAG_SUPPORT_BIT_NORABAX0x80 0x80 /* 31 */
182 |
183 | #define SAPDIAG_SUPPORT_BIT_NOSYSMSG0x01 0x01 /* 32 */
184 | #define SAPDIAG_SUPPORT_BIT_NOSAPSCRIPT0x02 0x02 /* 33 */
185 | #define SAPDIAG_SUPPORT_BIT_NORFC0x04 0x04 /* 34 */
186 | #define SAPDIAG_SUPPORT_BIT_NEW_BSD_JUSTRIGHT0x08 0x08 /* 35 */
187 | #define SAPDIAG_SUPPORT_BIT_MESSAGE_VARS0x10 0x10 /* 36 */
188 | #define SAPDIAG_SUPPORT_BIT_OCX_SUPPORT0x20 0x20 /* 37 */
189 | #define SAPDIAG_SUPPORT_BIT_SCROLL_INFOS0x40 0x40 /* 38 */
190 | #define SAPDIAG_SUPPORT_BIT_TABLE_SIZE_OK0x80 0x80 /* 39 */
191 |
192 | #define SAPDIAG_SUPPORT_BIT_MESSAGE_INFO20x01 0x01 /* 40 */
193 | #define SAPDIAG_SUPPORT_BIT_VARINFO_OKCODE0x02 0x02 /* 41 */
194 | #define SAPDIAG_SUPPORT_BIT_CURR_TCODE0x04 0x04 /* 42 */
195 | #define SAPDIAG_SUPPORT_BIT_CONN_WSIZE0x08 0x08 /* 43 */
196 | #define SAPDIAG_SUPPORT_BIT_PUSHBUTTON_20x10 0x10 /* 44 */
197 | #define SAPDIAG_SUPPORT_BIT_TABSTRIP0x20 0x20 /* 45 */
198 | #define SAPDIAG_SUPPORT_BIT_UNKNOWN_10x40 0x40 /* 46 (Unknown support bit) */
199 | #define SAPDIAG_SUPPORT_BIT_TABSCROLL_INFOS0x80 0x80 /* 47 */
200 |
201 | #define SAPDIAG_SUPPORT_BIT_TABLE_FIELD_NAMES0x01 0x01 /* 48 */
202 | #define SAPDIAG_SUPPORT_BIT_NEW_MODE_REQUEST0x02 0x02 /* 49 */
203 | #define SAPDIAG_SUPPORT_BIT_RFCBLOB_DIAG_PARSER0x04 0x04 /* 50 */
204 | #define SAPDIAG_SUPPORT_BIT_MULTI_LOGIN_USER0x08 0x08 /* 51 */
205 | #define SAPDIAG_SUPPORT_BIT_CONTROL_CONTAINER0x10 0x10 /* 52 */
206 | #define SAPDIAG_SUPPORT_BIT_APPTOOLBAR_FIXED0x20 0x20 /* 53 */
207 | #define SAPDIAG_SUPPORT_BIT_R3INFO_USER_CHECKED0x40 0x40 /* 54 */
208 | #define SAPDIAG_SUPPORT_BIT_NEED_STDDYNPRO0x80 0x80 /* 55 */
209 |
210 | #define SAPDIAG_SUPPORT_BIT_TYPE_SERVER0x01 0x01 /* 56 */
211 | #define SAPDIAG_SUPPORT_BIT_COMBOBOX0x02 0x02 /* 57 */
212 | #define SAPDIAG_SUPPORT_BIT_INPUT_REQUIRED0x04 0x04 /* 58 */
213 | #define SAPDIAG_SUPPORT_BIT_ISO_LANGUAGE0x08 0x08 /* 59 */
214 | #define SAPDIAG_SUPPORT_BIT_COMBOBOX_TABLE0x10 0x10 /* 60 */
215 | #define SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS0x20 0x20 /* 61 */
216 | #define SAPDIAG_SUPPORT_BIT_CHECKRADIO_EVENTS0x40 0x40 /* 62 */
217 | #define SAPDIAG_SUPPORT_BIT_R3INFO_USERID0x80 0x80 /* 63 */
218 |
219 | #define SAPDIAG_SUPPORT_BIT_R3INFO_ROLLCOUNT0x01 0x01 /* 64 */
220 | #define SAPDIAG_SUPPORT_BIT_USER_TURNTIME20x02 0x02 /* 65 */
221 | #define SAPDIAG_SUPPORT_BIT_NUM_FIELD0x04 0x04 /* 66 */
222 | #define SAPDIAG_SUPPORT_BIT_WIN160x08 0x08 /* 67 */
223 | #define SAPDIAG_SUPPORT_BIT_CONTEXT_MENU0x10 0x10 /* 68 */
224 | #define SAPDIAG_SUPPORT_BIT_SCROLLABLE_TABSTRIP_PAGE0x20 0x20 /* 69 */
225 | #define SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION0x40 0x40 /* 70 */
226 | #define SAPDIAG_SUPPORT_BIT_LABEL_OWNER0x80 0x80 /* 71 */
227 |
228 | #define SAPDIAG_SUPPORT_BIT_CLICKABLE_FIELD0x01 0x01 /* 72 */
229 | #define SAPDIAG_SUPPORT_BIT_PROPERTY_BAG0x02 0x02 /* 73 */
230 | #define SAPDIAG_SUPPORT_BIT_UNUSED_10x04 0x04 /* 74 */
231 | #define SAPDIAG_SUPPORT_BIT_TABLE_ROW_REFERENCES_20x08 0x08 /* 75 */
232 | #define SAPDIAG_SUPPORT_BIT_PROPFONT_VALID0x10 0x10 /* 76 */
233 | #define SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER0x20 0x20 /* 77 */
234 | #define SAPDIAG_SUPPORT_BIT_R3INFO_IMODEUUID0x40 0x40 /* 78 */
235 | #define SAPDIAG_SUPPORT_BIT_NOTGUI0x80 0x80 /* 79 */
236 |
237 | #define SAPDIAG_SUPPORT_BIT_WAN0x01 0x01 /* 80 */
238 | #define SAPDIAG_SUPPORT_BIT_XML_BLOBS0x02 0x02 /* 81 */
239 | #define SAPDIAG_SUPPORT_BIT_RFC_QUEUE0x04 0x04 /* 82 */
240 | #define SAPDIAG_SUPPORT_BIT_RFC_COMPRESS0x08 0x08 /* 83 */
241 | #define SAPDIAG_SUPPORT_BIT_JAVA_BEANS0x10 0x10 /* 84 */
242 | #define SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND0x20 0x20 /* 85 */
243 | #define SAPDIAG_SUPPORT_BIT_CTL_PROPCACHE0x40 0x40 /* 86 */
244 | #define SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID0x80 0x80 /* 87 */
245 |
246 | #define SAPDIAG_SUPPORT_BIT_RFC_ASYNC_BLOB0x01 0x01 /* 88 */
247 | #define SAPDIAG_SUPPORT_BIT_KEEP_SCROLLPOS0x02 0x02 /* 89 */
248 | #define SAPDIAG_SUPPORT_BIT_UNUSED_20x04 0x04 /* 90 */
249 | #define SAPDIAG_SUPPORT_BIT_UNUSED_30x08 0x08 /* 91 */
250 | #define SAPDIAG_SUPPORT_BIT_XML_PROPERTIES0x10 0x10 /* 92 */
251 | #define SAPDIAG_SUPPORT_BIT_UNUSED_40x20 0x20 /* 93 */
252 | #define SAPDIAG_SUPPORT_BIT_HEX_FIELD0x40 0x40 /* 94 */
253 | #define SAPDIAG_SUPPORT_BIT_HAS_CACHE0x80 0x80 /* 95 */
254 |
255 | #define SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE0x01 0x01 /* 96 */
256 | #define SAPDIAG_SUPPORT_BIT_UNUSED_50x02 0x02 /* 97 */
257 | #define SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID20x04 0x04 /* 98 */
258 | #define SAPDIAG_SUPPORT_BIT_ITS0x08 0x08 /* 99 */
259 | #define SAPDIAG_SUPPORT_BIT_NO_EASYACCESS0x10 0x10 /* 100 */
260 | #define SAPDIAG_SUPPORT_BIT_PROPERTYPUMP0x20 0x20 /* 101 */
261 | #define SAPDIAG_SUPPORT_BIT_COOKIE0x40 0x40 /* 102 */
262 | #define SAPDIAG_SUPPORT_BIT_UNUSED_60x80 0x80 /* 103 */
263 |
264 | #define SAPDIAG_SUPPORT_BIT_SUPPBIT_AREA_SIZE0x01 0x01 /* 104 */
265 | #define SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND_WRITE0x02 0x02 /* 105 */
266 | #define SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS0x04 0x04 /* 106 */
267 | #define SAPDIAG_SUPPORT_BIT_ENTRY_HISTORY0x08 0x08 /* 107 */
268 | #define SAPDIAG_SUPPORT_BIT_AUTO_CODEPAGE0x10 0x10 /* 108 */
269 | #define SAPDIAG_SUPPORT_BIT_CACHED_VSETS0x20 0x20 /* 109 */
270 | #define SAPDIAG_SUPPORT_BIT_EMERGENCY_REPAIR0x40 0x40 /* 110 */
271 | #define SAPDIAG_SUPPORT_BIT_AREA2FRONT0x80 0x80 /* 111 */
272 |
273 | #define SAPDIAG_SUPPORT_BIT_SCROLLBAR_WIDTH0x01 0x01 /* 112 */
274 | #define SAPDIAG_SUPPORT_BIT_AUTORESIZE0x02 0x02 /* 113 */
275 | #define SAPDIAG_SUPPORT_BIT_EDIT_VARLEN0x04 0x04 /* 114 */
276 | #define SAPDIAG_SUPPORT_BIT_WORKPLACE0x08 0x08 /* 115 */
277 | #define SAPDIAG_SUPPORT_BIT_PRINTDATA0x10 0x10 /* 116 */
278 | #define SAPDIAG_SUPPORT_BIT_UNKNOWN_20x20 0x20 /* 117 (Unknown support bit) */
279 | #define SAPDIAG_SUPPORT_BIT_SINGLE_SESSION0x40 0x40 /* 118 */
280 | #define SAPDIAG_SUPPORT_BIT_NOTIFY_NEWMODE0x80 0x80 /* 119 */
281 |
282 | #define SAPDIAG_SUPPORT_BIT_TOOLBAR_HEIGHT0x01 0x01 /* 120 */
283 | #define SAPDIAG_SUPPORT_BIT_XMLPROP_CONTAINER0x02 0x02 /* 121 */
284 | #define SAPDIAG_SUPPORT_BIT_XMLPROP_DYNPRO0x04 0x04 /* 122 */
285 | #define SAPDIAG_SUPPORT_BIT_DP_HTTP_PUT0x08 0x08 /* 123 */
286 | #define SAPDIAG_SUPPORT_BIT_DYNAMIC_PASSPORT0x10 0x10 /* 124 */
287 | #define SAPDIAG_SUPPORT_BIT_WEBGUI0x20 0x20 /* 125 */
288 | #define SAPDIAG_SUPPORT_BIT_WEBGUI_HELPMODE0x40 0x40 /* 126 */
289 | #define SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST0x80 0x80 /* 127 */
290 |
291 | #define SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_20x01 0x01 /* 128 */
292 | #define SAPDIAG_SUPPORT_BIT_EOKDUMMY_10x02 0x02 /* 129 */
293 | #define SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING0x04 0x04 /* 130 */
294 | #define SAPDIAG_SUPPORT_BIT_SLC0x08 0x08 /* 131 */
295 | #define SAPDIAG_SUPPORT_BIT_ACCESSIBILITY0x10 0x10 /* 132 */
296 | #define SAPDIAG_SUPPORT_BIT_ECATT0x20 0x20 /* 133 */
297 | #define SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID30x40 0x40 /* 134 */
298 | #define SAPDIAG_SUPPORT_BIT_ENABLE_UTF80x80 0x80 /* 135 */
299 |
300 | #define SAPDIAG_SUPPORT_BIT_R3INFO_AUTOLOGOUT_TIME0x01 0x01 /* 136 */
301 | #define SAPDIAG_SUPPORT_BIT_VARINFO_ICON_TITLE_LIST0x02 0x02 /* 137 */
302 | #define SAPDIAG_SUPPORT_BIT_ENABLE_UTF16BE0x04 0x04 /* 138 */
303 | #define SAPDIAG_SUPPORT_BIT_ENABLE_UTF16LE0x08 0x08 /* 139 */
304 | #define SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP0x10 0x10 /* 140 */
305 | #define SAPDIAG_SUPPORT_BIT_ENABLE_APPL40x20 0x20 /* 141 */
306 | #define SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL0x40 0x40 /* 142 */
307 | #define SAPDIAG_SUPPORT_BIT_CBURBU_NEW_STATE0x80 0x80 /* 143 */
308 |
309 | #define SAPDIAG_SUPPORT_BIT_BINARY_EVENTID0x01 0x01 /* 144 */
310 | #define SAPDIAG_SUPPORT_BIT_GUI_THEME0x02 0x02 /* 145 */
311 | #define SAPDIAG_SUPPORT_BIT_TOP_WINDOW0x04 0x04 /* 146 */
312 | #define SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION_10x08 0x08 /* 147 */
313 | #define SAPDIAG_SUPPORT_BIT_SPLITTER0x10 0x10 /* 148 */
314 | #define SAPDIAG_SUPPORT_BIT_VALUE_4_HISTORY0x20 0x20 /* 149 */
315 | #define SAPDIAG_SUPPORT_BIT_ACC_LIST0x40 0x40 /* 150 */
316 | #define SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING_INFO0x80 0x80 /* 151 */
317 |
318 | #define SAPDIAG_SUPPORT_BIT_TEXTEDIT_STREAM0x01 0x01 /* 152 */
319 | #define SAPDIAG_SUPPORT_BIT_DYNT_NOFOCUS0x02 0x02 /* 153 */
320 | #define SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP_10x04 0x04 /* 154 */
321 | #define SAPDIAG_SUPPORT_BIT_FRAME_10x08 0x08 /* 155 */
322 | #define SAPDIAG_SUPPORT_BIT_TICKET4GUI0x10 0x10 /* 156 */
323 | #define SAPDIAG_SUPPORT_BIT_ACC_LIST_PROPS0x20 0x20 /* 157 */
324 | #define SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB_INPUT0x40 0x40 /* 158 */
325 | #define SAPDIAG_SUPPORT_BIT_DEFAULT_TOOLTIP0x80 0x80 /* 159 */
326 |
327 | #define SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE_20x01 0x01 /* 160 */
328 | #define SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_30x02 0x02 /* 161 */
329 | #define SAPDIAG_SUPPORT_BIT_CELLINFO0x04 0x04 /* 162 */
330 | #define SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST_20x08 0x08 /* 163 */
331 | #define SAPDIAG_SUPPORT_BIT_TABLE_COLUMNWIDTH_INPUT0x10 0x10 /* 164 */
332 | #define SAPDIAG_SUPPORT_BIT_ITS_PLUGIN0x20 0x20 /* 165 */
333 | #define SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_4_LOGIN_PROCESS0x40 0x40 /* 166 */
334 | #define SAPDIAG_SUPPORT_BIT_RFC_SERVER_4_GUI0x80 0x80 /* 167 */
335 |
336 | #define SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS_20x01 0x01 /* 168 */
337 | #define SAPDIAG_SUPPORT_BIT_RCUI0x02 0x02 /* 169 */
338 | #define SAPDIAG_SUPPORT_BIT_MENUENTRY_WITH_FCODE0x04 0x04 /* 170 */
339 | #define SAPDIAG_SUPPORT_BIT_WEBSAPCONSOLE0x08 0x08 /* 171 */
340 | #define SAPDIAG_SUPPORT_BIT_R3INFO_KERNEL_VERSION0x10 0x10 /* 172 */
341 | #define SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_LOOP0x20 0x20 /* 173 */
342 | #define SAPDIAG_SUPPORT_BIT_EOKDUMMY_20x40 0x40 /* 174 */
343 | #define SAPDIAG_SUPPORT_BIT_MESSAGE_INFO30x80 0x80 /* 175 */
344 |
345 | #define SAPDIAG_SUPPORT_BIT_SBA20x01 0x01 /* 176 */
346 | #define SAPDIAG_SUPPORT_BIT_MAINAREA_SIZE0x02 0x02 /* 177 */
347 | #define SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL_20x04 0x04 /* 178 */
348 | #define SAPDIAG_SUPPORT_BIT_DISPLAY_SIZE0x08 0x08 /* 179 */
349 | #define SAPDIAG_SUPPORT_BIT_GUI_PACKET0x10 0x10 /* 180 */
350 | #define SAPDIAG_SUPPORT_BIT_DIALOG_STEP_NUMBER0x20 0x20 /* 181 */
351 | #define SAPDIAG_SUPPORT_BIT_TC_KEEP_SCROLL_POSITION0x40 0x40 /* 182 */
352 | #define SAPDIAG_SUPPORT_BIT_MESSAGE_SERVICE_REQUEST0x80 0x80 /* 183 */
353 |
354 | #define SAPDIAG_SUPPORT_BIT_DYNT_FOCUS_FRAME0x01 0x01 /* 184 */
355 | #define SAPDIAG_SUPPORT_BIT_MAX_STRING_LEN0x02 0x02 /* 185 */
356 | #define SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_10x04 0x04 /* 186 */
357 | #define SAPDIAG_SUPPORT_BIT_STD_TOOLBAR_ITEMS0x08 0x08 /* 187 */
358 | #define SAPDIAG_SUPPORT_BIT_XMLPROP_LIST_DYNPRO0x10 0x10 /* 188 */
359 | #define SAPDIAG_SUPPORT_BIT_TRACE_GUI_CONNECT0x20 0x20 /* 189 */
360 | #define SAPDIAG_SUPPORT_BIT_LIST_FULLWIDTH0x40 0x40 /* 190 */
361 | #define SAPDIAG_SUPPORT_BIT_ALLWAYS_SEND_CLIENT0x80 0x80 /* 191 */
362 |
363 | #define SAPDIAG_SUPPORT_BIT_UNKNOWN_30x01 0x01 /* 192 (Unknown support bit) */
364 | #define SAPDIAG_SUPPORT_BIT_GUI_SIGNATURE_COLOR0x02 0x02 /* 193 */
365 | #define SAPDIAG_SUPPORT_BIT_MAX_WSIZE0x04 0x04 /* 194 */
366 | #define SAPDIAG_SUPPORT_BIT_SAP_PERSONAS0x08 0x08 /* 195 */
367 | #define SAPDIAG_SUPPORT_BIT_IDA_ALV0x10 0x10 /* 196 */
368 | #define SAPDIAG_SUPPORT_BIT_IDA_ALV_FRAGMENTS0x20 0x20 /* 197 */
369 | #define SAPDIAG_SUPPORT_BIT_AMC0x40 0x40 /* 198 */
370 | #define SAPDIAG_SUPPORT_BIT_EXTMODE_FONT_METRIC0x80 0x80 /* 199 */
371 |
372 | #define SAPDIAG_SUPPORT_BIT_GROUPBOX0x01 0x01 /* 200 */
373 | #define SAPDIAG_SUPPORT_BIT_AGI_ID_TS_BUTTON0x02 0x02 /* 201 */
374 | #define SAPDIAG_SUPPORT_BIT_NO_FOCUS_ON_LIST0x04 0x04 /* 202 */
375 | #define SAPDIAG_SUPPORT_BIT_FIORI_MODE0x08 0x08 /* 203 */
376 | #define SAPDIAG_SUPPORT_BIT_CONNECT_CHECK_DONE0x10 0x10 /* 204 */
377 | #define SAPDIAG_SUPPORT_BIT_MSGINFO_WITH_CODEPAGE0x20 0x20 /* 205 */
378 | #define SAPDIAG_SUPPORT_BIT_AGI_ID0x40 0x40 /* 206 */
379 | #define SAPDIAG_SUPPORT_BIT_AGI_ID_TC0x80 0x80 /* 207 */
380 |
381 | #define SAPDIAG_SUPPORT_BIT_FIORI_TOOLBARS0x01 0x01 /* 208 */
382 | #define SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_ENFORCE0x02 0x02 /* 209 */
383 | #define SAPDIAG_SUPPORT_BIT_MESDUMMY_FLAGS_2_30x04 0x04 /* 210 */
384 | #define SAPDIAG_SUPPORT_BIT_NWBC0x08 0x08 /* 211 */
385 | #define SAPDIAG_SUPPORT_BIT_CONTAINER_LIST0x10 0x10 /* 212 */
386 | #define SAPDIAG_SUPPORT_BIT_GUI_SYSTEM_COLOR0x20 0x20 /* 213 */
387 | #define SAPDIAG_SUPPORT_BIT_GROUPBOX_WITHOUT_BOTTOMLINE0x40 0x40 /* 214 */
388 |
389 |
390 | /* SAP Diag DP Header New Status values */
391 | static const value_string sapdiag_dp_new_stat_vals[] = {
392 | { 0x00, "NO_CHANGE" },
393 | { 0x01, "WP_SLOT_FREE" },
394 | { 0x02, "WP_WAIT" },
395 | { 0x04, "WP_RUN" },
396 | { 0x08, "WP_HOLD" },
397 | { 0x10, "WP_KILLED" },
398 | { 0x20, "WP_SHUTDOWN" },
399 | { 0x40, "WP_RESTRICTED" },
400 | { 0x80, "WP_NEW" },
401 | /* NULL */
402 | { 0x00, NULL((void*)0) }
403 | };
404 |
405 | /* SAP Diag Item Type values */
406 | static const value_string sapdiag_item_type_vals[] = {
407 | { 0x01, "SES" },
408 | { 0x02, "ICO" },
409 | { 0x03, "TIT" },
410 | { 0x07, "DiagMessage (old format)" },
411 | { 0x08, "OKC" },
412 | { 0x09, "CHL" },
413 | { 0x0a, "SFE" },
414 | { 0x0b, "SBA" },
415 | { 0x0c, "EOM" },
416 | { 0x10, "APPL" },
417 | { 0x11, "DIAG_XMLBLOB" },
418 | { 0x12, "APPL4" },
419 | { 0x13, "SLC" },
420 | { 0x15, "SBA2" },
421 | /* NULL */
422 | { 0x00, NULL((void*)0) }
423 | };
424 |
425 | /* SAP Diag Item APPL/APPL4 ID values */
426 | static const value_string sapdiag_item_id_vals[] = {
427 | { 0x01, "SCRIPT" },
428 | { 0x02, "GRAPH" },
429 | { 0x03, "IXOS" },
430 | { 0x04, "ST_USER" },
431 | { 0x05, "DYNN" },
432 | { 0x06, "ST_R3INFO" },
433 | { 0x07, "POPU" },
434 | { 0x08, "RFC_TR" },
435 | { 0x09, "DYNT" },
436 | { 0x0a, "CONTAINER" },
437 | { 0x0b, "MNUENTRY" },
438 | { 0x0c, "VARINFO" },
439 | { 0x0e, "CONTROL" },
440 | { 0x0f, "UI_EVENT" },
441 | { 0x12, "ACC_LIST" },
442 | { 0x13, "RCUI" },
443 | { 0x14, "GUI_PACKET" },
444 | /* NULL */
445 | { 0x00, NULL((void*)0) }
446 | };
447 |
448 | /* SAP Diag Item APPL/APPL4 SCRIPT SID values */
449 | static const value_string sapdiag_item_appl_script_vals[] = {
450 | /* SCRIPT */
451 | { 0x01, "SCRIPT_OTF" },
452 | { 0x02, "SCRIPT_SCREEN" },
453 | { 0x03, "SCRIPT_POSTSCRIPT" },
454 | { 0x04, "SCRIPT_ITF" },
455 | /* NULL */
456 | { 0x00, NULL((void*)0) }
457 | };
458 |
459 | /* SAP Diag Item APPL/APPL4 GRAPH SID values */
460 | static const value_string sapdiag_item_appl_graph_vals[] = {
461 | /* GRAPH */
462 | { 0x03, "GRAPH RELEASE 3" },
463 | { 0x05, "GRAPH RELEASE 5" },
464 | /* NULL */
465 | { 0x00, NULL((void*)0) }
466 | };
467 |
468 | /* SAP Diag Item APPL/APPL4 IXOS SID values */
469 | static const value_string sapdiag_item_appl_ixos_vals[] = {
470 | /* IXOS */
471 | { 0x01, "ABLAGE" },
472 | { 0x02, "ANZEIGE" },
473 | { 0x03, "IXOS_COMMAND" },
474 | { 0x00, NULL((void*)0) }
475 | };
476 |
477 | /* SAP Diag Item APPL/APPL4 ST_USER SID values */
478 | static const value_string sapdiag_item_appl_st_user_vals[] = {
479 | /* ST_USER */
480 | { 0x01, "V1" },
481 | { 0x02, "CONNECT" },
482 | { 0x03, "SELECTEDRECT" },
483 | { 0x04, "FONTMETRIC" },
484 | { 0x05, "TABLEMETRIC" },
485 | { 0x06, "GUITIME" },
486 | { 0x07, "GUITIMEZONE" },
487 | { 0x08, "TURNTIME" },
488 | { 0x09, "GUIVERSION" },
489 | /* No entry for 0xa... */
490 | { 0x0b, "SUPPORTDATA" },
491 | { 0x0c, "RFC_CONNECT" },
492 | { 0x0d, "WSIZE" },
493 | { 0x0e, "V2" },
494 | { 0x0f, "TURNTIME2" },
495 | { 0x10, "RFC_PARENT_UUID" },
496 | { 0x11, "RFC_NEW_UUID" },
497 | { 0x12, "RFC_UUIDS" },
498 | { 0x13, "RFC_UUIDS2" },
499 | { 0x14, "XML_LOGIN" },
500 | { 0x15, "XML_TRANSACTION" },
501 | { 0x16, "SCROLLBAR_WIDTH" },
502 | { 0x17, "TOOLBAR_HEIGHT" },
503 | { 0x18, "PASSPORT_DATA" },
504 | { 0x19, "GUI_STATE" },
505 | { 0x1a, "DECIMALPOINT" },
506 | { 0x1b, "LANGUAGE" },
507 | { 0x1c, "USERNAME" },
508 | { 0x1d, "GUIPATCHLEVEL" },
509 | { 0x1e, "WSIZE_PIXEL" },
510 | { 0x1f, "GUI_OS_VERSION" },
511 | { 0x20, "BROWSER_VERSION" },
512 | { 0x21, "OFFICE_VERSION" },
513 | { 0x22, "JDK_VERSION" },
514 | { 0x23, "GUIXT_VERSION" },
515 | { 0x24, "DISPLAY_SIZE" },
516 | { 0x25, "GUI_TYPE" },
517 | { 0x26, "DIALOG_STEP_NUMBER" },
518 | /* NULL */
519 | { 0x00, NULL((void*)0) }
520 | };
521 |
522 | /* SAP Diag Item APPL/APPL4 DYNN SID values */
523 | static const value_string sapdiag_item_appl_dynn_vals[] = {
524 | /* DYNN */
525 | { 0x01, "CHL" },
526 | { 0x03, "XMLPROP DYNPRO" },
527 | /* NULL */
528 | { 0x00, NULL((void*)0) }
529 | };
530 |
531 | /* SAP Diag Item APPL/APPL4 ST_R3INFO SID values */
532 | static const value_string sapdiag_item_appl_st_r3info_vals[] = {
533 | /* ST_R3INFO */
534 | { 0x01, "MODENUMBER" },
535 | { 0x02, "DBNAME" },
536 | { 0x03, "CPUNAME" },
537 | { 0x04, "RFC_TRIGGER" },
538 | { 0x05, "GUI_LABEL" },
539 | { 0x06, "DIAGVERSION" },
540 | { 0x07, "TCODE" },
541 | { 0x08, "RFC_WAITING" },
542 | { 0x09, "RFC_REFRESH" },
543 | { 0x0a, "IMODENUMBER" },
544 | { 0x0b, "MESSAGE" },
545 | { 0x0c, "CLIENT" },
546 | { 0x0d, "DYNPRONAME" },
547 | { 0x0e, "DYNPRONUMBER" },
548 | { 0x0f, "CUANAME" },
549 | { 0x10, "CUASTATUS" },
550 | { 0x11, "SUPPORTDATA" },
551 | { 0x12, "RFC_CONNECT_OK" },
552 | { 0x13, "GUI_FKEY" },
553 | { 0x14, "GUI_FKEYT" },
554 | { 0x15, "STOP_TRANS" },
555 | { 0x16, "RFC_DIAG_BLOCK_SIZE" },
556 | { 0x17, "USER_CHECKED" },
557 | { 0x18, "FLAGS" },
558 | { 0x19, "USERID" },
559 | { 0x1a, "ROLLCOUNT" },
560 | { 0x1b, "GUI_XT_VAR" },
561 | { 0x1c, "IMODEUUID" },
562 | { 0x1d, "IMODEUUID_INVALIDATE" },
563 | { 0x1e, "IMODEUUIDS" },
564 | { 0x1f, "IMODEUUIDS2" },
565 | { 0x20, "CODEPAGE" },
566 | { 0x21, "CONTEXTID" },
567 | { 0x22, "AUTOLOGOUT_TIME" },
568 | { 0x23, "CODEPAGE_DIAG_GUI" },
569 | { 0x24, "CODEPAGE_APP_SERVER" },
570 | { 0x25, "GUI_THEME" },
571 | { 0x26, "GUI_USER_SCRIPTING" },
572 | { 0x27, "CODEPAGE_APP_SERVER_1" },
573 | { 0x28, "TICKET4GUI" },
574 | { 0x29, "KERNEL_VERSION" },
575 | { 0x2a, "STD_TOOLBAR_ITEMS" },
576 | /* NULL */
577 | { 0x00, NULL((void*)0) }
578 | };
579 |
580 | /* SAP Diag Item APPL/APPL4 POPU SID values */
581 | static const value_string sapdiag_item_appl_popu_vals[] = {
582 | /* POPU */
583 | { 0x02, "DEST" },
584 | /* NULL */
585 | { 0x00, NULL((void*)0) }
586 | };
587 |
588 | /* SAP Diag Item APPL/APPL4 RFC_TR SID values */
589 | static const value_string sapdiag_item_appl_rfc_tr_vals[] = {
590 | /* RFC_TR */
591 | { 0x00, "RFC_TR_REQ" },
592 | { 0x01, "RFC_TR_RET" },
593 | { 0x02, "RFC_TR_ERR" },
594 | { 0x03, "RFC_TR_RQT" },
595 | { 0x04, "RFC_TR_MOR" },
596 | { 0x05, "RFC_TR_MOB" },
597 | { 0x06, "RFC_TR_RNB" },
598 | { 0x07, "RFC_TR_RNT" },
599 | { 0x08, "RFC_TR_DIS" },
600 | { 0x09, "RFC_TR_CALL" },
601 | { 0x0a, "RFC_TR_CALL_END" },
602 | { 0x0b, "RFC_TR_RES" },
603 | /* NULL */
604 | { 0x00, NULL((void*)0) }
605 | };
606 |
607 | /* SAP Diag Item APPL/APPL4 DYNT SID values */
608 | static const value_string sapdiag_item_appl_dynt_vals[] = {
609 | /* DYNT */
610 | { 0x01, "DYNT_FOCUS" },
611 | { 0x02, "DYNT_ATOM" },
612 | { 0x03, "DYNT_EVENT_UNUSED" },
613 | { 0x04, "TABLE_ROW_REFERENCE" },
614 | { 0x05, "TABLE_ROW_DAT_INPUT_DUMMY" },
615 | { 0x06, "TABLE_INPUT_HEADER" },
616 | { 0x07, "TABLE_OUTPUT_HEADER" },
617 | { 0x08, "TABLE_ROW_DATA_INPUT" },
618 | { 0x09, "TABLE_ROW_DATA_OUTPUT" },
619 | { 0x0a, "DYNT_NOFOCUS" },
620 | { 0x0b, "DYNT_FOCUS_1" },
621 | { 0x0c, "TABLE_ROW_REFERENCE_1" },
622 | { 0x0d, "TABLE_FIELD_NAMES" },
623 | { 0x0e, "TABLE_HEADER" },
624 | { 0x0f, "DYNT_TABSTRIP_HEADER" },
625 | { 0x10, "DYNT_TABSTRIP_BUTTONS" },
626 | { 0x11, "TABLE_ROW_REFERENCE_2" },
627 | { 0x12, "DYNT_CONTROL_FOCUS" },
628 | { 0x13, "TABLE_FIELD_XMLPROP" },
629 | { 0x14, "DYNT_SPLITTER_HEADER" },
630 | { 0x15, "DYNT_TC_COLUMN_TITLE_XMLP" },
631 | { 0x16, "DYNT_TC_ROW_SELECTOR_NAME" },
632 | { 0x17, "DYNT_FOCUS_FRAME" },
633 | /* NULL */
634 | { 0x00, NULL((void*)0) }
635 | };
636 |
637 | /* SAP Diag Item APPL/APPL4 CONTAINER SID values */
638 | static const value_string sapdiag_item_appl_container_vals[] = {
639 | /* CONTAINER */
640 | { 0x01, "RESET" },
641 | { 0x02, "DEFAULT" },
642 | { 0x03, "SUBSCREEN" },
643 | { 0x04, "LOOP" },
644 | { 0x05, "TABLE" },
645 | { 0x06, "NAME" },
646 | { 0x08, "TABSTRIP" },
647 | { 0x09, "TABSTRIP_PAGE" },
648 | { 0x0a, "CONTROL" },
649 | { 0x0c, "XMLPROP" },
650 | { 0x0d, "SPLITTER" },
651 | { 0x0e, "SPLITTER_CELL" },
652 | /* NULL */
653 | { 0x00, NULL((void*)0) }
654 | };
655 |
656 | /* SAP Diag Item APPL/APPL4 MNUENTRY SID values */
657 | static const value_string sapdiag_item_appl_mnuentry_vals[] = {
658 | /* MNUENTRY */
659 | { 0x01, "MENU_ACT" },
660 | { 0x02, "MENU_MNU" },
661 | { 0x03, "MENU_PFK" },
662 | { 0x04, "MENU_KYB" },
663 | /* NULL */
664 | { 0x00, NULL((void*)0) }
665 | };
666 |
667 | /* SAP Diag Item APPL/APPL4 VARINFO SID values */
668 | static const value_string sapdiag_item_appl_varinfo_vals[] = {
669 | /* VARINFO */
670 | { 0x01, "MESTYPE" },
671 | { 0x02, "SCROLL_INFOS" },
672 | { 0x03, "MESTYPE2" },
673 | { 0x04, "OKCODE" },
674 | { 0x05, "CONTAINER" },
675 | { 0x06, "SCROLL_INFOS2" },
676 | { 0x07, "AREASIZE" },
677 | { 0x08, "AREA_PIXELSIZE" },
678 | { 0x09, "SESSION_TITLE" },
679 | { 0x0a, "SESSION_ICON" },
680 | { 0x0b, "LIST_CELL_TEXT" },
681 | { 0x0c, "CONTAINER_LOOP" },
682 | { 0x0d, "LIST_FOCUS" },
683 | { 0x0e, "MAINAREA_PIXELSIZE" },
684 | { 0x0f, "SERVICE_REQUEST" },
685 | /* NULL */
686 | { 0x00, NULL((void*)0) }
687 | };
688 |
689 | /* SAP Diag Item APPL/APPL4 CONTROl SID values */
690 | static const value_string sapdiag_item_appl_control_vals[] = {
691 | /* CONTROL */
692 | { 0x01, "CONTROL_PROPERTIES" },
693 | /* NULL */
694 | { 0x00, NULL((void*)0) }
695 | };
696 |
697 | /* SAP Diag Item APPL/APPL4 UI_EVENT SID values */
698 | static const value_string sapdiag_item_appl_ui_event_vals[] = {
699 | /* UI_EVENT */
700 | { 0x01, "UI_EVENT_SOURCE" },
701 | /* NULL */
702 | { 0x00, NULL((void*)0) }
703 | };
704 |
705 | /* SAP Diag Item APPL/APPL4 ACC_LIST SID values */
706 | static const value_string sapdiag_item_appl_acc_list_vals[] = {
707 | /* ACC_LIST */
708 | { 0x01, "ACC_LIST_INFO4FIELD" },
709 | { 0x02, "ACC_LIST_CONTAINER" },
710 | /* NULL */
711 | { 0x00, NULL((void*)0) }
712 | };
713 |
714 | /* SAP Diag Item APPL/APPL4 RCUI SID values */
715 | static const value_string sapdiag_item_appl_rcui_vals[] = {
716 | /* RCUI */
717 | { 0x01, "RCUI_STREAM" },
718 | { 0x02, "RCUI_SYSTEM_ERROR" },
719 | { 0x03, "RCUI_SPAGPA" },
720 | { 0x04, "RCUI_MEMORYID" },
721 | { 0x05, "RCUI_TXOPTION" },
722 | { 0x06, "RCUI_VALUE" },
723 | { 0x07, "RCUI_COMMAND" },
724 | { 0x08, "RCUI_BDCMSG" },
725 | { 0x09, "RCUI_CONNECT_DATA" },
726 | /* NULL */
727 | { 0x00, NULL((void*)0) }
728 | };
729 |
730 | /* SAP Diag Item APPL/APPL4 GUI_PACKET SID values */
731 | static const value_string sapdiag_item_appl_gui_packet_vals[] = {
732 | /* GUI_PACKET */
733 | { 0x01, "GUI_PACKET_STATE" },
734 | { 0x02, "GUI_PACKET_DATA" },
735 | /* NULL */
736 | { 0x00, NULL((void*)0) }
737 | };
738 |
739 | /* SAP Diag Dynt Atom Etype values */
740 | static const value_string sapdiag_item_dynt_atom_item_etype_vals[] = {
741 | { 101, "DIAG_DGOTYP_EFIELD" },
742 | { 102, "DIAG_DGOTYP_OFIELD" },
743 | { 103, "DIAG_DGOTYP_KEYWORD" },
744 | { 104, "DIAG_DGOTYP_CHECKBUTTON_4" },
745 | { 105, "DIAG_DGOTYP_RADIOBUTTON_0" },
746 | { 106, "DIAG_DGOTYP_PUSHBUTTON_3" },
747 | { 107, "DIAG_DGOTYP_FRAME_3" },
748 | { 108, "DIAG_DGOTYP_LOOP_6" },
749 | { 109, "DIAG_DGOTYP_SUBSCREEN" },
750 | /* No value for 110? */
751 | { 111, "DIAG_DGOTYP_PROPERTY" },
752 | { 112, "DIAG_DGOTYP_ICON_0" },
753 | { 113, "DIAG_DGOTYP_PUSHBUTTON_1" },
754 | { 114, "DIAG_DGOTYP_FNAME" },
755 | { 115, "DIAG_DGOTYP_PUSHBUTTON_2" },
756 | { 116, "DIAG_DGOTYP_TABSTRIP_BUTTON" },
757 | { 117, "DIAG_DGOTYP_COMBOBOX" },
758 | { 118, "DIAG_DGOTYP_CHECKBUTTON_1" },
759 | { 119, "DIAG_DGOTYP_RADIOBUTTON_1" },
760 | { 120, "DIAG_DGOTYP_XMLPROP" },
761 | { 121, "DIAG_DGOTYP_EFIELD_1" },
762 | { 122, "DIAG_DGOTYP_OFIELD_1" },
763 | { 123, "DIAG_DGOTYP_KEYWORD_1_1" },
764 | { 124, "DIAG_DGOTYP_CHECKBUTTON_2" },
765 | { 125, "DIAG_DGOTYP_RADIOBUTTON__0" },
766 | { 126, "DIAG_DGOTYP_COMBOBOX_1" },
767 | { 127, "DIAG_DGOTYP_FRAME_1" },
768 | { 128, "DIAG_DGOTYP_CHECKBUTTON_3" },
769 | { 129, "DIAG_DGOTYP_RADIOBUTTON_3" },
770 | { 130, "DIAG_DGOTYP_EFIELD_2" },
771 | { 131, "DIAG_DGOTYP_OFIELD_2" },
772 | { 132, "DIAG_DGOTYP_KEYWORD_2" },
773 | /* NULL */
774 | { 0, NULL((void*)0) }
775 | };
776 |
777 | /* SAP Diag UI Event Source Event Type Values */
778 | static const value_string sapdiag_item_ui_event_event_type_vals[] = {
779 | { 0x01, "SELECT" },
780 | { 0x02, "HE" },
781 | { 0x03, "VALUEHELP" },
782 | { 0x06, "RESIZE" },
783 | { 0x07, "FUNCTIONKEY" },
784 | { 0x08, "SCROLL" },
785 | { 0x09, "BUTTONPRESSED" },
786 | { 0x0a, "VALUECHANGED" },
787 | { 0x0b, "STATECHANGED" },
788 | { 0x0c, "NAVIGATION" },
789 | /* NULL */
790 | { 0x00, NULL((void*)0) }
791 | };
792 |
793 | static const value_string sapdiag_item_ui_event_control_type_vals[] = {
794 | { 0x00, "NONE" },
795 | { 0x01, "FIELD" },
796 | { 0x02, "RADIOBUTTON" },
797 | { 0x03, "CHECKBUTTON" },
798 | { 0x04, "MENUBUTTON" },
799 | { 0x05, "TOOLBARBUTTON" },
800 | { 0x06, "STANDARDTOOLBARBUTTON" },
801 | { 0x07, "PUSHBUTTON" },
802 | { 0x08, "TABLEVIEW" },
803 | { 0x09, "TABSTRIP" },
804 | { 0x0a, "DYNPRO" },
805 | { 0x0b, "CUSTOM_CONTROL" },
806 | { 0x0d, "FRAME" },
807 | { 0x0e, "TABLEVIEW_COLSEL_BUTTON" },
808 | { 0x0f, "TABLEVIEW_ROWSEL_BUTTON" },
809 | { 0x10, "TABLEVIEW_CELL" },
810 | { 0x11, "CONTEXTMENU" },
811 | { 0x12, "SPLITTER" },
812 | { 0x13, "MESSAGE" },
813 | { 0x14, "OKCODE" },
814 | { 0x15, "ACC_CONTAINER" },
815 | /* NULL */
816 | { 0x00, NULL((void*)0) }
817 | };
818 |
819 | static const value_string sapdiag_item_ui_event_navigation_data_vals[] = {
820 | { 0x01, "TAB" },
821 | { 0x02, "TAB_BACK" },
822 | { 0x03, "JUMP_OVER" },
823 | { 0x04, "JUMP_OVER_BACK" },
824 | { 0x05, "JUMP_OUT" },
825 | { 0x06, "JUMP_OUT_BACK" },
826 | { 0x07, "JUMP_SECTION" },
827 | { 0x08, "JUMP_SECTION_BACK" },
828 | { 0x09, "FIRST_FIELD" },
829 | { 0x0a, "LAST_FIELD" },
830 | /* NULL */
831 | { 0x00, NULL((void*)0) }
832 | };
833 |
834 | static const value_string sapdiag_item_control_properties_id_vals[] = {
835 | { 0x01, "CONTROL_AREA" },
836 | { 0x02, "CONTROL_ID" },
837 | { 0x03, "CONTROL_VISIBLE" },
838 | { 0x04, "CONTROL_ROW" },
839 | { 0x05, "CONTROL_COLUMN" },
840 | { 0x06, "CONTROL_ROWS" },
841 | { 0x07, "CONTROL_COLUMNS" },
842 | /* NULL */
843 | { 0x00, NULL((void*)0) }
844 | };
845 |
846 | /* SAP Diag Dynt Atom Attr flags */
847 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_PROTECTED0x01 0x01
848 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_INVISIBLE0x02 0x02
849 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_INTENSIFY0x04 0x04
850 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_JUSTRIGHT0x08 0x08
851 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_MATCHCODE0x10 0x10
852 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_PROPFONT0x20 0x20
853 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_YES3D0x40 0x40
854 | #define SAPDIAG_ATOM_ATTR_DIAG_BSD_COMBOSTYLE0x80 0x80
855 | #define SAPDIAG_DYNT_ATOM_HEADER_LEN13 13
856 | #define SAPDIAG_MENU_ENTRY_HEADER_LEN20 20
857 |
858 | /* SAP Diag UI Event Source flags */
859 | #define SAPDIAG_UI_EVENT_VALID_FLAG_MENU_POS0x01 0x01
860 | #define SAPDIAG_UI_EVENT_VALID_FLAG_CONTROL_POS0x02 0x02
861 | #define SAPDIAG_UI_EVENT_VALID_FLAG_NAVIGATION_DATA0x04 0x04
862 | #define SAPDIAG_UI_EVENT_VALID_FLAG_FUNCTIONKEY_DATA0x08 0x08
863 |
864 | static int proto_sapdiag;
865 |
866 | static int hf_sapdiag_dp;
867 | static int hf_sapdiag_header;
868 | static int hf_sapdiag_payload;
869 |
870 | /* Diag Header */
871 | static int hf_sapdiag_mode;
872 | static int hf_sapdiag_com_flag;
873 | static int hf_sapdiag_com_flag_TERM_EOS;
874 | static int hf_sapdiag_com_flag_TERM_EOC;
875 | static int hf_sapdiag_com_flag_TERM_NOP;
876 | static int hf_sapdiag_com_flag_TERM_EOP;
877 | static int hf_sapdiag_com_flag_TERM_INI;
878 | static int hf_sapdiag_com_flag_TERM_CAS;
879 | static int hf_sapdiag_com_flag_TERM_NNM;
880 | static int hf_sapdiag_com_flag_TERM_GRA;
881 |
882 | static int hf_sapdiag_mode_stat;
883 | static int hf_sapdiag_err_no;
884 | static int hf_sapdiag_msg_type;
885 | static int hf_sapdiag_msg_info;
886 | static int hf_sapdiag_msg_rc;
887 | static int hf_sapdiag_compress;
888 |
889 | /* Error messages */
890 | static int hf_sapdiag_error_message;
891 |
892 | /* Compression header */
893 | static int hf_sapdiag_compress_header;
894 | static int hf_sapdiag_uncomplength;
895 | static int hf_sapdiag_algorithm;
896 | static int hf_sapdiag_magic;
897 | static int hf_sapdiag_special;
898 | static int hf_sapdiag_decompress_return_code;
899 |
900 | /* Message Data */
901 | static int hf_sapdiag_item;
902 | static int hf_sapdiag_item_type;
903 | static int hf_sapdiag_item_id;
904 | static int hf_sapdiag_item_sid;
905 | static int hf_sapdiag_item_length_short;
906 | static int hf_sapdiag_item_length_long;
907 | static int hf_sapdiag_item_value;
908 |
909 | /* Message DP Header */
910 | static int hf_sapdiag_dp_request_id;
911 | static int hf_sapdiag_dp_retcode;
912 | static int hf_sapdiag_dp_sender_id;
913 | static int hf_sapdiag_dp_action_type;
914 | static int hf_sapdiag_dp_req_info;
915 | static int hf_sapdiag_dp_req_info_byte;
916 |
917 | static int hf_sapdiag_dp_req_info_LOGIN;
918 | static int hf_sapdiag_dp_req_info_LOGOFF;
919 | static int hf_sapdiag_dp_req_info_SHUTDOWN;
920 | static int hf_sapdiag_dp_req_info_GRAPHIC_TM;
921 | static int hf_sapdiag_dp_req_info_ALPHA_TM;
922 | static int hf_sapdiag_dp_req_info_ERROR_FROM_APPC;
923 | static int hf_sapdiag_dp_req_info_CANCELMODE;
924 | static int hf_sapdiag_dp_req_info_MSG_WITH_REQ_BUF;
925 | static int hf_sapdiag_dp_req_info_MSG_WITH_OH;
926 | static int hf_sapdiag_dp_req_info_BUFFER_REFRESH;
927 | static int hf_sapdiag_dp_req_info_BTC_SCHEDULER;
928 | static int hf_sapdiag_dp_req_info_APPC_SERVER_DOWN;
929 | static int hf_sapdiag_dp_req_info_MS_ERROR;
930 | static int hf_sapdiag_dp_req_info_SET_SYSTEM_USER;
931 | static int hf_sapdiag_dp_req_info_DP_CANT_HANDLE_REQ;
932 | static int hf_sapdiag_dp_req_info_DP_AUTO_ABAP;
933 | static int hf_sapdiag_dp_req_info_DP_APPL_SERV_INFO;
934 | static int hf_sapdiag_dp_req_info_DP_ADMIN;
935 | static int hf_sapdiag_dp_req_info_DP_SPOOL_ALRM;
936 | static int hf_sapdiag_dp_req_info_DP_HAND_SHAKE;
937 | static int hf_sapdiag_dp_req_info_DP_CANCEL_PRIV;
938 | static int hf_sapdiag_dp_req_info_DP_RAISE_TIMEOUT;
939 | static int hf_sapdiag_dp_req_info_DP_NEW_MODE;
940 | static int hf_sapdiag_dp_req_info_DP_SOFT_CANCEL;
941 | static int hf_sapdiag_dp_req_info_DP_TM_INPUT;
942 | static int hf_sapdiag_dp_req_info_DP_TM_OUTPUT;
943 | static int hf_sapdiag_dp_req_info_DP_ASYNC_RFC;
944 | static int hf_sapdiag_dp_req_info_DP_ICM_EVENT;
945 | static int hf_sapdiag_dp_req_info_DP_AUTO_TH;
946 | static int hf_sapdiag_dp_req_info_DP_RFC_CANCEL;
947 | static int hf_sapdiag_dp_req_info_DP_MS_ADM;
948 |
949 | static int hf_sapdiag_dp_tid;
950 | static int hf_sapdiag_dp_uid;
951 | static int hf_sapdiag_dp_mode;
952 | static int hf_sapdiag_dp_wp_id;
953 | static int hf_sapdiag_dp_wp_ca_blk;
954 | static int hf_sapdiag_dp_appc_ca_blk;
955 | static int hf_sapdiag_dp_len; /* Length of the SAP Diag Items in the login */
956 | static int hf_sapdiag_dp_new_stat;
957 | static int hf_sapdiag_dp_rq_id;
958 | static int hf_sapdiag_dp_terminal;
959 |
960 | /* Dynt Atom */
961 | static int hf_sapdiag_item_dynt_atom;
962 | static int hf_sapdiag_item_dynt_atom_item;
963 | static int hf_sapdiag_item_dynt_atom_item_etype;
964 | static int hf_sapdiag_item_dynt_atom_item_attr;
965 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_COMBOSTYLE;
966 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_YES3D;
967 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_PROPFONT;
968 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_MATCHCODE;
969 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_JUSTRIGHT;
970 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_INTENSIFY;
971 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_INVISIBLE;
972 | static int hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_PROTECTED;
973 |
974 | /* Control properties */
975 | static int hf_sapdiag_item_control_properties_id;
976 | static int hf_sapdiag_item_control_properties_value;
977 |
978 | /* UI Event Source */
979 | static int hf_sapdiag_item_ui_event_event_type;
980 | static int hf_sapdiag_item_ui_event_control_type;
981 | static int hf_sapdiag_item_ui_event_valid;
982 | static int hf_sapdiag_item_ui_event_valid_MENU_POS;
983 | static int hf_sapdiag_item_ui_event_valid_CONTROL_POS;
984 | static int hf_sapdiag_item_ui_event_valid_NAVIGATION_DATA;
985 | static int hf_sapdiag_item_ui_event_valid_FUNCTIONKEY_DATA;
986 | static int hf_sapdiag_item_ui_event_control_row;
987 | static int hf_sapdiag_item_ui_event_control_col;
988 | static int hf_sapdiag_item_ui_event_data;
989 | static int hf_sapdiag_item_ui_event_navigation_data;
990 | static int hf_sapdiag_item_ui_event_container_nrs;
991 | static int hf_sapdiag_item_ui_event_container;
992 |
993 | /* Menu Entries */
994 | static int hf_sapdiag_item_menu_entry;
995 |
996 | /* Diag Support Bits */
997 | static int hf_sapdiag_support_bits;
998 | static int hf_SAPDIAG_SUPPORT_BIT_PROGRESS_INDICATOR;
999 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_LABELS;
1000 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_DIAGVERSION;
1001 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_SELECT_RECT;
1002 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_SYMBOL_RIGHT;
1003 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_FONT_METRIC;
1004 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_COMPR_ENHANCED;
1005 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_IMODE;
1006 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_LONG_MESSAGE;
1007 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_TABLE;
1008 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_FOCUS_1;
1009 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_PUSHBUTTON_1;
1010 | static int hf_SAPDIAG_SUPPORT_BIT_UPPERCASE;
1011 | static int hf_SAPDIAG_SUPPORT_BIT_SAPGUI_TABPROPERTY;
1012 | static int hf_SAPDIAG_SUPPORT_BIT_INPUT_UPPERCASE;
1013 | static int hf_SAPDIAG_SUPPORT_BIT_RFC_DIALOG;
1014 | static int hf_SAPDIAG_SUPPORT_BIT_LIST_HOTSPOT;
1015 | static int hf_SAPDIAG_SUPPORT_BIT_FKEY_TABLE;
1016 | static int hf_SAPDIAG_SUPPORT_BIT_MENU_SHORTCUT;
1017 | static int hf_SAPDIAG_SUPPORT_BIT_STOP_TRANS;
1018 | static int hf_SAPDIAG_SUPPORT_BIT_FULL_MENU;
1019 | static int hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES;
1020 | static int hf_SAPDIAG_SUPPORT_BIT_CONTAINER_TYPE;
1021 | static int hf_SAPDIAG_SUPPORT_BIT_DLGH_FLAGS;
1022 | static int hf_SAPDIAG_SUPPORT_BIT_APPL_MNU;
1023 | static int hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO;
1024 | static int hf_SAPDIAG_SUPPORT_BIT_MESDUM_FLAG1;
1025 | static int hf_SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB;
1026 | static int hf_SAPDIAG_SUPPORT_BIT_GUIAPI;
1027 | static int hf_SAPDIAG_SUPPORT_BIT_NOGRAPH;
1028 | static int hf_SAPDIAG_SUPPORT_BIT_NOMESSAGES;
1029 | static int hf_SAPDIAG_SUPPORT_BIT_NORABAX;
1030 | static int hf_SAPDIAG_SUPPORT_BIT_NOSYSMSG;
1031 | static int hf_SAPDIAG_SUPPORT_BIT_NOSAPSCRIPT;
1032 | static int hf_SAPDIAG_SUPPORT_BIT_NORFC;
1033 | static int hf_SAPDIAG_SUPPORT_BIT_NEW_BSD_JUSTRIGHT;
1034 | static int hf_SAPDIAG_SUPPORT_BIT_MESSAGE_VARS;
1035 | static int hf_SAPDIAG_SUPPORT_BIT_OCX_SUPPORT;
1036 | static int hf_SAPDIAG_SUPPORT_BIT_SCROLL_INFOS;
1037 | static int hf_SAPDIAG_SUPPORT_BIT_TABLE_SIZE_OK;
1038 | static int hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO2;
1039 | static int hf_SAPDIAG_SUPPORT_BIT_VARINFO_OKCODE;
1040 | static int hf_SAPDIAG_SUPPORT_BIT_CURR_TCODE;
1041 | static int hf_SAPDIAG_SUPPORT_BIT_CONN_WSIZE;
1042 | static int hf_SAPDIAG_SUPPORT_BIT_PUSHBUTTON_2;
1043 | static int hf_SAPDIAG_SUPPORT_BIT_TABSTRIP;
1044 | static int hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_1;
1045 | static int hf_SAPDIAG_SUPPORT_BIT_TABSCROLL_INFOS;
1046 | static int hf_SAPDIAG_SUPPORT_BIT_TABLE_FIELD_NAMES;
1047 | static int hf_SAPDIAG_SUPPORT_BIT_NEW_MODE_REQUEST;
1048 | static int hf_SAPDIAG_SUPPORT_BIT_RFCBLOB_DIAG_PARSER;
1049 | static int hf_SAPDIAG_SUPPORT_BIT_MULTI_LOGIN_USER;
1050 | static int hf_SAPDIAG_SUPPORT_BIT_CONTROL_CONTAINER;
1051 | static int hf_SAPDIAG_SUPPORT_BIT_APPTOOLBAR_FIXED;
1052 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_USER_CHECKED;
1053 | static int hf_SAPDIAG_SUPPORT_BIT_NEED_STDDYNPRO;
1054 | static int hf_SAPDIAG_SUPPORT_BIT_TYPE_SERVER;
1055 | static int hf_SAPDIAG_SUPPORT_BIT_COMBOBOX;
1056 | static int hf_SAPDIAG_SUPPORT_BIT_INPUT_REQUIRED;
1057 | static int hf_SAPDIAG_SUPPORT_BIT_ISO_LANGUAGE;
1058 | static int hf_SAPDIAG_SUPPORT_BIT_COMBOBOX_TABLE;
1059 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS;
1060 | static int hf_SAPDIAG_SUPPORT_BIT_CHECKRADIO_EVENTS;
1061 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_USERID;
1062 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_ROLLCOUNT;
1063 | static int hf_SAPDIAG_SUPPORT_BIT_USER_TURNTIME2;
1064 | static int hf_SAPDIAG_SUPPORT_BIT_NUM_FIELD;
1065 | static int hf_SAPDIAG_SUPPORT_BIT_WIN16;
1066 | static int hf_SAPDIAG_SUPPORT_BIT_CONTEXT_MENU;
1067 | static int hf_SAPDIAG_SUPPORT_BIT_SCROLLABLE_TABSTRIP_PAGE;
1068 | static int hf_SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION;
1069 | static int hf_SAPDIAG_SUPPORT_BIT_LABEL_OWNER;
1070 | static int hf_SAPDIAG_SUPPORT_BIT_CLICKABLE_FIELD;
1071 | static int hf_SAPDIAG_SUPPORT_BIT_PROPERTY_BAG;
1072 | static int hf_SAPDIAG_SUPPORT_BIT_UNUSED_1;
1073 | static int hf_SAPDIAG_SUPPORT_BIT_TABLE_ROW_REFERENCES_2;
1074 | static int hf_SAPDIAG_SUPPORT_BIT_PROPFONT_VALID;
1075 | static int hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER;
1076 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_IMODEUUID;
1077 | static int hf_SAPDIAG_SUPPORT_BIT_NOTGUI;
1078 | static int hf_SAPDIAG_SUPPORT_BIT_WAN;
1079 | static int hf_SAPDIAG_SUPPORT_BIT_XML_BLOBS;
1080 | static int hf_SAPDIAG_SUPPORT_BIT_RFC_QUEUE;
1081 | static int hf_SAPDIAG_SUPPORT_BIT_RFC_COMPRESS;
1082 | static int hf_SAPDIAG_SUPPORT_BIT_JAVA_BEANS;
1083 | static int hf_SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND;
1084 | static int hf_SAPDIAG_SUPPORT_BIT_CTL_PROPCACHE;
1085 | static int hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID;
1086 | static int hf_SAPDIAG_SUPPORT_BIT_RFC_ASYNC_BLOB;
1087 | static int hf_SAPDIAG_SUPPORT_BIT_KEEP_SCROLLPOS;
1088 | static int hf_SAPDIAG_SUPPORT_BIT_UNUSED_2;
1089 | static int hf_SAPDIAG_SUPPORT_BIT_UNUSED_3;
1090 | static int hf_SAPDIAG_SUPPORT_BIT_XML_PROPERTIES;
1091 | static int hf_SAPDIAG_SUPPORT_BIT_UNUSED_4;
1092 | static int hf_SAPDIAG_SUPPORT_BIT_HEX_FIELD;
1093 | static int hf_SAPDIAG_SUPPORT_BIT_HAS_CACHE;
1094 | static int hf_SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE;
1095 | static int hf_SAPDIAG_SUPPORT_BIT_UNUSED_5;
1096 | static int hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID2;
1097 | static int hf_SAPDIAG_SUPPORT_BIT_ITS;
1098 | static int hf_SAPDIAG_SUPPORT_BIT_NO_EASYACCESS;
1099 | static int hf_SAPDIAG_SUPPORT_BIT_PROPERTYPUMP;
1100 | static int hf_SAPDIAG_SUPPORT_BIT_COOKIE;
1101 | static int hf_SAPDIAG_SUPPORT_BIT_UNUSED_6;
1102 | static int hf_SAPDIAG_SUPPORT_BIT_SUPPBIT_AREA_SIZE;
1103 | static int hf_SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND_WRITE;
1104 | static int hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS;
1105 | static int hf_SAPDIAG_SUPPORT_BIT_ENTRY_HISTORY;
1106 | static int hf_SAPDIAG_SUPPORT_BIT_AUTO_CODEPAGE;
1107 | static int hf_SAPDIAG_SUPPORT_BIT_CACHED_VSETS;
1108 | static int hf_SAPDIAG_SUPPORT_BIT_EMERGENCY_REPAIR;
1109 | static int hf_SAPDIAG_SUPPORT_BIT_AREA2FRONT;
1110 | static int hf_SAPDIAG_SUPPORT_BIT_SCROLLBAR_WIDTH;
1111 | static int hf_SAPDIAG_SUPPORT_BIT_AUTORESIZE;
1112 | static int hf_SAPDIAG_SUPPORT_BIT_EDIT_VARLEN;
1113 | static int hf_SAPDIAG_SUPPORT_BIT_WORKPLACE;
1114 | static int hf_SAPDIAG_SUPPORT_BIT_PRINTDATA;
1115 | static int hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_2;
1116 | static int hf_SAPDIAG_SUPPORT_BIT_SINGLE_SESSION;
1117 | static int hf_SAPDIAG_SUPPORT_BIT_NOTIFY_NEWMODE;
1118 | static int hf_SAPDIAG_SUPPORT_BIT_TOOLBAR_HEIGHT;
1119 | static int hf_SAPDIAG_SUPPORT_BIT_XMLPROP_CONTAINER;
1120 | static int hf_SAPDIAG_SUPPORT_BIT_XMLPROP_DYNPRO;
1121 | static int hf_SAPDIAG_SUPPORT_BIT_DP_HTTP_PUT;
1122 | static int hf_SAPDIAG_SUPPORT_BIT_DYNAMIC_PASSPORT;
1123 | static int hf_SAPDIAG_SUPPORT_BIT_WEBGUI;
1124 | static int hf_SAPDIAG_SUPPORT_BIT_WEBGUI_HELPMODE;
1125 | static int hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST;
1126 | static int hf_SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_2;
1127 | static int hf_SAPDIAG_SUPPORT_BIT_EOKDUMMY_1;
1128 | static int hf_SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING;
1129 | static int hf_SAPDIAG_SUPPORT_BIT_SLC;
1130 | static int hf_SAPDIAG_SUPPORT_BIT_ACCESSIBILITY;
1131 | static int hf_SAPDIAG_SUPPORT_BIT_ECATT;
1132 | static int hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID3;
1133 | static int hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF8;
1134 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_AUTOLOGOUT_TIME;
1135 | static int hf_SAPDIAG_SUPPORT_BIT_VARINFO_ICON_TITLE_LIST;
1136 | static int hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF16BE;
1137 | static int hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF16LE;
1138 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP;
1139 | static int hf_SAPDIAG_SUPPORT_BIT_ENABLE_APPL4;
1140 | static int hf_SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL;
1141 | static int hf_SAPDIAG_SUPPORT_BIT_CBURBU_NEW_STATE;
1142 | static int hf_SAPDIAG_SUPPORT_BIT_BINARY_EVENTID;
1143 | static int hf_SAPDIAG_SUPPORT_BIT_GUI_THEME;
1144 | static int hf_SAPDIAG_SUPPORT_BIT_TOP_WINDOW;
1145 | static int hf_SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION_1;
1146 | static int hf_SAPDIAG_SUPPORT_BIT_SPLITTER;
1147 | static int hf_SAPDIAG_SUPPORT_BIT_VALUE_4_HISTORY;
1148 | static int hf_SAPDIAG_SUPPORT_BIT_ACC_LIST;
1149 | static int hf_SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING_INFO;
1150 | static int hf_SAPDIAG_SUPPORT_BIT_TEXTEDIT_STREAM;
1151 | static int hf_SAPDIAG_SUPPORT_BIT_DYNT_NOFOCUS;
1152 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP_1;
1153 | static int hf_SAPDIAG_SUPPORT_BIT_FRAME_1;
1154 | static int hf_SAPDIAG_SUPPORT_BIT_TICKET4GUI;
1155 | static int hf_SAPDIAG_SUPPORT_BIT_ACC_LIST_PROPS;
1156 | static int hf_SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB_INPUT;
1157 | static int hf_SAPDIAG_SUPPORT_BIT_DEFAULT_TOOLTIP;
1158 | static int hf_SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE_2;
1159 | static int hf_SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_3;
1160 | static int hf_SAPDIAG_SUPPORT_BIT_CELLINFO;
1161 | static int hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST_2;
1162 | static int hf_SAPDIAG_SUPPORT_BIT_TABLE_COLUMNWIDTH_INPUT;
1163 | static int hf_SAPDIAG_SUPPORT_BIT_ITS_PLUGIN;
1164 | static int hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_4_LOGIN_PROCESS;
1165 | static int hf_SAPDIAG_SUPPORT_BIT_RFC_SERVER_4_GUI;
1166 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS_2;
1167 | static int hf_SAPDIAG_SUPPORT_BIT_RCUI;
1168 | static int hf_SAPDIAG_SUPPORT_BIT_MENUENTRY_WITH_FCODE;
1169 | static int hf_SAPDIAG_SUPPORT_BIT_WEBSAPCONSOLE;
1170 | static int hf_SAPDIAG_SUPPORT_BIT_R3INFO_KERNEL_VERSION;
1171 | static int hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_LOOP;
1172 | static int hf_SAPDIAG_SUPPORT_BIT_EOKDUMMY_2;
1173 | static int hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO3;
1174 | static int hf_SAPDIAG_SUPPORT_BIT_SBA2;
1175 | static int hf_SAPDIAG_SUPPORT_BIT_MAINAREA_SIZE;
1176 | static int hf_SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL_2;
1177 | static int hf_SAPDIAG_SUPPORT_BIT_DISPLAY_SIZE;
1178 | static int hf_SAPDIAG_SUPPORT_BIT_GUI_PACKET;
1179 | static int hf_SAPDIAG_SUPPORT_BIT_DIALOG_STEP_NUMBER;
1180 | static int hf_SAPDIAG_SUPPORT_BIT_TC_KEEP_SCROLL_POSITION;
1181 | static int hf_SAPDIAG_SUPPORT_BIT_MESSAGE_SERVICE_REQUEST;
1182 | static int hf_SAPDIAG_SUPPORT_BIT_DYNT_FOCUS_FRAME;
1183 | static int hf_SAPDIAG_SUPPORT_BIT_MAX_STRING_LEN;
1184 | static int hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_1;
1185 | static int hf_SAPDIAG_SUPPORT_BIT_STD_TOOLBAR_ITEMS;
1186 | static int hf_SAPDIAG_SUPPORT_BIT_XMLPROP_LIST_DYNPRO;
1187 | static int hf_SAPDIAG_SUPPORT_BIT_TRACE_GUI_CONNECT;
1188 | static int hf_SAPDIAG_SUPPORT_BIT_LIST_FULLWIDTH;
1189 | static int hf_SAPDIAG_SUPPORT_BIT_ALLWAYS_SEND_CLIENT;
1190 | static int hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_3;
1191 | static int hf_SAPDIAG_SUPPORT_BIT_GUI_SIGNATURE_COLOR;
1192 | static int hf_SAPDIAG_SUPPORT_BIT_MAX_WSIZE;
1193 | static int hf_SAPDIAG_SUPPORT_BIT_SAP_PERSONAS;
1194 | static int hf_SAPDIAG_SUPPORT_BIT_IDA_ALV;
1195 | static int hf_SAPDIAG_SUPPORT_BIT_IDA_ALV_FRAGMENTS;
1196 | static int hf_SAPDIAG_SUPPORT_BIT_AMC;
1197 | static int hf_SAPDIAG_SUPPORT_BIT_EXTMODE_FONT_METRIC;
1198 | static int hf_SAPDIAG_SUPPORT_BIT_GROUPBOX;
1199 | static int hf_SAPDIAG_SUPPORT_BIT_AGI_ID_TS_BUTTON;
1200 | static int hf_SAPDIAG_SUPPORT_BIT_NO_FOCUS_ON_LIST;
1201 | static int hf_SAPDIAG_SUPPORT_BIT_FIORI_MODE;
1202 | static int hf_SAPDIAG_SUPPORT_BIT_CONNECT_CHECK_DONE;
1203 | static int hf_SAPDIAG_SUPPORT_BIT_MSGINFO_WITH_CODEPAGE;
1204 | static int hf_SAPDIAG_SUPPORT_BIT_AGI_ID;
1205 | static int hf_SAPDIAG_SUPPORT_BIT_AGI_ID_TC;
1206 | static int hf_SAPDIAG_SUPPORT_BIT_FIORI_TOOLBARS;
1207 | static int hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_ENFORCE;
1208 | static int hf_SAPDIAG_SUPPORT_BIT_MESDUMMY_FLAGS_2_3;
1209 | static int hf_SAPDIAG_SUPPORT_BIT_NWBC;
1210 | static int hf_SAPDIAG_SUPPORT_BIT_CONTAINER_LIST;
1211 | static int hf_SAPDIAG_SUPPORT_BIT_GUI_SYSTEM_COLOR;
1212 | static int hf_SAPDIAG_SUPPORT_BIT_GROUPBOX_WITHOUT_BOTTOMLINE;
1213 |
1214 | static int ett_sapdiag;
1215 |
1216 | /* Expert info */
1217 | static expert_field ei_sapdiag_item_unknown;
1218 | static expert_field ei_sapdiag_item_partial;
1219 | static expert_field ei_sapdiag_item_unknown_length;
1220 | static expert_field ei_sapdiag_item_offset_invalid;
1221 | static expert_field ei_sapdiag_item_length_invalid;
1222 | static expert_field ei_sapdiag_atom_item_unknown;
1223 | static expert_field ei_sapdiag_atom_item_partial;
1224 | static expert_field ei_sapdiag_atom_item_malformed;
1225 | static expert_field ei_sapdiag_dynt_focus_more_cont_ids;
1226 | static expert_field ei_sapdiag_password_field;
1227 | static expert_field ei_sapdiag_invalid_decompression;
1228 | static expert_field ei_sapdiag_invalid_decompress_length;
1229 |
1230 | /* Global decompress preference */
1231 | static bool_Bool global_sapdiag_decompress = true1;
1232 | static unsigned global_sapdiag_max_uncompressed_size = SAPDIAG_DEFAULT_MAX_UNCOMPRESSED_SIZE(16U * 1024U * 1024U);
1233 |
1234 | /* Global RFC dissection preference */
1235 | static bool_Bool global_sapdiag_rfc_dissection = true1;
1236 |
1237 | /* Global SNC dissection preference */
1238 | static bool_Bool global_sapdiag_snc_dissection = true1;
1239 |
1240 | /* Global port preference */
1241 | static range_t *global_sapdiag_port_range;
1242 |
1243 | /* Global highlight preference */
1244 | static bool_Bool global_sapdiag_highlight_items = true1;
1245 |
1246 | /* Protocol handle */
1247 | static dissector_handle_t sapdiag_handle;
1248 |
1249 | void proto_register_sapdiag(void);
1250 | void proto_reg_handoff_sapdiag(void);
1251 |
1252 | static int * const sapdiag_dp_req_info_0x08_flags[] = {
1253 | &hf_sapdiag_dp_req_info_LOGIN,
1254 | &hf_sapdiag_dp_req_info_LOGOFF,
1255 | &hf_sapdiag_dp_req_info_SHUTDOWN,
1256 | &hf_sapdiag_dp_req_info_GRAPHIC_TM,
1257 | &hf_sapdiag_dp_req_info_ALPHA_TM,
1258 | &hf_sapdiag_dp_req_info_ERROR_FROM_APPC,
1259 | &hf_sapdiag_dp_req_info_CANCELMODE,
1260 | &hf_sapdiag_dp_req_info_MSG_WITH_REQ_BUF,
1261 | NULL((void*)0)
1262 | };
1263 |
1264 | static int * const sapdiag_dp_req_info_0x09_flags[] = {
1265 | &hf_sapdiag_dp_req_info_MSG_WITH_OH,
1266 | &hf_sapdiag_dp_req_info_BUFFER_REFRESH,
1267 | &hf_sapdiag_dp_req_info_BTC_SCHEDULER,
1268 | &hf_sapdiag_dp_req_info_APPC_SERVER_DOWN,
1269 | &hf_sapdiag_dp_req_info_MS_ERROR,
1270 | &hf_sapdiag_dp_req_info_SET_SYSTEM_USER,
1271 | &hf_sapdiag_dp_req_info_DP_CANT_HANDLE_REQ,
1272 | &hf_sapdiag_dp_req_info_DP_AUTO_ABAP,
1273 | NULL((void*)0)
1274 | };
1275 |
1276 | static int * const sapdiag_dp_req_info_0x0a_flags[] = {
1277 | &hf_sapdiag_dp_req_info_DP_APPL_SERV_INFO,
1278 | &hf_sapdiag_dp_req_info_DP_ADMIN,
1279 | &hf_sapdiag_dp_req_info_DP_SPOOL_ALRM,
1280 | &hf_sapdiag_dp_req_info_DP_HAND_SHAKE,
1281 | &hf_sapdiag_dp_req_info_DP_CANCEL_PRIV,
1282 | &hf_sapdiag_dp_req_info_DP_RAISE_TIMEOUT,
1283 | &hf_sapdiag_dp_req_info_DP_NEW_MODE,
1284 | &hf_sapdiag_dp_req_info_DP_SOFT_CANCEL,
1285 | NULL((void*)0)
1286 | };
1287 |
1288 | static int * const sapdiag_dp_req_info_0x0b_flags[] = {
1289 | &hf_sapdiag_dp_req_info_DP_TM_INPUT,
1290 | &hf_sapdiag_dp_req_info_DP_TM_OUTPUT,
1291 | &hf_sapdiag_dp_req_info_DP_ASYNC_RFC,
1292 | &hf_sapdiag_dp_req_info_DP_ICM_EVENT,
1293 | &hf_sapdiag_dp_req_info_DP_AUTO_TH,
1294 | &hf_sapdiag_dp_req_info_DP_RFC_CANCEL,
1295 | &hf_sapdiag_dp_req_info_DP_MS_ADM,
1296 | NULL((void*)0)
1297 | };
1298 |
1299 | static int * const sapdiag_support_bits_0_7_fields[] = {
1300 | &hf_SAPDIAG_SUPPORT_BIT_PROGRESS_INDICATOR,
1301 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_LABELS,
1302 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_DIAGVERSION,
1303 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_SELECT_RECT,
1304 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_SYMBOL_RIGHT,
1305 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_FONT_METRIC,
1306 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_COMPR_ENHANCED,
1307 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_IMODE,
1308 | NULL((void*)0)
1309 | };
1310 |
1311 | static int * const sapdiag_support_bits_8_15_fields[] = {
1312 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_LONG_MESSAGE,
1313 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_TABLE,
1314 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_FOCUS_1,
1315 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_PUSHBUTTON_1,
1316 | &hf_SAPDIAG_SUPPORT_BIT_UPPERCASE,
1317 | &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_TABPROPERTY,
1318 | &hf_SAPDIAG_SUPPORT_BIT_INPUT_UPPERCASE,
1319 | &hf_SAPDIAG_SUPPORT_BIT_RFC_DIALOG,
1320 | NULL((void*)0)
1321 | };
1322 |
1323 | static int * const sapdiag_support_bits_16_23_fields[] = {
1324 | &hf_SAPDIAG_SUPPORT_BIT_LIST_HOTSPOT,
1325 | &hf_SAPDIAG_SUPPORT_BIT_FKEY_TABLE,
1326 | &hf_SAPDIAG_SUPPORT_BIT_MENU_SHORTCUT,
1327 | &hf_SAPDIAG_SUPPORT_BIT_STOP_TRANS,
1328 | &hf_SAPDIAG_SUPPORT_BIT_FULL_MENU,
1329 | &hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES,
1330 | &hf_SAPDIAG_SUPPORT_BIT_CONTAINER_TYPE,
1331 | &hf_SAPDIAG_SUPPORT_BIT_DLGH_FLAGS,
1332 | NULL((void*)0)
1333 | };
1334 |
1335 | static int * const sapdiag_support_bits_24_31_fields[] = {
1336 | &hf_SAPDIAG_SUPPORT_BIT_APPL_MNU,
1337 | &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO,
1338 | &hf_SAPDIAG_SUPPORT_BIT_MESDUM_FLAG1,
1339 | &hf_SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB,
1340 | &hf_SAPDIAG_SUPPORT_BIT_GUIAPI,
1341 | &hf_SAPDIAG_SUPPORT_BIT_NOGRAPH,
1342 | &hf_SAPDIAG_SUPPORT_BIT_NOMESSAGES,
1343 | &hf_SAPDIAG_SUPPORT_BIT_NORABAX,
1344 | NULL((void*)0)
1345 | };
1346 |
1347 | static int * const sapdiag_support_bits_32_39_fields[] = {
1348 | &hf_SAPDIAG_SUPPORT_BIT_NOSYSMSG,
1349 | &hf_SAPDIAG_SUPPORT_BIT_NOSAPSCRIPT,
1350 | &hf_SAPDIAG_SUPPORT_BIT_NORFC,
1351 | &hf_SAPDIAG_SUPPORT_BIT_NEW_BSD_JUSTRIGHT,
1352 | &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_VARS,
1353 | &hf_SAPDIAG_SUPPORT_BIT_OCX_SUPPORT,
1354 | &hf_SAPDIAG_SUPPORT_BIT_SCROLL_INFOS,
1355 | &hf_SAPDIAG_SUPPORT_BIT_TABLE_SIZE_OK,
1356 | NULL((void*)0)
1357 | };
1358 |
1359 | static int * const sapdiag_support_bits_40_47_fields[] = {
1360 | &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO2,
1361 | &hf_SAPDIAG_SUPPORT_BIT_VARINFO_OKCODE,
1362 | &hf_SAPDIAG_SUPPORT_BIT_CURR_TCODE,
1363 | &hf_SAPDIAG_SUPPORT_BIT_CONN_WSIZE,
1364 | &hf_SAPDIAG_SUPPORT_BIT_PUSHBUTTON_2,
1365 | &hf_SAPDIAG_SUPPORT_BIT_TABSTRIP,
1366 | &hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_1,
1367 | &hf_SAPDIAG_SUPPORT_BIT_TABSCROLL_INFOS,
1368 | NULL((void*)0)
1369 | };
1370 |
1371 | static int * const sapdiag_support_bits_48_55_fields[] = {
1372 | &hf_SAPDIAG_SUPPORT_BIT_TABLE_FIELD_NAMES,
1373 | &hf_SAPDIAG_SUPPORT_BIT_NEW_MODE_REQUEST,
1374 | &hf_SAPDIAG_SUPPORT_BIT_RFCBLOB_DIAG_PARSER,
1375 | &hf_SAPDIAG_SUPPORT_BIT_MULTI_LOGIN_USER,
1376 | &hf_SAPDIAG_SUPPORT_BIT_CONTROL_CONTAINER,
1377 | &hf_SAPDIAG_SUPPORT_BIT_APPTOOLBAR_FIXED,
1378 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_USER_CHECKED,
1379 | &hf_SAPDIAG_SUPPORT_BIT_NEED_STDDYNPRO,
1380 | NULL((void*)0)
1381 | };
1382 |
1383 | static int * const sapdiag_support_bits_56_63_fields[] = {
1384 | &hf_SAPDIAG_SUPPORT_BIT_TYPE_SERVER,
1385 | &hf_SAPDIAG_SUPPORT_BIT_COMBOBOX,
1386 | &hf_SAPDIAG_SUPPORT_BIT_INPUT_REQUIRED,
1387 | &hf_SAPDIAG_SUPPORT_BIT_ISO_LANGUAGE,
1388 | &hf_SAPDIAG_SUPPORT_BIT_COMBOBOX_TABLE,
1389 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS,
1390 | &hf_SAPDIAG_SUPPORT_BIT_CHECKRADIO_EVENTS,
1391 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_USERID,
1392 | NULL((void*)0)
1393 | };
1394 |
1395 | static int * const sapdiag_support_bits_64_71_fields[] = {
1396 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_ROLLCOUNT,
1397 | &hf_SAPDIAG_SUPPORT_BIT_USER_TURNTIME2,
1398 | &hf_SAPDIAG_SUPPORT_BIT_NUM_FIELD,
1399 | &hf_SAPDIAG_SUPPORT_BIT_WIN16,
1400 | &hf_SAPDIAG_SUPPORT_BIT_CONTEXT_MENU,
1401 | &hf_SAPDIAG_SUPPORT_BIT_SCROLLABLE_TABSTRIP_PAGE,
1402 | &hf_SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION,
1403 | &hf_SAPDIAG_SUPPORT_BIT_LABEL_OWNER,
1404 | NULL((void*)0)
1405 | };
1406 |
1407 | static int * const sapdiag_support_bits_72_79_fields[] = {
1408 | &hf_SAPDIAG_SUPPORT_BIT_CLICKABLE_FIELD,
1409 | &hf_SAPDIAG_SUPPORT_BIT_PROPERTY_BAG,
1410 | &hf_SAPDIAG_SUPPORT_BIT_UNUSED_1,
1411 | &hf_SAPDIAG_SUPPORT_BIT_TABLE_ROW_REFERENCES_2,
1412 | &hf_SAPDIAG_SUPPORT_BIT_PROPFONT_VALID,
1413 | &hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER,
1414 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_IMODEUUID,
1415 | &hf_SAPDIAG_SUPPORT_BIT_NOTGUI,
1416 | NULL((void*)0)
1417 | };
1418 |
1419 | static int * const sapdiag_support_bits_80_87_fields[] = {
1420 | &hf_SAPDIAG_SUPPORT_BIT_WAN,
1421 | &hf_SAPDIAG_SUPPORT_BIT_XML_BLOBS,
1422 | &hf_SAPDIAG_SUPPORT_BIT_RFC_QUEUE,
1423 | &hf_SAPDIAG_SUPPORT_BIT_RFC_COMPRESS,
1424 | &hf_SAPDIAG_SUPPORT_BIT_JAVA_BEANS,
1425 | &hf_SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND,
1426 | &hf_SAPDIAG_SUPPORT_BIT_CTL_PROPCACHE,
1427 | &hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID,
1428 | NULL((void*)0)
1429 | };
1430 |
1431 | static int * const sapdiag_support_bits_88_95_fields[] = {
1432 | &hf_SAPDIAG_SUPPORT_BIT_RFC_ASYNC_BLOB,
1433 | &hf_SAPDIAG_SUPPORT_BIT_KEEP_SCROLLPOS,
1434 | &hf_SAPDIAG_SUPPORT_BIT_UNUSED_2,
1435 | &hf_SAPDIAG_SUPPORT_BIT_UNUSED_3,
1436 | &hf_SAPDIAG_SUPPORT_BIT_XML_PROPERTIES,
1437 | &hf_SAPDIAG_SUPPORT_BIT_UNUSED_4,
1438 | &hf_SAPDIAG_SUPPORT_BIT_HEX_FIELD,
1439 | &hf_SAPDIAG_SUPPORT_BIT_HAS_CACHE,
1440 | NULL((void*)0)
1441 | };
1442 |
1443 | static int * const sapdiag_support_bits_96_103_fields[] = {
1444 | &hf_SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE,
1445 | &hf_SAPDIAG_SUPPORT_BIT_UNUSED_5,
1446 | &hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID2,
1447 | &hf_SAPDIAG_SUPPORT_BIT_ITS,
1448 | &hf_SAPDIAG_SUPPORT_BIT_NO_EASYACCESS,
1449 | &hf_SAPDIAG_SUPPORT_BIT_PROPERTYPUMP,
1450 | &hf_SAPDIAG_SUPPORT_BIT_COOKIE,
1451 | &hf_SAPDIAG_SUPPORT_BIT_UNUSED_6,
1452 | NULL((void*)0)
1453 | };
1454 |
1455 | static int * const sapdiag_support_bits_104_111_fields[] = {
1456 | &hf_SAPDIAG_SUPPORT_BIT_SUPPBIT_AREA_SIZE,
1457 | &hf_SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND_WRITE,
1458 | &hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS,
1459 | &hf_SAPDIAG_SUPPORT_BIT_ENTRY_HISTORY,
1460 | &hf_SAPDIAG_SUPPORT_BIT_AUTO_CODEPAGE,
1461 | &hf_SAPDIAG_SUPPORT_BIT_CACHED_VSETS,
1462 | &hf_SAPDIAG_SUPPORT_BIT_EMERGENCY_REPAIR,
1463 | &hf_SAPDIAG_SUPPORT_BIT_AREA2FRONT,
1464 | NULL((void*)0)
1465 | };
1466 |
1467 | static int * const sapdiag_support_bits_112_119_fields[] = {
1468 | &hf_SAPDIAG_SUPPORT_BIT_SCROLLBAR_WIDTH,
1469 | &hf_SAPDIAG_SUPPORT_BIT_AUTORESIZE,
1470 | &hf_SAPDIAG_SUPPORT_BIT_EDIT_VARLEN,
1471 | &hf_SAPDIAG_SUPPORT_BIT_WORKPLACE,
1472 | &hf_SAPDIAG_SUPPORT_BIT_PRINTDATA,
1473 | &hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_2,
1474 | &hf_SAPDIAG_SUPPORT_BIT_SINGLE_SESSION,
1475 | &hf_SAPDIAG_SUPPORT_BIT_NOTIFY_NEWMODE,
1476 | NULL((void*)0)
1477 | };
1478 |
1479 | static int * const sapdiag_support_bits_120_127_fields[] = {
1480 | &hf_SAPDIAG_SUPPORT_BIT_TOOLBAR_HEIGHT,
1481 | &hf_SAPDIAG_SUPPORT_BIT_XMLPROP_CONTAINER,
1482 | &hf_SAPDIAG_SUPPORT_BIT_XMLPROP_DYNPRO,
1483 | &hf_SAPDIAG_SUPPORT_BIT_DP_HTTP_PUT,
1484 | &hf_SAPDIAG_SUPPORT_BIT_DYNAMIC_PASSPORT,
1485 | &hf_SAPDIAG_SUPPORT_BIT_WEBGUI,
1486 | &hf_SAPDIAG_SUPPORT_BIT_WEBGUI_HELPMODE,
1487 | &hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST,
1488 | NULL((void*)0)
1489 | };
1490 |
1491 | static int * const sapdiag_support_bits_128_135_fields[] = {
1492 | &hf_SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_2,
1493 | &hf_SAPDIAG_SUPPORT_BIT_EOKDUMMY_1,
1494 | &hf_SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING,
1495 | &hf_SAPDIAG_SUPPORT_BIT_SLC,
1496 | &hf_SAPDIAG_SUPPORT_BIT_ACCESSIBILITY,
1497 | &hf_SAPDIAG_SUPPORT_BIT_ECATT,
1498 | &hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID3,
1499 | &hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF8,
1500 | NULL((void*)0)
1501 | };
1502 |
1503 | static int * const sapdiag_support_bits_136_143_fields[] = {
1504 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_AUTOLOGOUT_TIME,
1505 | &hf_SAPDIAG_SUPPORT_BIT_VARINFO_ICON_TITLE_LIST,
1506 | &hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF16BE,
1507 | &hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF16LE,
1508 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP,
1509 | &hf_SAPDIAG_SUPPORT_BIT_ENABLE_APPL4,
1510 | &hf_SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL,
1511 | &hf_SAPDIAG_SUPPORT_BIT_CBURBU_NEW_STATE,
1512 | NULL((void*)0)
1513 | };
1514 |
1515 | static int * const sapdiag_support_bits_144_151_fields[] = {
1516 | &hf_SAPDIAG_SUPPORT_BIT_BINARY_EVENTID,
1517 | &hf_SAPDIAG_SUPPORT_BIT_GUI_THEME,
1518 | &hf_SAPDIAG_SUPPORT_BIT_TOP_WINDOW,
1519 | &hf_SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION_1,
1520 | &hf_SAPDIAG_SUPPORT_BIT_SPLITTER,
1521 | &hf_SAPDIAG_SUPPORT_BIT_VALUE_4_HISTORY,
1522 | &hf_SAPDIAG_SUPPORT_BIT_ACC_LIST,
1523 | &hf_SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING_INFO,
1524 | NULL((void*)0)
1525 | };
1526 |
1527 | static int * const sapdiag_support_bits_152_159_fields[] = {
1528 | &hf_SAPDIAG_SUPPORT_BIT_TEXTEDIT_STREAM,
1529 | &hf_SAPDIAG_SUPPORT_BIT_DYNT_NOFOCUS,
1530 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP_1,
1531 | &hf_SAPDIAG_SUPPORT_BIT_FRAME_1,
1532 | &hf_SAPDIAG_SUPPORT_BIT_TICKET4GUI,
1533 | &hf_SAPDIAG_SUPPORT_BIT_ACC_LIST_PROPS,
1534 | &hf_SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB_INPUT,
1535 | &hf_SAPDIAG_SUPPORT_BIT_DEFAULT_TOOLTIP,
1536 | NULL((void*)0)
1537 | };
1538 |
1539 | static int * const sapdiag_support_bits_160_167_fields[] = {
1540 | &hf_SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE_2,
1541 | &hf_SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_3,
1542 | &hf_SAPDIAG_SUPPORT_BIT_CELLINFO,
1543 | &hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST_2,
1544 | &hf_SAPDIAG_SUPPORT_BIT_TABLE_COLUMNWIDTH_INPUT,
1545 | &hf_SAPDIAG_SUPPORT_BIT_ITS_PLUGIN,
1546 | &hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_4_LOGIN_PROCESS,
1547 | &hf_SAPDIAG_SUPPORT_BIT_RFC_SERVER_4_GUI,
1548 | NULL((void*)0)
1549 | };
1550 |
1551 | static int * const sapdiag_support_bits_168_175_fields[] = {
1552 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS_2,
1553 | &hf_SAPDIAG_SUPPORT_BIT_RCUI,
1554 | &hf_SAPDIAG_SUPPORT_BIT_MENUENTRY_WITH_FCODE,
1555 | &hf_SAPDIAG_SUPPORT_BIT_WEBSAPCONSOLE,
1556 | &hf_SAPDIAG_SUPPORT_BIT_R3INFO_KERNEL_VERSION,
1557 | &hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_LOOP,
1558 | &hf_SAPDIAG_SUPPORT_BIT_EOKDUMMY_2,
1559 | &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO3,
1560 | NULL((void*)0)
1561 | };
1562 |
1563 | static int * const sapdiag_support_bits_176_183_fields[] = {
1564 | &hf_SAPDIAG_SUPPORT_BIT_SBA2,
1565 | &hf_SAPDIAG_SUPPORT_BIT_MAINAREA_SIZE,
1566 | &hf_SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL_2,
1567 | &hf_SAPDIAG_SUPPORT_BIT_DISPLAY_SIZE,
1568 | &hf_SAPDIAG_SUPPORT_BIT_GUI_PACKET,
1569 | &hf_SAPDIAG_SUPPORT_BIT_DIALOG_STEP_NUMBER,
1570 | &hf_SAPDIAG_SUPPORT_BIT_TC_KEEP_SCROLL_POSITION,
1571 | &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_SERVICE_REQUEST,
1572 | NULL((void*)0)
1573 | };
1574 |
1575 | static int * const sapdiag_support_bits_184_191_fields[] = {
1576 | &hf_SAPDIAG_SUPPORT_BIT_DYNT_FOCUS_FRAME,
1577 | &hf_SAPDIAG_SUPPORT_BIT_MAX_STRING_LEN,
1578 | &hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_1,
1579 | &hf_SAPDIAG_SUPPORT_BIT_STD_TOOLBAR_ITEMS,
1580 | &hf_SAPDIAG_SUPPORT_BIT_XMLPROP_LIST_DYNPRO,
1581 | &hf_SAPDIAG_SUPPORT_BIT_TRACE_GUI_CONNECT,
1582 | &hf_SAPDIAG_SUPPORT_BIT_LIST_FULLWIDTH,
1583 | &hf_SAPDIAG_SUPPORT_BIT_ALLWAYS_SEND_CLIENT,
1584 | NULL((void*)0)
1585 | };
1586 |
1587 | static int * const sapdiag_support_bits_192_199_fields[] = {
1588 | &hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_3,
1589 | &hf_SAPDIAG_SUPPORT_BIT_GUI_SIGNATURE_COLOR,
1590 | &hf_SAPDIAG_SUPPORT_BIT_MAX_WSIZE,
1591 | &hf_SAPDIAG_SUPPORT_BIT_SAP_PERSONAS,
1592 | &hf_SAPDIAG_SUPPORT_BIT_IDA_ALV,
1593 | &hf_SAPDIAG_SUPPORT_BIT_IDA_ALV_FRAGMENTS,
1594 | &hf_SAPDIAG_SUPPORT_BIT_AMC,
1595 | &hf_SAPDIAG_SUPPORT_BIT_EXTMODE_FONT_METRIC,
1596 | NULL((void*)0)
1597 | };
1598 |
1599 | static int * const sapdiag_support_bits_200_207_fields[] = {
1600 | &hf_SAPDIAG_SUPPORT_BIT_GROUPBOX,
1601 | &hf_SAPDIAG_SUPPORT_BIT_AGI_ID_TS_BUTTON,
1602 | &hf_SAPDIAG_SUPPORT_BIT_NO_FOCUS_ON_LIST,
1603 | &hf_SAPDIAG_SUPPORT_BIT_FIORI_MODE,
1604 | &hf_SAPDIAG_SUPPORT_BIT_CONNECT_CHECK_DONE,
1605 | &hf_SAPDIAG_SUPPORT_BIT_MSGINFO_WITH_CODEPAGE,
1606 | &hf_SAPDIAG_SUPPORT_BIT_AGI_ID,
1607 | &hf_SAPDIAG_SUPPORT_BIT_AGI_ID_TC,
1608 | NULL((void*)0)
1609 | };
1610 |
1611 | static int * const sapdiag_support_bits_208_214_fields[] = {
1612 | &hf_SAPDIAG_SUPPORT_BIT_FIORI_TOOLBARS,
1613 | &hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_ENFORCE,
1614 | &hf_SAPDIAG_SUPPORT_BIT_MESDUMMY_FLAGS_2_3,
1615 | &hf_SAPDIAG_SUPPORT_BIT_NWBC,
1616 | &hf_SAPDIAG_SUPPORT_BIT_CONTAINER_LIST,
1617 | &hf_SAPDIAG_SUPPORT_BIT_GUI_SYSTEM_COLOR,
1618 | &hf_SAPDIAG_SUPPORT_BIT_GROUPBOX_WITHOUT_BOTTOMLINE,
1619 | NULL((void*)0)
1620 | };
1621 |
1622 | static int * const sapdiag_dynt_atom_item_attr_fields[] = {
1623 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_PROTECTED,
1624 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_INVISIBLE,
1625 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_INTENSIFY,
1626 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_JUSTRIGHT,
1627 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_MATCHCODE,
1628 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_PROPFONT,
1629 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_YES3D,
1630 | &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_COMBOSTYLE,
1631 | NULL((void*)0)
1632 | };
1633 |
1634 | static int * const sapdiag_ui_event_valid_fields[] = {
1635 | &hf_sapdiag_item_ui_event_valid_MENU_POS,
1636 | &hf_sapdiag_item_ui_event_valid_CONTROL_POS,
1637 | &hf_sapdiag_item_ui_event_valid_NAVIGATION_DATA,
1638 | &hf_sapdiag_item_ui_event_valid_FUNCTIONKEY_DATA,
1639 | NULL((void*)0)
1640 | };
1641 |
1642 | static int * const sapdiag_com_flag_fields[] = {
1643 | &hf_sapdiag_com_flag_TERM_EOS,
1644 | &hf_sapdiag_com_flag_TERM_EOC,
1645 | &hf_sapdiag_com_flag_TERM_NOP,
1646 | &hf_sapdiag_com_flag_TERM_EOP,
1647 | &hf_sapdiag_com_flag_TERM_INI,
1648 | &hf_sapdiag_com_flag_TERM_CAS,
1649 | &hf_sapdiag_com_flag_TERM_NNM,
1650 | &hf_sapdiag_com_flag_TERM_GRA,
1651 | NULL((void*)0)
1652 | };
1653 |
1654 |
1655 |
1656 | static void
1657 | dissect_sapdiag_dp_req_info(tvbuff_t *tvb, proto_tree *tree, uint32_t offset){
1658 | proto_item *ri = NULL((void*)0);
1659 | proto_tree *req_info_tree;
1660 |
1661 | ri = proto_tree_add_item(tree, hf_sapdiag_dp_req_info, tvb, offset, 4, ENC_BIG_ENDIAN0x00000000);
1662 | req_info_tree = proto_item_add_subtree(ri, ett_sapdiag);
1663 | proto_tree_add_bitmask(req_info_tree, tvb, offset,
1664 | hf_sapdiag_dp_req_info_byte, ett_sapdiag, sapdiag_dp_req_info_0x08_flags, ENC_BIG_ENDIAN0x00000000); /* 0x08 */
1665 | offset++;
1666 |
1667 | proto_tree_add_bitmask(req_info_tree, tvb, offset,
1668 | hf_sapdiag_dp_req_info_byte, ett_sapdiag, sapdiag_dp_req_info_0x09_flags, ENC_BIG_ENDIAN0x00000000); /* 0x09 */
1669 | offset++;
1670 |
1671 | proto_tree_add_bitmask(req_info_tree, tvb, offset,
1672 | hf_sapdiag_dp_req_info_byte, ett_sapdiag, sapdiag_dp_req_info_0x0a_flags, ENC_BIG_ENDIAN0x00000000); /* 0x0a */
1673 | offset++;
1674 |
1675 | proto_tree_add_bitmask(req_info_tree, tvb, offset,
1676 | hf_sapdiag_dp_req_info_byte, ett_sapdiag, sapdiag_dp_req_info_0x0b_flags, ENC_BIG_ENDIAN0x00000000); /* 0x0b */
1677 | }
1678 |
1679 | static void
1680 | dissect_sapdiag_dp(tvbuff_t *tvb, proto_tree *tree, uint32_t offset){
1681 | proto_item *dp = NULL((void*)0);
1682 | proto_tree *dp_tree;
1683 |
1684 | dp = proto_tree_add_item(tree, hf_sapdiag_dp, tvb, offset, 200, ENC_NA0x00000000);
1685 | dp_tree = proto_item_add_subtree(dp, ett_sapdiag);
1686 |
1687 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_request_id, tvb, offset, 4, ENC_BIG_ENDIAN0x00000000); /* 0x00 */
1688 | offset+=4;
1689 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_retcode, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000); /* 0x04 */
1690 | offset++;
1691 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_sender_id, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000); /* 0x05 */
1692 | offset++;
1693 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_action_type, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000); /* 0x06 */
1694 | offset++;
1695 | dissect_sapdiag_dp_req_info(tvb, dp_tree, offset); /* Request info flags */ /* 0x07 */
1696 | offset+=4;
1697 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_tid, tvb, offset, 4, ENC_BIG_ENDIAN0x00000000); /* 0x0b */
1698 | offset+=4;
1699 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_uid, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000); /* 0x0f */
1700 | offset+=2;
1701 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_mode, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000); /* 0x11 */
1702 | offset++;
1703 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_wp_id, tvb, offset, 4, ENC_BIG_ENDIAN0x00000000); /* 0x12 */
1704 | offset+=4;
1705 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_wp_ca_blk, tvb, offset, 4, ENC_BIG_ENDIAN0x00000000); /* 0x16 */
1706 | offset+=4;
1707 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_appc_ca_blk, tvb, offset, 4, ENC_BIG_ENDIAN0x00000000); /* 0x1a */
1708 | offset+=4;
1709 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_len, tvb, offset, 4, ENC_LITTLE_ENDIAN0x80000000); /* 0x1e */
1710 | offset+=4;
1711 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_new_stat, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000); /* 0x22 */
1712 | offset++;
1713 | offset+=4; /* Unknown 4 bytes */ /* 0x23 */
1714 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_rq_id, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000); /* 0x27 */
1715 | offset+=2;
1716 | offset+=40; /* Unknown 40 bytes (0x20 * 40) */ /* 0x29 */
1717 | proto_tree_add_item(dp_tree, hf_sapdiag_dp_terminal, tvb, offset, 15, ENC_ASCII0x00000000); /* 0x51 */
1718 | }
1719 |
1720 | static void
1721 | dissect_sapdiag_support_bits(tvbuff_t *tvb, proto_tree *tree, uint32_t offset){
1722 |
1723 | proto_tree_add_bitmask(tree, tvb, offset,
1724 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_0_7_fields, ENC_BIG_ENDIAN0x00000000); /* 0-7 */
1725 | offset+=1;
1726 | proto_tree_add_bitmask(tree, tvb, offset,
1727 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_8_15_fields, ENC_BIG_ENDIAN0x00000000); /* 8-15 */
1728 | offset+=1;
1729 | proto_tree_add_bitmask(tree, tvb, offset,
1730 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_16_23_fields, ENC_BIG_ENDIAN0x00000000); /* 16-23 */
1731 | offset+=1;
1732 | proto_tree_add_bitmask(tree, tvb, offset,
1733 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_24_31_fields, ENC_BIG_ENDIAN0x00000000); /* 24-31 */
1734 | offset+=1;
1735 | proto_tree_add_bitmask(tree, tvb, offset,
1736 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_32_39_fields, ENC_BIG_ENDIAN0x00000000); /* 32-39 */
1737 | offset+=1;
1738 | proto_tree_add_bitmask(tree, tvb, offset,
1739 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_40_47_fields, ENC_BIG_ENDIAN0x00000000); /* 40-47 */
1740 | offset+=1;
1741 | proto_tree_add_bitmask(tree, tvb, offset,
1742 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_48_55_fields, ENC_BIG_ENDIAN0x00000000); /* 48-55 */
1743 | offset+=1;
1744 | proto_tree_add_bitmask(tree, tvb, offset,
1745 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_56_63_fields, ENC_BIG_ENDIAN0x00000000); /* 56-63 */
1746 | offset+=1;
1747 | proto_tree_add_bitmask(tree, tvb, offset,
1748 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_64_71_fields, ENC_BIG_ENDIAN0x00000000); /* 64-71 */
1749 | offset+=1;
1750 | proto_tree_add_bitmask(tree, tvb, offset,
1751 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_72_79_fields, ENC_BIG_ENDIAN0x00000000); /* 72-79 */
1752 | offset+=1;
1753 | proto_tree_add_bitmask(tree, tvb, offset,
1754 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_80_87_fields, ENC_BIG_ENDIAN0x00000000); /* 80-87 */
1755 | offset+=1;
1756 | proto_tree_add_bitmask(tree, tvb, offset,
1757 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_88_95_fields, ENC_BIG_ENDIAN0x00000000); /* 88-95 */
1758 | offset+=1;
1759 | proto_tree_add_bitmask(tree, tvb, offset,
1760 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_96_103_fields, ENC_BIG_ENDIAN0x00000000); /* 96-103 */
1761 | offset+=1;
1762 | proto_tree_add_bitmask(tree, tvb, offset,
1763 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_104_111_fields, ENC_BIG_ENDIAN0x00000000); /* 104-111 */
1764 | offset+=1;
1765 | proto_tree_add_bitmask(tree, tvb, offset,
1766 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_112_119_fields, ENC_BIG_ENDIAN0x00000000); /* 112-119 */
1767 | offset+=1;
1768 | proto_tree_add_bitmask(tree, tvb, offset,
1769 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_120_127_fields, ENC_BIG_ENDIAN0x00000000); /* 120-127 */
1770 | offset+=1;
1771 | proto_tree_add_bitmask(tree, tvb, offset,
1772 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_128_135_fields, ENC_BIG_ENDIAN0x00000000); /* 128-135 */
1773 | offset+=1;
1774 | proto_tree_add_bitmask(tree, tvb, offset,
1775 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_136_143_fields, ENC_BIG_ENDIAN0x00000000); /* 136-143 */
1776 | offset+=1;
1777 | proto_tree_add_bitmask(tree, tvb, offset,
1778 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_144_151_fields, ENC_BIG_ENDIAN0x00000000); /* 144-151 */
1779 | offset+=1;
1780 | proto_tree_add_bitmask(tree, tvb, offset,
1781 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_152_159_fields, ENC_BIG_ENDIAN0x00000000); /* 152-159 */
1782 | offset+=1;
1783 | proto_tree_add_bitmask(tree, tvb, offset,
1784 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_160_167_fields, ENC_BIG_ENDIAN0x00000000); /* 160-167 */
1785 | offset+=1;
1786 | proto_tree_add_bitmask(tree, tvb, offset,
1787 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_168_175_fields, ENC_BIG_ENDIAN0x00000000); /* 168-175 */
1788 | offset+=1;
1789 | proto_tree_add_bitmask(tree, tvb, offset,
1790 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_176_183_fields, ENC_BIG_ENDIAN0x00000000); /* 176-183 */
1791 | offset+=1;
1792 | proto_tree_add_bitmask(tree, tvb, offset,
1793 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_184_191_fields, ENC_BIG_ENDIAN0x00000000); /* 184-191 */
1794 | offset+=1;
1795 | proto_tree_add_bitmask(tree, tvb, offset,
1796 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_192_199_fields, ENC_BIG_ENDIAN0x00000000); /* 192-199 */
1797 | offset+=1;
1798 | proto_tree_add_bitmask(tree, tvb, offset,
1799 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_200_207_fields, ENC_BIG_ENDIAN0x00000000); /* 200-207 */
1800 | offset+=1;
1801 | proto_tree_add_bitmask(tree, tvb, offset,
1802 | hf_sapdiag_support_bits, ett_sapdiag, sapdiag_support_bits_208_214_fields, ENC_BIG_ENDIAN0x00000000); /* 208-214 */
1803 | }
1804 |
1805 | static void
1806 | dissect_sapdiag_rfc_call(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, uint32_t offset, uint32_t item_length){
1807 |
1808 | tvbuff_t *next_tvb = NULL((void*)0);
1809 | dissector_handle_t rfc_handle;
1810 |
1811 | /* Call the RFC internal dissector */
1812 | if (global_sapdiag_rfc_dissection){
1813 | rfc_handle = find_dissector("saprfcinternal");
1814 | if (rfc_handle){
1815 | /* Set the column to not writable so the RFC dissector doesn't override the Diag info */
1816 | col_set_writable(pinfo->cinfo, -1, false0);
1817 | /* Create a new tvb buffer and call the dissector */
1818 | next_tvb = tvb_new_subset_length(tvb, offset, item_length);
1819 | call_dissector(rfc_handle, next_tvb, pinfo, tree);
1820 | }
1821 | }
1822 |
1823 | }
1824 |
1825 |
1826 | static bool_Bool
1827 | check_length(packet_info *pinfo, proto_tree *tree, uint32_t expected, uint32_t real, const char *name_string){
1828 | if (expected != real){
1829 | expert_add_info_format(pinfo, tree, &ei_sapdiag_item_length_invalid, "Item %s length is invalid", name_string);
1830 | return false0;
1831 | } else return true1;
1832 | }
1833 |
1834 | static bool_Bool
1835 | check_min_length(packet_info *pinfo, proto_tree *tree, uint32_t minimum, uint32_t real, const char *name_string){
1836 | if (real < minimum){
1837 | expert_add_info_format(pinfo, tree, &ei_sapdiag_item_length_invalid, "Item %s length is invalid", name_string);
1838 | return false0;
1839 | } else return true1;
1840 | }
1841 |
1842 |
1843 | static uint8_t
1844 | add_item_value_uint8(tvbuff_t *tvb, proto_item *item, proto_tree *tree, int hf, uint32_t offset, const char *text){
1845 | proto_tree_add_none_format(tree, hf, tvb, offset, 1, "%s: %d", text, tvb_get_uint8(tvb, offset));
1846 | proto_item_append_text(item, ", %s=%d", text, tvb_get_uint8(tvb, offset));
1847 | return (tvb_get_uint8(tvb, offset));
1848 | }
1849 |
1850 |
1851 | static uint16_t
1852 | add_item_value_uint16(tvbuff_t *tvb, proto_item *item, proto_tree *tree, int hf, uint32_t offset, const char *text){
1853 | proto_tree_add_none_format(tree, hf, tvb, offset, 2, "%s: %d", text, tvb_get_ntohs(tvb, offset));
1854 | proto_item_append_text(item, ", %s=%d", text, tvb_get_ntohs(tvb, offset));
1855 | return (tvb_get_ntohs(tvb, offset));
1856 | }
1857 |
1858 |
1859 | static uint32_t
1860 | add_item_value_uint32(tvbuff_t *tvb, proto_item *item, proto_tree *tree, int hf, uint32_t offset, const char *text){
1861 | proto_tree_add_none_format(tree, hf, tvb, offset, 4, "%s: %d", text, tvb_get_ntohl(tvb, offset));
1862 | proto_item_append_text(item, ", %s=%d", text, tvb_get_ntohl(tvb, offset));
1863 | return (tvb_get_ntohl(tvb, offset));
1864 | }
1865 |
1866 |
1867 | static void
1868 | add_item_value_string(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, proto_tree *tree, int hf, uint32_t offset, uint32_t length, const char *text, int show_in_tree){
1869 | uint8_t *string = tvb_get_string_enc(pinfo->pool, tvb, offset, length, ENC_ASCII0x00000000);
1870 | proto_tree_add_none_format(tree, hf, tvb, offset, length, "%s: %s", text, string);
1871 | if (show_in_tree) proto_item_append_text(item, ", %s=%s", text, string);
1872 | }
1873 |
1874 |
1875 | static uint32_t
1876 | add_item_value_stringz(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, proto_tree *tree, int hf, uint32_t offset, const char *text, int show_in_tree){
1877 | unsigned int max_length = tvb_reported_length_remaining(tvb, offset);
1878 | int string_length;
1879 | uint32_t field_length;
1880 | uint8_t *string;
1881 |
1882 | if (max_length == 0) {
1883 | expert_add_info(pinfo, item, &ei_sapdiag_item_length_invalid);
1884 | return 0;
1885 | }
1886 |
1887 | string_length = tvb_strnlen(tvb, offset, max_length);
1888 | if (string_length < 0) {
1889 | string_length = field_length = max_length;
1890 | expert_add_info(pinfo, item, &ei_sapdiag_item_length_invalid);
1891 | } else {
1892 | field_length = (uint32_t)string_length + 1;
1893 | }
1894 |
1895 | string = tvb_get_string_enc(pinfo->pool, tvb, offset, string_length, ENC_ASCII0x00000000);
1896 | proto_tree_add_none_format(tree, hf, tvb, offset, field_length, "%s: %s", text, string);
1897 | if (show_in_tree) proto_item_append_text(item, ", %s=%s", text, string);
1898 | return field_length;
1899 | }
1900 |
1901 |
1902 | static uint32_t
1903 | add_item_value_stringz_bounded(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, proto_tree *tree, int hf, uint32_t offset, uint32_t max_length, const char *text, int show_in_tree, bool_Bool *terminated){
1904 | int string_length;
1905 | uint32_t field_length;
1906 | uint8_t *string;
1907 |
1908 | if (max_length == 0) {
1909 | *terminated = false0;
1910 | return 0;
1911 | }
1912 |
1913 | string_length = tvb_strnlen(tvb, offset, max_length);
1914 | if (string_length < 0) {
1915 | string_length = (int)max_length;
1916 | field_length = max_length;
1917 | *terminated = false0;
1918 | } else {
1919 | field_length = (uint32_t)string_length + 1;
1920 | *terminated = true1;
1921 | }
1922 |
1923 | string = tvb_get_string_enc(pinfo->pool, tvb, offset, string_length, ENC_ASCII0x00000000);
1924 | proto_tree_add_none_format(tree, hf, tvb, offset, field_length, "%s: %s", text, string);
1925 | if (show_in_tree) proto_item_append_text(item, ", %s=%s", text, string);
1926 | return field_length;
1927 | }
1928 |
1929 |
1930 | static void
1931 | add_item_value_hexstring(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, proto_tree *tree, int hf, uint32_t offset, uint32_t length, const char *text){
1932 | proto_tree_add_none_format(tree, hf, tvb, offset, length, "%s: %s", text, tvb_bytes_to_str(pinfo->pool, tvb, offset, length));
1933 | proto_item_append_text(item, ", %s=%s", text, tvb_bytes_to_str(pinfo->pool, tvb, offset, length));
1934 | }
1935 |
1936 |
1937 | static void
1938 | dissect_sapdiag_dyntatom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, uint32_t offset, uint32_t length){
1939 | uint32_t final = offset + length;
1940 | uint32_t atom_length = 0, atom_item_length = 0, atom_item_end = 0;
1941 | uint8_t etype = 0, attr = 0;
1942 | bool_Bool terminated;
1943 |
1944 | proto_item *atom = NULL((void*)0), *atom_item = NULL((void*)0);
1945 | proto_tree *atom_tree = NULL((void*)0), *atom_item_tree = NULL((void*)0);
1946 |
1947 | while (offset < final){
1948 | if (final - offset < SAPDIAG_DYNT_ATOM_HEADER_LEN13) {
1949 | expert_add_info(pinfo, tree, &ei_sapdiag_atom_item_malformed);
1950 | break;
1951 | }
1952 |
1953 | atom_item_length = tvb_get_ntohs(tvb, offset);
1954 | if (atom_item_length < SAPDIAG_DYNT_ATOM_HEADER_LEN13 || atom_item_length > final - offset) {
1955 | expert_add_info(pinfo, tree, &ei_sapdiag_atom_item_malformed);
1956 | break;
1957 | }
1958 | atom_item_end = offset + atom_item_length;
1959 |
1960 | etype = tvb_get_uint8(tvb, offset+4);
1961 | if ((etype != 114) && (etype != 120)) {
1962 | /* Add a new atom subtree */
1963 | atom_length = 0;
1964 | atom = proto_tree_add_item(tree, hf_sapdiag_item_dynt_atom, tvb, offset, atom_length, ENC_NA0x00000000);
1965 | atom_tree = proto_item_add_subtree(atom, ett_sapdiag);
1966 | proto_item_append_text(atom, ", Etype=%s", val_to_str_const(etype, sapdiag_item_dynt_atom_item_etype_vals, "Unknown")); /* Add the Etype to the Atom tree also */
1967 | }
1968 |
1969 | /* Check the atom_tree for NULL values. If the atom_tree wasn't created at this point, the atom
1970 | * starts with an item different to 114 or 120. */
1971 | if (atom_tree == NULL((void*)0)){
1972 | expert_add_info(pinfo, tree, &ei_sapdiag_atom_item_malformed);
1973 | break;
1974 | }
1975 |
1976 | /* Add the item atom subtree */
1977 | atom_item = proto_tree_add_item(atom_tree, hf_sapdiag_item_dynt_atom_item, tvb, offset, atom_item_length, ENC_NA0x00000000);
1978 | atom_item_tree = proto_item_add_subtree(atom_item, ett_sapdiag);
1979 |
1980 | /* Get the atom item length */
1981 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Atom Length");
1982 |
1983 | /* Adjust the length of the atom tree, adding the new item's length. */
1984 | atom_length+= atom_item_length;
1985 | proto_item_set_len(atom, atom_length);
1986 |
1987 | /* Continue with the dissection */
1988 | offset+=2;
1989 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Dlg Flag 1");
1990 | offset+=1;
1991 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Dlg Flag 2");
1992 | offset+=1;
1993 |
1994 | proto_tree_add_item(atom_item_tree, hf_sapdiag_item_dynt_atom_item_etype, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
1995 | proto_item_append_text(atom_item, ", EType=%d", tvb_get_uint8(tvb, offset));
1996 | offset+=1;
1997 |
1998 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Area");
1999 | offset+=1;
2000 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Block");
2001 | offset+=1;
2002 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Group");
2003 | offset+=1;
2004 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Row");
2005 | offset+=2;
2006 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Col");
2007 | offset+=2;
2008 |
2009 | attr = tvb_get_uint8(tvb, offset);
2010 | proto_item_append_text(atom_item, ", Attr=%d", attr);
2011 | proto_tree_add_bitmask(atom_item_tree, tvb, offset,
2012 | hf_sapdiag_item_dynt_atom_item_attr, ett_sapdiag,
2013 | sapdiag_dynt_atom_item_attr_fields, ENC_BIG_ENDIAN0x00000000);
2014 | offset+=1;
2015 | atom_item_length = atom_item_end - offset;
2016 |
2017 | /* If the attribute is set to invisible we're dealing probably with a password field */
2018 | if (attr & SAPDIAG_ATOM_ATTR_DIAG_BSD_INVISIBLE0x02){
2019 | expert_add_info(pinfo, atom_item, &ei_sapdiag_password_field);
2020 | }
2021 |
2022 | switch (etype){
2023 | case 114:{ /* DIAG_DGOTYP_FNAME */
2024 | add_item_value_string(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_length, "Text", 1);
2025 | proto_item_append_text(atom, ", Text=%s", tvb_get_string_enc(pinfo->pool, tvb, offset, atom_item_length, ENC_ASCII0x00000000));
2026 | break;
2027 |
2028 | } case 115:{ /* DIAG_DGOTYP_PUSHBUTTON_2 */
2029 | if (atom_item_length < 6) {
2030 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2031 | break;
2032 | }
2033 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "V Length");
2034 | offset+=1;
2035 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "V Height");
2036 | offset+=1;
2037 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Function Code Offset");
2038 | offset+=2;
2039 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Text Offset");
2040 | offset+=2;
2041 | offset+=add_item_value_stringz_bounded(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_end - offset, "Text", 1, &terminated);
2042 | if (!terminated || offset == atom_item_end) {
2043 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2044 | break;
2045 | }
2046 | add_item_value_stringz_bounded(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_end - offset, "Function Code", 1, &terminated);
2047 | if (!terminated) expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2048 | break;
2049 |
2050 | } case 116:{ /* DIAG_DGOTYP_TABSTRIP_BUTTON */
2051 | if (atom_item_length < 9) {
2052 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2053 | break;
2054 | }
2055 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "V Length");
2056 | offset+=1;
2057 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "V Height");
2058 | offset+=1;
2059 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Page Id");
2060 | offset+=1;
2061 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Function Code Offset");
2062 | offset+=2;
2063 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Text Offset");
2064 | offset+=2;
2065 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Id Offset");
2066 | offset+=2;
2067 | offset+=add_item_value_stringz_bounded(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_end - offset, "Text", 1, &terminated);
2068 | if (!terminated || offset == atom_item_end) {
2069 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2070 | break;
2071 | }
2072 | offset+=add_item_value_stringz_bounded(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_end - offset, "Function Code", 1, &terminated);
2073 | if (!terminated || offset == atom_item_end) {
2074 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2075 | break;
2076 | }
2077 | add_item_value_stringz_bounded(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_end - offset, "ID", 1, &terminated);
2078 | if (!terminated) expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2079 | break;
2080 |
2081 | } case 118: /* DIAG_DGOTYP_CHECKBUTTON_1" */
2082 | case 119:{ /* DIAG_DGOTYP_RADIOBUTTON_1 */
2083 | /* If the preference is set, report the item as partially dissected in the expert info */
2084 | if (global_sapdiag_highlight_items){
2085 | expert_add_info_format(pinfo, atom_item, &ei_sapdiag_atom_item_partial, "The Diag Atom is dissected partially (0x%.2x)", etype);
2086 | }
2087 | break;
2088 |
2089 | } case 120:{ /* DIAG_DGOTYP_XMLPROP */
2090 | add_item_value_string(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_length, "XMLProp", 1);
2091 | proto_item_append_text(atom, ", XMLProp=%s", tvb_get_string_enc(pinfo->pool, tvb, offset, atom_item_length, ENC_ASCII0x00000000));
2092 | break;
2093 |
2094 | } case 121: /* DIAG_DGOTYP_EFIELD_1 */
2095 | case 122: /* DIAG_DGOTYP_OFIELD_1 */
2096 | case 123:{ /* DIAG_DGOTYP_KEYWORD_1_1 */
2097 | if (atom_item_length < 5) {
2098 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2099 | break;
2100 | }
2101 | /* Found in NW 7.00 and 7.01 versions */
2102 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Flag1");
2103 | offset+=1;
2104 | atom_item_length-=1;
2105 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "DLen");
2106 | offset+=1;
2107 | atom_item_length-=1;
2108 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "MLen");
2109 | offset+=1;
2110 | atom_item_length-=1;
2111 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "MaxNrChars");
2112 | offset+=2;
2113 | atom_item_length-=2;
2114 | add_item_value_string(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_length, "Text", 0);
2115 |
2116 | break;
2117 |
2118 | } case 127:{ /* DIAG_DGOTYP_FRAME_1 */
2119 | if (atom_item_length < 4) {
2120 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2121 | break;
2122 | }
2123 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "DRows");
2124 | offset+=2;
2125 | atom_item_length-=2;
2126 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "DCols");
2127 | offset+=2;
2128 | atom_item_length-=2;
2129 | add_item_value_string(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_length, "Text", 1); offset+=atom_item_length;
| Value stored to 'offset' is never read
2130 | break;
2131 |
2132 | } case 129:{ /* DIAG_DGOTYP_RADIOBUTTON_3 */
2133 | if (atom_item_length < 10) {
2134 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2135 | break;
2136 | }
2137 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Button");
2138 | offset+=1;
2139 | atom_item_length-=1;
2140 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Visible Label Length");
2141 | offset+=2;
2142 | atom_item_length-=2;
2143 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "EventID Off");
2144 | offset+=2;
2145 | atom_item_length-=2;
2146 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "EventID Len");
2147 | offset+=1;
2148 | atom_item_length-=1;
2149 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Text Off");
2150 | offset+=2;
2151 | atom_item_length-=2;
2152 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Text Length");
2153 | offset+=2;
2154 | atom_item_length-=2;
2155 | add_item_value_string(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_length, "Text", 1);
2156 | break;
2157 |
2158 | } case 130: /* DIAG_DGOTYP_EFIELD_2 */
2159 | case 131: /* DIAG_DGOTYP_OFIELD_2 */
2160 | case 132:{ /* DIAG_DGOTYP_KEYWORD_2 */
2161 | if (atom_item_length < 6) {
2162 | expert_add_info(pinfo, atom_item, &ei_sapdiag_atom_item_malformed);
2163 | break;
2164 | }
2165 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "Flag1");
2166 | offset+=2;
2167 | atom_item_length-=2;
2168 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "DLen");
2169 | offset+=1;
2170 | atom_item_length-=1;
2171 | add_item_value_uint8(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "MLen");
2172 | offset+=1;
2173 | atom_item_length-=1;
2174 | add_item_value_uint16(tvb, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, "MaxNrChars");
2175 | offset+=2;
2176 | atom_item_length-=2;
2177 | add_item_value_string(tvb, pinfo, atom_item, atom_item_tree, hf_sapdiag_item_value, offset, atom_item_length, "Text", 0);
2178 | break;
2179 |
2180 | } default:
2181 | /* If the preference is set, report the item as unknown in the expert info */
2182 | if (global_sapdiag_highlight_items){
2183 | expert_add_info_format(pinfo, atom_item, &ei_sapdiag_atom_item_unknown, "The Diag Atom has a unknown type that is not dissected (%d)", etype);
2184 | }
2185 | break;
2186 | }
2187 |
2188 | offset = atom_item_end;
2189 | }
2190 |
2191 | }
2192 |
2193 | static void
2194 | dissect_sapdiag_menu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, uint32_t offset, uint32_t length){
2195 |
2196 | uint32_t final = offset + length;
2197 | uint32_t menu_length, menu_end;
2198 | bool_Bool terminated;
2199 |
2200 | proto_item *menu = NULL((void*)0);
2201 | proto_tree *menu_tree = NULL((void*)0);
2202 |
2203 | while (offset < final){
2204 | if (final - offset < 2) {
2205 | expert_add_info(pinfo, tree, &ei_sapdiag_item_length_invalid);
2206 | break;
2207 | }
2208 |
2209 | menu_length = tvb_get_ntohs(tvb, offset);
2210 | if (menu_length < SAPDIAG_MENU_ENTRY_HEADER_LEN20 || menu_length > final - offset) {
2211 | expert_add_info(pinfo, tree, &ei_sapdiag_item_length_invalid);
2212 | break;
2213 | }
2214 | menu_end = offset + menu_length;
2215 |
2216 | /* Add the menu entry subtree */
2217 | menu = proto_tree_add_item(tree, hf_sapdiag_item_menu_entry, tvb, offset, menu_length, ENC_NA0x00000000);
2218 | menu_tree = proto_item_add_subtree(menu, ett_sapdiag);
2219 |
2220 | add_item_value_uint16(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Length");
2221 | offset+=2;
2222 |
2223 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Position 1");
2224 | offset+=1;
2225 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Position 2");
2226 | offset+=1;
2227 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Position 3");
2228 | offset+=1;
2229 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Position 4");
2230 | offset+=1;
2231 |
2232 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Flag"); /* XXX: Add flag values */
2233 | offset+=1;
2234 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Virtual Key");
2235 | offset+=1;
2236 |
2237 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Return Code 1");
2238 | offset+=1;
2239 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Return Code 2");
2240 | offset+=1;
2241 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Return Code 3");
2242 | offset+=1;
2243 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Return Code 4");
2244 | offset+=1;
2245 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Return Code 5");
2246 | offset+=1;
2247 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Return Code 6");
2248 | offset+=1;
2249 |
2250 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Function Code 1");
2251 | offset+=1;
2252 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Function Code 2");
2253 | offset+=1;
2254 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Function Code 3");
2255 | offset+=1;
2256 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Function Code 4");
2257 | offset+=1;
2258 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Function Code 5");
2259 | offset+=1;
2260 | add_item_value_uint8(tvb, menu, menu_tree, hf_sapdiag_item_value, offset, "Function Code 6");
2261 | offset+=1;
2262 |
2263 | offset+=add_item_value_stringz_bounded(tvb, pinfo, menu, menu_tree, hf_sapdiag_item_value, offset, menu_end - offset, "Text", 1, &terminated);
2264 | if (!terminated || offset == menu_end) {
2265 | expert_add_info(pinfo, menu, &ei_sapdiag_item_length_invalid);
2266 | offset = menu_end;
2267 | continue;
2268 | }
2269 |
2270 | offset+=add_item_value_stringz_bounded(tvb, pinfo, menu, menu_tree, hf_sapdiag_item_value, offset, menu_end - offset, "Accelerator", 1, &terminated);
2271 | if (!terminated || offset == menu_end) {
2272 | expert_add_info(pinfo, menu, &ei_sapdiag_item_length_invalid);
2273 | offset = menu_end;
2274 | continue;
2275 | }
2276 |
2277 | add_item_value_stringz_bounded(tvb, pinfo, menu, menu_tree, hf_sapdiag_item_value, offset, menu_end - offset, "Info", 1, &terminated);
2278 | if (!terminated) expert_add_info(pinfo, menu, &ei_sapdiag_item_length_invalid);
2279 | offset = menu_end;
2280 | }
2281 |
2282 | }
2283 |
2284 | static void
2285 | dissect_sapdiag_uievent(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, uint32_t offset, uint32_t length){
2286 |
2287 | uint8_t event_valid = 0;
2288 | uint16_t container_nrs = 0, i = 0;
2289 |
2290 | if (length < 1) {
2291 | expert_add_info(pinfo, tree, &ei_sapdiag_item_length_invalid);
2292 | return;
2293 | }
2294 |
2295 | event_valid = tvb_get_uint8(tvb, offset);
2296 | if (length < ((event_valid & SAPDIAG_UI_EVENT_VALID_FLAG_NAVIGATION_DATA0x04) ? 12U : 15U)) {
2297 | expert_add_info(pinfo, tree, &ei_sapdiag_item_length_invalid);
2298 | return;
2299 | }
2300 |
2301 | proto_tree_add_bitmask(tree, tvb, offset,
2302 | hf_sapdiag_item_ui_event_valid, ett_sapdiag, sapdiag_ui_event_valid_fields, ENC_BIG_ENDIAN0x00000000);
2303 | offset+=1;length-=1;
2304 |
2305 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_event_type, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
2306 | proto_item_append_text(tree, ", Event Type=%s", val_to_str_const(tvb_get_ntohs(tvb, offset), sapdiag_item_ui_event_event_type_vals, "Unknown")); offset+=2;length-=2;
2307 |
2308 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_control_type, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
2309 | proto_item_append_text(tree, ", Control Type=%s", val_to_str_const(tvb_get_ntohs(tvb, offset), sapdiag_item_ui_event_control_type_vals, "Unknown")); offset+=2;length-=2;
2310 |
2311 | /* The semantic of the event data changes depending of the event valid flag and are ignored if the
2312 | SAPDIAG_UI_EVENT_VALID_FLAG_NAVIGATION_DATA flag or the SAPDIAG_UI_EVENT_VALID_FLAG_FUNCTIONKEY_DATA
2313 | flags are not set. We dissect them always. */
2314 | if (event_valid & SAPDIAG_UI_EVENT_VALID_FLAG_NAVIGATION_DATA0x04){
2315 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_navigation_data, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
2316 | offset+=1;
2317 | length-=1;
2318 | } else { /* SAPDIAG_UI_EVENT_VALID_FLAG_FUNCTIONKEY_DATA */
2319 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_data, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
2320 | offset+=1;
2321 | length-=1;
2322 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_data, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
2323 | offset+=1;
2324 | length-=1;
2325 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_data, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
2326 | offset+=1;
2327 | length-=1;
2328 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_data, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
2329 | offset+=1;
2330 | length-=1;
2331 | }
2332 |
2333 | /* These items are ignored if the flag SAPDIAG_UI_EVENT_VALID_FLAG_CONTROL_POS is not set. We dissect them always. */
2334 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_control_row, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
2335 | offset+=2;
2336 | length-=2;
2337 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_control_col, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
2338 | offset+=2;
2339 | length-=2;
2340 |
2341 | i = container_nrs = tvb_get_ntohs(tvb, offset);
2342 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_container_nrs, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
2343 | offset+=2;
2344 | length-=2;
2345 |
2346 | while (i>0 && length>0){
2347 | proto_tree_add_item(tree, hf_sapdiag_item_ui_event_container, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
2348 | offset+=1;
2349 | length-=1;
2350 | i--;
2351 | }
2352 |
2353 | if (i>0){
2354 | expert_add_info_format(pinfo, tree, &ei_sapdiag_dynt_focus_more_cont_ids, "Number of Container IDs (%d) is invalid", container_nrs);
2355 | }
2356 | }
2357 |
2358 | static void
2359 | dissect_sapdiag_item(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, proto_tree *item_value_tree, proto_tree *parent_tree, uint32_t offset, uint8_t item_type, uint8_t item_id, uint8_t item_sid, uint32_t item_length){
2360 |
2361 | /* SES item */
2362 | if (item_type==0x01){
2363 | uint8_t event_array = 0;
2364 | if (!check_length(pinfo, item_value_tree, 16, item_length, "SES")) return;
2365 |
2366 | event_array = tvb_get_uint8(tvb, offset);
2367 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Event Array");
2368 | offset+=1;
2369 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Event ID 1");
2370 | offset+=1;
2371 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Event ID 2");
2372 | offset+=1;
2373 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Event ID 3");
2374 | offset+=1;
2375 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Event ID 4");
2376 | offset+=1;
2377 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Event ID 5");
2378 | offset+=1;
2379 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Screen Flag"); /* XXX: Add flag values */
2380 | offset+=1;
2381 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Modal No");
2382 | offset+=1;
2383 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "X Pos");
2384 | offset+=1;
2385 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Y Pos");
2386 | offset+=1;
2387 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "IMode");
2388 | offset+=1;
2389 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Flag 1"); /* XXX: Add flag values */
2390 | offset+=3;
2391 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Dim Row");
2392 | offset+=1;
2393 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Dim Col");
2394 |
2395 | /* TODO: Incomplete dissection of this item */
2396 | /* If the preference is set, report the item as partially dissected in the expert info */
2397 | if (global_sapdiag_highlight_items){
2398 | expert_add_info_format(pinfo, item, &ei_sapdiag_item_partial, "The SES item is dissected partially (event array = 0x%.2x)", event_array);
2399 | }
2400 |
2401 | } else if (item_type==0x0a) { /* SFE */
2402 | if (!check_length(pinfo, item_value_tree, 3, item_length, "SFE")) return;
2403 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Control format");
2404 | offset+=1;
2405 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Control color");
2406 | offset+=1;
2407 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Control extended");
2408 |
2409 | } else if (item_type==0x0b) { /* SBA */
2410 | if (!check_length(pinfo, item_value_tree, 2, item_length, "SBA")) return;
2411 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Control y-position");
2412 | offset+=1;
2413 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Control x-position");
2414 |
2415 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x26){ /* Dialog Step Number */
2416 | if (!check_length(pinfo, item_value_tree, 4, item_length, "Dialog Step Number")) return;
2417 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Dialog Step Number");
2418 |
2419 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x02){ /* Connect */
2420 | if (!check_length(pinfo, item_value_tree, 12, item_length, "Connect")) return;
2421 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Protocol Version");
2422 | offset+=4;
2423 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Code Page");
2424 | offset+=4;
2425 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "WS Type");
2426 |
2427 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x04){ /* Font Metric */
2428 | if (!check_length(pinfo, item_value_tree, 8, item_length, "Font Metric")) return;
2429 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Variable font size (y)");
2430 | offset+=2;
2431 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Variable font size (x)");
2432 | offset+=2;
2433 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Fixed font size (y)");
2434 | offset+=2;
2435 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Fixed font size (x)");
2436 |
2437 | } else if ((item_type==0x10 && item_id==0x04 && item_sid==0x0b) || /* Support Data */
2438 | (item_type==0x10 && item_id==0x06 && item_sid==0x11)){
2439 | if (!check_length(pinfo, item_value_tree, 32, item_length, "Support Data")) return;
2440 | dissect_sapdiag_support_bits(tvb, item_value_tree, offset);
2441 |
2442 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x0d){ /* Window Size */
2443 | if (!check_length(pinfo, item_value_tree, 16, item_length, "Window Size")) return;
2444 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Height");
2445 | offset+=4;
2446 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Width");
2447 | offset+=4;
2448 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Area Height");
2449 | offset+=4;
2450 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Area Width");
2451 |
2452 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x0f){ /* Turn Time 2 (Response time) */
2453 | if (!check_length(pinfo, item_value_tree, 4, item_length, "Response time")) return;
2454 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Response time");
2455 |
2456 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x16){ /* Scrollbar Width */
2457 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Scrollbar Width")) return;
2458 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Scrolllbar Width");
2459 |
2460 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x17){ /* Scrollbar Height */
2461 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Scrollbar Height")) return;
2462 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Scrollbar Height");
2463 |
2464 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x19){ /* Gui State */
2465 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Gui State")) return;
2466 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Flag 1");
2467 | offset+=1;
2468 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Flag 2");
2469 |
2470 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x1d){ /* GUI patch level */
2471 |
2472 | /* GUI Patch level could be a string in old versions, or a single byte integer in newer ones */
2473 | if (item_length == 2){
2474 | add_item_value_string(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, 2, "GUI patch level", 1);
2475 | } else {
2476 | if (!check_length(pinfo, item_value_tree, 1, item_length, "GUI patch level")) return;
2477 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "GUI patch level");
2478 | }
2479 |
2480 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x24){ /* Display Size */
2481 | if (!check_length(pinfo, item_value_tree, 8, item_length, "Display Size")) return;
2482 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Height");
2483 | offset+=4;
2484 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Height");
2485 |
2486 | } else if (item_type==0x10 && item_id==0x04 && item_sid==0x25){ /* GUI Type */
2487 | if (!check_length(pinfo, item_value_tree, 2, item_length, "GUI Type")) return;
2488 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "GUI Type");
2489 |
2490 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x01){ /* Mode Number */
2491 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Mode Number")) return;
2492 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Mode Number");
2493 |
2494 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x06){ /* Diag version */
2495 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Diag version")) return;
2496 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Diag version");
2497 |
2498 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x0a){ /* Internal Mode Number */
2499 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Internal Mode Number")) return;
2500 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Internal Mode Number");
2501 |
2502 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x13){ /* GUI_FKEY */
2503 | uint32_t length = offset+item_length;
2504 | if (!check_min_length(pinfo, item_value_tree, 2, item_length, "GUI_FKEY")) return;
2505 | offset++; /* TODO: Skip one byte here */
2506 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Virtual key number", 1);
2507 | while ((offset < length) && tvb_offset_exists(tvb, offset)){
2508 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "String number", 1);
2509 | }
2510 | /* If the preference is set, report the item as partially dissected in the expert info */
2511 | if (global_sapdiag_highlight_items){
2512 | expert_add_info_format(pinfo, item, &ei_sapdiag_item_partial, "The Diag Item is dissected partially (0x%.2x, 0x%.2x, 0x%.2x)", item_type, item_id, item_sid);
2513 | }
2514 |
2515 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x14){ /* GUI_FKEYT */
2516 | if (!check_min_length(pinfo, item_value_tree, 4, item_length, "GUI_FKEYT")) return;
2517 | offset++; /* TODO: Skip one byte here */
2518 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Virtual key number");
2519 | offset+=2; /* TODO: Skip one byte here */
2520 | add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Virtual key text", 1);
2521 | /* If the preference is set, report the item as partially dissected in the expert info */
2522 | if (global_sapdiag_highlight_items){
2523 | expert_add_info_format(pinfo, item, &ei_sapdiag_item_partial, "The Diag Item is dissected partially (0x%.2x, 0x%.2x, 0x%.2x)", item_type, item_id, item_sid);
2524 | }
2525 |
2526 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x16){ /* RFC Diag Block Size */
2527 | if (!check_length(pinfo, item_value_tree, 4, item_length, "RFC Diag Block Size")) return;
2528 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "RFC Diag Block Size");
2529 |
2530 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x18){ /* Info flags */
2531 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Info flags")) return;
2532 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Info flags");
2533 | /* If the preference is set, report the item as partially dissected in the expert info */
2534 | if (global_sapdiag_highlight_items){
2535 | expert_add_info_format(pinfo, item, &ei_sapdiag_item_partial, "The Diag Item is dissected partially (0x%.2x, 0x%.2x, 0x%.2x)", item_type, item_id, item_sid);
2536 | }
2537 |
2538 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x19){ /* User ID */
2539 | if (!check_length(pinfo, item_value_tree, 2, item_length, "User ID")) return;
2540 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "User ID");
2541 |
2542 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x1f){ /* IMode uuids 2 */
2543 | uint8_t uuids;
2544 | if (!check_min_length(pinfo, item_value_tree, 1, item_length, "IMode uuids")) return;
2545 | uuids = tvb_get_uint8(tvb, offset);
2546 | if (!check_length(pinfo, item_value_tree, 1 + 17 * uuids, item_length, "IMode uuids") ) return;
2547 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Number of uuids");
2548 | offset+=1;
2549 | while ((uuids > 0) && (tvb_offset_exists(tvb, offset + 16 + 1))){
2550 | add_item_value_hexstring(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, 16, "UUID");
2551 | offset+=16;
2552 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Active context");
2553 | offset+=1;
2554 | uuids--;
2555 | }
2556 |
2557 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x22){ /* Auto logout time */
2558 | if (!check_length(pinfo, item_value_tree, 4, item_length, "Auto logout time")) return;
2559 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Auto logout time");
2560 |
2561 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x23){ /* Codepage Diag GUI */
2562 | if (!check_min_length(pinfo, item_value_tree, 6, item_length, "Codepage Diag GUI")) return;
2563 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Codepage number (numeric representation)");
2564 | offset+=4;
2565 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Minimum number of bytes per character");
2566 | offset+=1;
2567 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Codepage number (string representation)", 1);
2568 | add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Codepage description", 1);
2569 |
2570 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x27){ /* Codepage App Server */
2571 | if (!check_min_length(pinfo, item_value_tree, 6, item_length, "Codepage App Server")) return;
2572 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Codepage number (numeric representation)");
2573 | offset+=4;
2574 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Minimum number of bytes per character");
2575 | offset+=1;
2576 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Codepage number (string representation)", 1);
2577 | add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Codepage description", 1);
2578 |
2579 | } else if (item_type==0x10 && item_id==0x06 && item_sid==0x29){ /* Kernel Version */
2580 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Database version", 1);
2581 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Kernel version", 1);
2582 | add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Kernel patch level", 1);
2583 |
2584 | } else if (item_type==0x10 && item_id==0x09 && item_sid==0x0b){ /* Dynt Focus */
2585 | uint32_t length = offset + item_length;
2586 | if (!check_min_length(pinfo, item_value_tree, 9, item_length, "Dynt Focus")) return;
2587 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Focus Num of Area ID");
2588 | offset+=1;
2589 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Focus Row");
2590 | offset+=2;
2591 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Focus Col");
2592 | offset+=2;
2593 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Focus Row Offset");
2594 | offset+=2;
2595 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Focus Col Offset");
2596 | offset+=2;
2597 | /* Container IDs up to 30 */
2598 | if (length-offset > 30){
2599 | expert_add_info_format(pinfo, item, &ei_sapdiag_dynt_focus_more_cont_ids, "The Dynt Focus contains more than 30 Container IDs (%d)", offset);
2600 | }
2601 | /* Dissect all the remaining container IDs */
2602 | while((offset < length) && tvb_offset_exists(tvb, offset)){
2603 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Focus Container ID");
2604 | offset+=1;
2605 | }
2606 |
2607 | } else if (item_type==0x10 && item_id==0x0a && item_sid==0x01){ /* Container Reset */
2608 | if (!check_length(pinfo, item_value_tree, 9, item_length, "Container Reset")) return;
2609 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Id");
2610 | offset+=1;
2611 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Row");
2612 | offset+=2;
2613 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Col");
2614 | offset+=2;
2615 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Width");
2616 | offset+=2;
2617 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Height");
2618 |
2619 | } else if (item_type==0x10 && item_id==0x0a && item_sid==0x04){ /* Container Loop */
2620 | if (!check_length(pinfo, item_value_tree, 9, item_length, "Container Loop")) return;
2621 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Id");
2622 | offset+=1;
2623 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Row");
2624 | offset+=2;
2625 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Col");
2626 | offset+=2;
2627 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Width");
2628 | offset+=2;
2629 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Height");
2630 |
2631 | } else if (item_type==0x10 && item_id==0x0a && item_sid==0x05){ /* Container Table */
2632 | if (!check_length(pinfo, item_value_tree, 9, item_length, "Container Table")) return;
2633 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Id");
2634 | offset+=1;
2635 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Row");
2636 | offset+=2;
2637 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Col");
2638 | offset+=2;
2639 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Width");
2640 | offset+=2;
2641 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Height");
2642 |
2643 | } else if (item_type==0x10 && item_id==0x0a && item_sid==0x06){ /* Container Name */
2644 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Subscreen name", 1);
2645 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Container name", 1);
2646 | add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "Subdynpro name", 1);
2647 |
2648 | } else if (item_type==0x10 && item_id==0x0a && item_sid==0x08){ /* Container TabStrip */
2649 | if (!check_length(pinfo, item_value_tree, 9, item_length, "Container TabStrip")) return;
2650 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Id");
2651 | offset+=1;
2652 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Row");
2653 | offset+=2;
2654 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Col");
2655 | offset+=2;
2656 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Width");
2657 | offset+=2;
2658 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Height");
2659 |
2660 | } else if (item_type==0x10 && item_id==0x0a && item_sid==0x09){ /* Container TabStrip Page */
2661 | if (!check_length(pinfo, item_value_tree, 9, item_length, "Container TabStrip Page")) return;
2662 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Id");
2663 | offset+=1;
2664 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Row");
2665 | offset+=2;
2666 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Col");
2667 | offset+=2;
2668 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Width");
2669 | offset+=2;
2670 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Height");
2671 |
2672 | } else if (item_type==0x10 && item_id==0x0a && item_sid==0x0a){ /* Container Control */
2673 | if (!check_length(pinfo, item_value_tree, 9, item_length, "Container Control")) return;
2674 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Id");
2675 | offset+=1;
2676 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Row");
2677 | offset+=2;
2678 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Col");
2679 | offset+=2;
2680 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Width");
2681 | offset+=2;
2682 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Container Height");
2683 |
2684 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x03){ /* Message type */
2685 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "T", 1);
2686 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "T", 1);
2687 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "T", 1);
2688 | add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, "T", 1);
2689 |
2690 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x02){ /* Scroll Infos */
2691 | if (!check_length(pinfo, item_value_tree, 24, item_length, "Scroll Infos")) return;
2692 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Total Height");
2693 | offset+=4;
2694 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Total Width");
2695 | offset+=4;
2696 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Data Height");
2697 | offset+=4;
2698 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Data Width");
2699 | offset+=4;
2700 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Height Offset");
2701 | offset+=4;
2702 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Width Offset");
2703 |
2704 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x06){ /* Scroll Infos 2 */
2705 | if (!check_length(pinfo, item_value_tree, 33, item_length, "Scroll Infos 2")) return;
2706 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Total Height");
2707 | offset+=4;
2708 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Total Width");
2709 | offset+=4;
2710 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Data Height");
2711 | offset+=4;
2712 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Data Width");
2713 | offset+=4;
2714 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Height Offset");
2715 | offset+=4;
2716 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Width Offset");
2717 | offset+=4;
2718 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Visible Height");
2719 | offset+=4;
2720 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Visible Width");
2721 | offset+=4;
2722 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Scroll Flag");
2723 |
2724 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x07){ /* Area Size */
2725 | if (!check_length(pinfo, item_value_tree, 16, item_length, "Area Size")) return;
2726 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Height");
2727 | offset+=4;
2728 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Width");
2729 | offset+=4;
2730 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Area Height");
2731 | offset+=4;
2732 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Area Width");
2733 |
2734 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x08){ /* Pixel Size */
2735 | if (!check_length(pinfo, item_value_tree, 16, item_length, "Pixel Size")) return;
2736 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Height");
2737 | offset+=4;
2738 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Width");
2739 | offset+=4;
2740 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Area Height");
2741 | offset+=4;
2742 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Area Width");
2743 |
2744 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x0c){ /* Container Loop */
2745 | if (!check_length(pinfo, item_value_tree, 2, item_length, "Container Loop")) return;
2746 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Lines Per Loop Row");
2747 |
2748 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x0d){ /* List focus */
2749 | if (!check_length(pinfo, item_value_tree, 5, item_length, "List focus")) return;
2750 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "List focus version");
2751 | offset+=1;
2752 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "List focus Row");
2753 | offset+=2;
2754 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "List focus Column");
2755 |
2756 | } else if (item_type==0x10 && item_id==0x0c && item_sid==0x0e){ /* Main Area Pixel Size */
2757 | if (!check_length(pinfo, item_value_tree, 16, item_length, "Main Area Pixel Size")) return;
2758 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Height");
2759 | offset+=4;
2760 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Window Width");
2761 |
2762 | /* Dynn items */
2763 | } else if ((item_type==0x09) || /* CHL */
2764 | (item_type==0x10 && item_id==0x05 && item_sid==0x01)){ /* Dynn Chln */
2765 | if (!check_min_length(pinfo, item_value_tree, 18, item_length, "CHL")) return;
2766 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "scrflg");
2767 | offset+=2;
2768 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "chlflag");
2769 | offset+=2;
2770 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "current row");
2771 | offset+=1;
2772 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "current column");
2773 | offset+=1;
2774 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "V Slider Size");
2775 | offset+=1;
2776 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "dimlistrow");
2777 | offset+=1;
2778 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "dimlistcol");
2779 | offset+=1;
2780 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "H Slider Size");
2781 | offset+=1;
2782 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "dimrow");
2783 | offset+=1;
2784 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "dimcol");
2785 | offset+=1;
2786 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "maxlistrow");
2787 | offset+=2;
2788 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "listrowoffset");
2789 | offset+=2;
2790 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "maxlistcol");
2791 | offset+=1;
2792 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "listcoloffset");
2793 |
2794 | /* If the preference is set, report the item as partially dissected in the expert info */
2795 | if (global_sapdiag_highlight_items){
2796 | expert_add_info_format(pinfo, item, &ei_sapdiag_item_partial, "The Diag Item is dissected partially (0x%.2x, 0x%.2x, 0x%.2x)", item_type, item_id, item_sid);
2797 | }
2798 |
2799 | /* Control Properties */
2800 | } else if (item_type==0x10 && item_id==0x0e && item_sid==0x01){ /* Control Properties */
2801 | uint32_t length = offset + item_length;
2802 |
2803 | while (length - offset >= 3){ /* Two bytes for ID and at least a null value. */
2804 | proto_tree_add_item(item_value_tree, hf_sapdiag_item_control_properties_id, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
2805 | proto_item_append_text(item, ", Control Property ID=%d", tvb_get_ntohs(tvb, offset));
2806 | offset+=2;
2807 | offset+=add_item_value_stringz(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_control_properties_value, offset, "Control Property Value", 1);
2808 | }
2809 | if (offset < length) expert_add_info(pinfo, item, &ei_sapdiag_item_length_invalid);
2810 |
2811 | /* UI event source */
2812 | } else if (item_type==0x10 && item_id==0x0f && item_sid==0x01){ /* UI Event Source */
2813 | dissect_sapdiag_uievent(tvb, pinfo, item_value_tree, offset, item_length);
2814 |
2815 | /* GUI Packet state */
2816 | } else if (item_type==0x10 && item_id==0x14 && item_sid==0x01){ /* GUI Packet state */
2817 | if (!check_length(pinfo, item_value_tree, 13, item_length, "GUI Packet state")) return;
2818 | add_item_value_uint8(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Flags"); /* TODO: Add flag values */
2819 | offset+=1;
2820 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Bytes Total");
2821 | offset+=4;
2822 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Bytes Send");
2823 | offset+=4;
2824 | add_item_value_uint32(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Bytes Received");
2825 |
2826 | /* Dynt items */
2827 | } else if ((item_type==0x12 && item_id==0x09 && item_sid==0x02) || /* Dynt Atom */
2828 | (item_type==0x10 && item_id==0x09 && item_sid==0x02)) {
2829 | dissect_sapdiag_dyntatom(tvb, pinfo, item_value_tree, offset, item_length);
2830 |
2831 | /* String items */
2832 | } else if ((item_type==0x10 && item_id==0x04 && item_sid==0x09) || /* Gui Version */
2833 | (item_type==0x10 && item_id==0x04 && item_sid==0x1a) || /* Decimal character */
2834 | (item_type==0x10 && item_id==0x04 && item_sid==0x1b) || /* Language */
2835 | (item_type==0x10 && item_id==0x04 && item_sid==0x1c) || /* Username */
2836 | (item_type==0x10 && item_id==0x04 && item_sid==0x1f) || /* Gui OS Version */
2837 | (item_type==0x10 && item_id==0x04 && item_sid==0x20) || /* Browser Version */
2838 | (item_type==0x10 && item_id==0x04 && item_sid==0x21) || /* Office Version */
2839 | (item_type==0x10 && item_id==0x06 && item_sid==0x02) || /* Database name */
2840 | (item_type==0x10 && item_id==0x06 && item_sid==0x03) || /* CPU name */
2841 | (item_type==0x10 && item_id==0x06 && item_sid==0x07) || /* Transaction code */
2842 | (item_type==0x10 && item_id==0x06 && item_sid==0x0b) || /* Message */
2843 | (item_type==0x10 && item_id==0x06 && item_sid==0x0c) || /* Client */
2844 | (item_type==0x10 && item_id==0x06 && item_sid==0x0d) || /* Dynpro name */
2845 | (item_type==0x10 && item_id==0x06 && item_sid==0x0e) || /* Dynpro number */
2846 | (item_type==0x10 && item_id==0x06 && item_sid==0x0f) || /* Cuaname */
2847 | (item_type==0x10 && item_id==0x06 && item_sid==0x10) || /* Cuastatus */
2848 | (item_type==0x10 && item_id==0x06 && item_sid==0x21) || /* Context ID */
2849 | (item_type==0x10 && item_id==0x06 && item_sid==0x24) || /* Codepage application server */
2850 | (item_type==0x10 && item_id==0x06 && item_sid==0x25) || /* GUI Theme */
2851 | (item_type==0x10 && item_id==0x09 && item_sid==0x12) || /* Control Focus */
2852 | (item_type==0x10 && item_id==0x0c && item_sid==0x04) || /* OK Code */
2853 | (item_type==0x10 && item_id==0x0c && item_sid==0x09) || /* Session title */
2854 | (item_type==0x10 && item_id==0x0c && item_sid==0x0a) || /* Session icon */
2855 | (item_type==0x10 && item_id==0x0c && item_sid==0x0b)) /* List Cell text */
2856 | {
2857 | add_item_value_string(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, item_length, "Value", 1);
2858 |
2859 | /* RFC Embedded calls */
2860 | } else if (item_type==0x10 && item_id==0x08){ /* RFC_TR */
2861 | dissect_sapdiag_rfc_call(tvb, pinfo, parent_tree, offset, item_length);
2862 |
2863 | /* String items (long text) */
2864 | } else if (item_type==0x11){ /* Data Stream */
2865 | add_item_value_string(tvb, pinfo, item, item_value_tree, hf_sapdiag_item_value, offset, item_length, "Value", 0);
2866 |
2867 | /* Tab Strip Controls */
2868 | } else if ((item_type==0x12 && item_id==0x09 && item_sid==0x10)) {
2869 | dissect_sapdiag_dyntatom(tvb, pinfo, item_value_tree, offset, item_length);
2870 |
2871 | /* Menu Entries items */
2872 | } else if ((item_type==0x12 && item_id==0x0b)) {
2873 | dissect_sapdiag_menu(tvb, pinfo, item_value_tree, offset, item_length);
2874 |
2875 | } else if (item_type==0x13) { /* SLC */
2876 | if (!check_length(pinfo, item_value_tree, 2, item_length, "SLC")) return;
2877 | add_item_value_uint16(tvb, item, item_value_tree, hf_sapdiag_item_value, offset, "Field length in characters");
2878 |
2879 | /* Another unknown item */
2880 | } else {
2881 | /* If the preference is set, report the item as unknown in the expert info */
2882 | if (global_sapdiag_highlight_items){
2883 | expert_add_info_format(pinfo, item, &ei_sapdiag_item_unknown, "The Diag Item has a unknown type that is not dissected (0x%.2x, 0x%.2x, 0x%.2x)", item_type, item_id, item_sid);
2884 | }
2885 | }
2886 | }
2887 |
2888 | static const char *
2889 | get_appl_string(uint8_t item_id, uint8_t item_sid){
2890 | const char *item_name_string = NULL((void*)0);
2891 |
2892 | switch (item_id){
2893 | case 0x01:{ /* SCRIPT */
2894 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_script_vals, "Unknown");
2895 | break;
2896 | } case 0x02:{ /* GRAPH */
2897 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_graph_vals, "Unknown");
2898 | break;
2899 | } case 0x03:{ /* IXOS */
2900 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_ixos_vals, "Unknown");
2901 | break;
2902 | } case 0x04:{ /* ST_USER */
2903 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_st_user_vals, "Unknown");
2904 | break;
2905 | } case 0x05:{ /* DYNN */
2906 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_dynn_vals, "Unknown");
2907 | break;
2908 | } case 0x06:{ /* ST_R3INFO */
2909 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_st_r3info_vals, "Unknown");
2910 | break;
2911 | } case 0x07:{ /* POPU */
2912 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_popu_vals, "Unknown");
2913 | break;
2914 | } case 0x08:{ /* RFC_TR */
2915 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_rfc_tr_vals, "Unknown");
2916 | break;
2917 | } case 0x09:{ /* DYNT */
2918 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_dynt_vals, "Unknown");
2919 | break;
2920 | } case 0x0a:{ /* CONTAINER */
2921 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_container_vals, "Unknown");
2922 | break;
2923 | } case 0x0b:{ /* MNUENTRY */
2924 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_mnuentry_vals, "Unknown");
2925 | break;
2926 | } case 0x0c:{ /* VARINFO */
2927 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_varinfo_vals, "Unknown");
2928 | break;
2929 | } case 0x0e:{ /* CONTROL */
2930 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_control_vals, "Unknown");
2931 | break;
2932 | } case 0x0f:{ /* UI_EVENT */
2933 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_ui_event_vals, "Unknown");
2934 | break;
2935 | } case 0x12:{ /* ACC_LIST */
2936 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_acc_list_vals, "Unknown");
2937 | break;
2938 | } case 0x13:{ /* RCUI */
2939 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_rcui_vals, "Unknown");
2940 | break;
2941 | } case 0x14:{ /* GUI_PACKET */
2942 | item_name_string = val_to_str_const(item_sid, sapdiag_item_appl_gui_packet_vals, "Unknown");
2943 | break;
2944 | }
2945 | }
2946 | return (item_name_string);
2947 | }
2948 |
2949 | static void
2950 | dissect_sapdiag_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree *parent_tree, uint32_t offset){
2951 | int item_value_remaining_length;
2952 | uint8_t item_type, item_long, item_id, item_sid;
2953 | uint32_t item_length, item_value_length;
2954 | const char *item_name_string = NULL((void*)0);
2955 | tvbuff_t *item_value_tvb;
2956 |
2957 | proto_item *item = NULL((void*)0), *il = NULL((void*)0), *item_value = NULL((void*)0);
2958 | proto_tree *item_tree, *item_value_tree;
2959 |
2960 | while (tvb_offset_exists(tvb, offset)){
2961 | item_id = item_sid = item_length = item_value_length = item_long = 0;
2962 |
2963 | /* Add the item subtree. We start with a item's length of 1, as we don't have yet the real size of the item */
2964 | item = proto_tree_add_item(tree, hf_sapdiag_item, tvb, offset, 1, ENC_NA0x00000000);
2965 | item_tree = proto_item_add_subtree(item, ett_sapdiag);
2966 |
2967 | /* Get the item type */
2968 | proto_tree_add_item_ret_uint8(item_tree, hf_sapdiag_item_type, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000, &item_type);
2969 | offset++;
2970 | item_length++;
2971 | proto_item_append_text(item, ": %s", val_to_str_const(item_type, sapdiag_item_type_vals, "Unknown"));
2972 |
2973 | switch (item_type){
2974 | case 0x01:{ /* SES */
2975 | item_value_length = 16;
2976 | break;
2977 | }
2978 | case 0x02:{ /* ICO */
2979 | item_value_length = 20;
2980 | break;
2981 | }
2982 | case 0x03:{ /* TIT */
2983 | item_value_length = 3;
2984 | break;
2985 | }
2986 | case 0x07:{ /* DiagMessage (old format) */
2987 | item_value_length = 76;
2988 | break;
2989 | }
2990 | case 0x08:{ /* OCK */
2991 | /* If the preference is set, report the item as partially dissected in the expert info */
2992 | if (global_sapdiag_highlight_items){
2993 | expert_add_info_format(pinfo, item, &ei_sapdiag_item_unknown_length, "Diag Type of unknown length (0x%.2x)", item_type);
2994 | }
2995 | break;
2996 | }
2997 | case 0x09:{ /* CHL */
2998 | item_value_length = 22;
2999 | break;
3000 | }
3001 | case 0x0a:{ /* SFE */
3002 | item_value_length = 3;
3003 | break;
3004 | }
3005 | case 0x0b:{ /* SBA */
3006 | item_value_length = 2;
3007 | break;
3008 | }
3009 | case 0x0C:{ /* EOM End of message */
3010 | break;
3011 | }
3012 | case 0x11:{ /* Data Stream */
3013 | item_long = 4;
3014 | break;
3015 | }
3016 | case 0x13:{ /* SLC */
3017 | item_value_length = 2;
3018 | break;
3019 | }
3020 | case 0x15:{ /* SBA2 XXX: Find the actual length */
3021 | item_value_length = 36;
3022 | break;
3023 | }
3024 | case 0x10: /* APPL */
3025 | case 0x12:{ /* APPL4 */
3026 | if (tvb_reported_length_remaining(tvb, offset) < 2) {
3027 | expert_add_info(pinfo, item, &ei_sapdiag_item_offset_invalid);
3028 | return;
3029 | }
3030 |
3031 | /* Get the APPL(4) ID */
3032 | proto_tree_add_item_ret_uint8(item_tree, hf_sapdiag_item_id, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000, &item_id);
3033 | proto_item_append_text(item, ", %s", val_to_str_const(item_id, sapdiag_item_id_vals, "Unknown"));
3034 | proto_tree_add_item(item_tree, hf_sapdiag_item_id, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3035 | offset++;
3036 | item_length++;
3037 |
3038 | /* Get the APPL item sid value and set the respective name string according to them XXX: Change this for a multi array */
3039 | item_sid = tvb_get_uint8(tvb, offset);
3040 | item_name_string = get_appl_string(item_id, item_sid);
3041 |
3042 | proto_item_append_text(item, ", %s", item_name_string);
3043 | proto_tree_add_uint_format_value(item_tree, hf_sapdiag_item_sid, tvb, offset, 1, item_sid, "%s (0x%.2x)", item_name_string, item_sid);
3044 | offset++;
3045 | item_length++;
3046 |
3047 | if (item_type==0x10) {
3048 | item_long = 2;
3049 | } else if (item_type==0x12) {
3050 | item_long = 4;
3051 | }
3052 |
3053 | break;
3054 | }
3055 | }
3056 |
3057 | /* Get the item length (word o dword) */
3058 | if (item_long != 0 && tvb_reported_length_remaining(tvb, offset) < item_long) {
3059 | expert_add_info(pinfo, item, &ei_sapdiag_item_offset_invalid);
3060 | return;
3061 | }
3062 |
3063 | if (item_long == 2){
3064 | item_value_length = tvb_get_ntohs(tvb, offset);
3065 | il = proto_tree_add_item(item_tree, hf_sapdiag_item_length_short, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
3066 | offset += 2;
3067 | item_length += 2;
3068 | } else if (item_long == 4){
3069 | item_value_length = tvb_get_ntohl(tvb, offset);
3070 | il = proto_tree_add_item(item_tree, hf_sapdiag_item_length_long, tvb, offset, 4, ENC_BIG_ENDIAN0x00000000);
3071 | offset += 4;
3072 | item_length += 4;
3073 | }
3074 |
3075 | /* Add the item length */
3076 | proto_item_append_text(item, ", Len=%d", item_value_length);
3077 |
3078 | /* Validate the value length before sizing or dissecting the item. */
3079 | if (item_value_length > 0){
3080 | item_value_remaining_length = tvb_reported_length_remaining(tvb, offset);
3081 | if (item_value_remaining_length < 0){
3082 | expert_add_info(pinfo, il != NULL((void*)0) ? il : item, &ei_sapdiag_item_offset_invalid);
3083 | return;
3084 | }
3085 | if ((uint32_t)item_value_remaining_length < item_value_length){
3086 | expert_add_info(pinfo, il != NULL((void*)0) ? il : item, &ei_sapdiag_item_length_invalid);
3087 | item_value_length = (uint32_t)item_value_remaining_length;
3088 | item_length += item_value_length;
3089 | proto_item_set_len(item, item_length);
3090 | if (item_value_length > 0) {
3091 | proto_tree_add_item(item_tree, hf_sapdiag_item_value, tvb, offset, item_value_length, ENC_NA0x00000000);
3092 | }
3093 | return;
3094 | }
3095 | }
3096 |
3097 | /* Now we have the validated length of the item, set the proper size. */
3098 | item_length += item_value_length;
3099 | proto_item_set_len(item, item_length);
3100 |
3101 | /* Add the item value */
3102 | if (item_value_length > 0){
3103 | item_value = proto_tree_add_item(item_tree, hf_sapdiag_item_value, tvb, offset, item_value_length, ENC_NA0x00000000);
3104 | item_value_tree = proto_item_add_subtree(item_value, ett_sapdiag);
3105 | item_value_tvb = tvb_new_subset_length(tvb, offset, item_value_length);
3106 | dissect_sapdiag_item(item_value_tvb, pinfo, item, item_value_tree, parent_tree, 0, item_type, item_id, item_sid, item_value_length);
3107 | offset+= item_value_length;
3108 | }
3109 | }
3110 | }
3111 |
3112 | static int
3113 | check_sapdiag_dp(tvbuff_t *tvb, uint32_t offset)
3114 | {
3115 | /* Since there's no SAP Diag mode 0xff, if the first byte is a 0xFF the
3116 | * packet probably holds an initialization DP Header */
3117 | if ((tvb_reported_length_remaining(tvb, offset) >= 200 + 8) && tvb_get_uint8(tvb, offset) == 0xFF){
3118 | return true1;
3119 | }
3120 | return false0;
3121 | }
3122 |
3123 | static int
3124 | check_sapdiag_compression(tvbuff_t *tvb, uint32_t offset)
3125 | {
3126 | /* We check for the length, the algorithm value and the presence of magic bytes */
3127 | if ((tvb_reported_length_remaining(tvb, offset) >= 8) &&
3128 | ((tvb_get_uint8(tvb, offset+4) == 0x11) || (tvb_get_uint8(tvb, offset+4) == 0x12)) &&
3129 | (tvb_get_uint16(tvb, offset+5, ENC_LITTLE_ENDIAN0x80000000) == 0x9d1f)){
3130 | return true1;
3131 | }
3132 | return false0;
3133 | }
3134 |
3135 | static void
3136 | dissect_sapdiag_compressed_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *sapdiag, uint32_t offset)
3137 | {
3138 | int rt = 0;
3139 | int compressed_length;
3140 | tvbuff_t *next_tvb = NULL((void*)0);
3141 | const uint8_t *compressed_buffer = NULL((void*)0);
3142 | uint8_t *decompressed_buffer = NULL((void*)0);
3143 | uint32_t reported_length = 0;
3144 | uint32_t uncompress_length = 0;
3145 | uint32_t payload_offset = 0;
3146 | proto_item *compression_header = NULL((void*)0);
3147 | proto_item *decompress_return_code = NULL((void*)0);
3148 | proto_item *rl = NULL((void*)0);
3149 | proto_item *payload = NULL((void*)0);
3150 | proto_tree *compression_header_tree = NULL((void*)0);
3151 | proto_tree *payload_tree = NULL((void*)0);
3152 |
3153 | /* Add the compression header subtree */
3154 | compression_header = proto_tree_add_item(tree, hf_sapdiag_compress_header, tvb, offset, 8, ENC_NA0x00000000);
3155 | compression_header_tree = proto_item_add_subtree(compression_header, ett_sapdiag);
3156 |
3157 | payload_offset = offset;
3158 |
3159 | /* Add the uncompressed length */
3160 | reported_length = tvb_get_letohl(tvb, offset);
3161 | rl = proto_tree_add_uint(compression_header_tree, hf_sapdiag_uncomplength, tvb, offset, 4, reported_length);
3162 | offset+=4;
3163 | proto_item_append_text(sapdiag, ", Uncompressed Len: %u", reported_length);
3164 | col_append_fstr(pinfo->cinfo, COL_INFO, " Uncompressed Length=%u ", reported_length);
3165 |
3166 | /* Add the algorithm */
3167 | proto_tree_add_item(compression_header_tree, hf_sapdiag_algorithm, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3168 | offset++;
3169 | /* Add the magic bytes */
3170 | proto_tree_add_item(compression_header_tree, hf_sapdiag_magic, tvb, offset, 2, ENC_BIG_ENDIAN0x00000000);
3171 | offset+=2;
3172 | /* Add the max bits */
3173 | proto_tree_add_item(compression_header_tree, hf_sapdiag_special, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3174 | offset++;
3175 |
3176 | if (global_sapdiag_decompress) {
3177 | if (reported_length == 0 || reported_length > global_sapdiag_max_uncompressed_size) {
3178 | expert_add_info_format(pinfo, rl, &ei_sapdiag_invalid_decompress_length,
3179 | "Reported uncompressed payload length %u is invalid or exceeds the configured maximum of %u bytes",
3180 | reported_length, global_sapdiag_max_uncompressed_size);
3181 | } else {
3182 | compressed_length = tvb_captured_length_remaining(tvb, payload_offset);
3183 | compressed_buffer = tvb_get_ptr(tvb, payload_offset, compressed_length);
3184 | decompressed_buffer = (uint8_t *)wmem_alloc0(pinfo->pool, reported_length);
3185 | uncompress_length = reported_length;
3186 |
3187 | rt = sap_lzclzh_decompress(pinfo->pool, compressed_buffer,
3188 | compressed_length, decompressed_buffer, &uncompress_length);
3189 |
3190 | decompress_return_code = proto_tree_add_int_format_value(compression_header_tree,
3191 | hf_sapdiag_decompress_return_code, tvb, payload_offset, 0, rt,
3192 | "%d (%s)", rt, sap_lzclzh_decompress_error_string(rt));
3193 | proto_item_set_generated(decompress_return_code);
3194 |
3195 | if (rt != CS_END_OF_STREAM1) {
3196 | expert_add_info_format(pinfo, compression_header, &ei_sapdiag_invalid_decompression,
3197 | "Decompression of payload failed with return code %d (%s)",
3198 | rt, sap_lzclzh_decompress_error_string(rt));
3199 | } else {
3200 | if (uncompress_length != reported_length) {
3201 | expert_add_info_format(pinfo, rl, &ei_sapdiag_invalid_decompress_length,
3202 | "The uncompressed payload length (%u) differs from the reported length (%u)",
3203 | uncompress_length, reported_length);
3204 | }
3205 |
3206 | next_tvb = tvb_new_child_real_data(tvb, decompressed_buffer,
3207 | uncompress_length, uncompress_length);
3208 | add_new_data_source(pinfo, next_tvb, "Uncompressed Data");
3209 |
3210 | payload = proto_tree_add_item(tree, hf_sapdiag_payload, next_tvb, 0, -1, ENC_NA0x00000000);
3211 | payload_tree = proto_item_add_subtree(payload, ett_sapdiag);
3212 | dissect_sapdiag_payload(next_tvb, pinfo, payload_tree, tree, 0);
3213 | return;
3214 | }
3215 | }
3216 | }
3217 |
3218 | /* Preserve the original compressed payload if decompression is disabled or fails. */
3219 | proto_tree_add_item(tree, hf_sapdiag_payload, tvb, offset, -1, ENC_NA0x00000000);
3220 | }
3221 |
3222 |
3223 | static void
3224 | dissect_sapdiag_snc_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *sapdiag_tree, proto_tree *tree, uint32_t offset){
3225 |
3226 | tvbuff_t *next_tvb = NULL((void*)0);
3227 | proto_item *payload = NULL((void*)0);
3228 | proto_tree *payload_tree = NULL((void*)0);
3229 |
3230 | /* Call the SNC dissector */
3231 | if (global_sapdiag_snc_dissection == true1){
3232 | next_tvb = dissect_sapsnc_frame(tvb, pinfo, tree, offset);
3233 |
3234 | /* If the SNC dissection returned a new tvb, we've a payload to dissect */
3235 | if (next_tvb != NULL((void*)0)) {
3236 |
3237 | /* Add a new data source for the unwrapped data. From now on, the offset is relative
3238 | to the new tvb so its zero. */
3239 | add_new_data_source(pinfo, next_tvb, "SNC unwrapped Data");
3240 |
3241 | /* Add the payload subtree using the new tvb*/
3242 | payload = proto_tree_add_item(sapdiag_tree, hf_sapdiag_payload, next_tvb, 0, -1, ENC_NA0x00000000);
3243 | payload_tree = proto_item_add_subtree(payload, ett_sapdiag);
3244 |
3245 | if (check_sapdiag_compression(next_tvb, 0)) {
3246 | dissect_sapdiag_compressed_payload(next_tvb, pinfo, payload_tree, payload, 0);
3247 | } else {
3248 | dissect_sapdiag_payload(next_tvb, pinfo, payload_tree, payload, 0);
3249 | }
3250 | }
3251 | }
3252 | }
3253 |
3254 | static int
3255 | dissect_sapdiag(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U___attribute__((unused)))
3256 | {
3257 | uint8_t compress = 0, error_no = 0;
3258 | uint32_t offset = 0;
3259 | proto_item *sapdiag = NULL((void*)0), *header = NULL((void*)0), *payload = NULL((void*)0);
3260 | proto_tree *sapdiag_tree = NULL((void*)0), *header_tree = NULL((void*)0), *payload_tree = NULL((void*)0);
3261 |
3262 | /* Add the protocol to the column */
3263 | col_set_str(pinfo->cinfo, COL_PROTOCOL, "SAPDIAG");
3264 | /* Clear out stuff in the info column */
3265 | col_clear(pinfo->cinfo,COL_INFO);
3266 |
3267 | /* Add the main SAPDiag subtree */
3268 | sapdiag = proto_tree_add_item(tree, proto_sapdiag, tvb, 0, -1, ENC_NA0x00000000);
3269 | sapdiag_tree = proto_item_add_subtree(sapdiag, ett_sapdiag);
3270 |
3271 | /* Check if the packet holds a DP Header */
3272 | if (check_sapdiag_dp(tvb, offset)){
3273 | dissect_sapdiag_dp(tvb, sapdiag_tree, offset); offset+= 200;
3274 | }
3275 |
3276 | /* Check for fixed error messages */
3277 | if (tvb_strneql(tvb, 0, "**DPTMMSG**\x00", 12) == 0){
3278 | proto_tree_add_item(sapdiag_tree, hf_sapdiag_payload, tvb, offset, -1, ENC_NA0x00000000);
3279 | return tvb_captured_length(tvb);
3280 | } else if (tvb_strneql(tvb, 0, "**DPTMOPC**\x00", 12) == 0){
3281 | proto_tree_add_item(sapdiag_tree, hf_sapdiag_payload, tvb, offset, -1, ENC_NA0x00000000);
3282 | return tvb_captured_length(tvb);
3283 | }
3284 |
3285 | if (tvb_reported_length_remaining(tvb, offset) < 8) {
3286 | return tvb_captured_length(tvb);
3287 | }
3288 |
3289 | /* Add the header subtree */
3290 | header = proto_tree_add_item(sapdiag_tree, hf_sapdiag_header, tvb, offset, 8, ENC_NA0x00000000);
3291 | header_tree = proto_item_add_subtree(header, ett_sapdiag);
3292 |
3293 | /* Add the fields */
3294 | proto_tree_add_item(header_tree, hf_sapdiag_mode, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3295 | offset++;
3296 |
3297 | proto_tree_add_bitmask(header_tree, tvb, offset,
3298 | hf_sapdiag_com_flag, ett_sapdiag, sapdiag_com_flag_fields, ENC_BIG_ENDIAN0x00000000);
3299 | offset++;
3300 |
3301 | proto_tree_add_item(header_tree, hf_sapdiag_mode_stat, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3302 | offset++;
3303 |
3304 | proto_tree_add_item_ret_uint8(header_tree, hf_sapdiag_err_no, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000, &error_no);
3305 | offset++;
3306 | proto_tree_add_item(header_tree, hf_sapdiag_msg_type, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3307 | offset++;
3308 | proto_tree_add_item(header_tree, hf_sapdiag_msg_info, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3309 | offset++;
3310 | proto_tree_add_item(header_tree, hf_sapdiag_msg_rc, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000);
3311 | offset++;
3312 |
3313 | proto_tree_add_item_ret_uint8(header_tree, hf_sapdiag_compress, tvb, offset, 1, ENC_BIG_ENDIAN0x00000000, &compress);
3314 | offset++;
3315 |
3316 | /* Check for error messages */
3317 | if ((error_no != 0x00) && (tvb_reported_length_remaining(tvb, offset) > 0)){
3318 | char *error_message = NULL((void*)0);
3319 | uint32_t error_message_length = 0;
3320 |
3321 | error_message_length = (uint32_t)tvb_reported_length_remaining(tvb, offset) - 1;
3322 | error_message = (char *)tvb_get_string_enc(pinfo->pool, tvb, offset, error_message_length, ENC_LITTLE_ENDIAN0x80000000|ENC_UTF_160x00000004);
3323 | proto_tree_add_string(sapdiag_tree, hf_sapdiag_error_message, tvb, offset, error_message_length, error_message);
3324 |
3325 | /* If the message is compressed */
3326 | } else if ((compress == 0x01) && (tvb_reported_length_remaining(tvb, offset) >= 8)){
3327 |
3328 | /* Dissect the compressed payload */
3329 | dissect_sapdiag_compressed_payload(tvb, pinfo, sapdiag_tree, sapdiag, offset);
3330 |
3331 | /* Message wrapped with SNC */
3332 | } else if (((compress == 0x02) || (compress == 0x03)) && (tvb_reported_length_remaining(tvb, offset) > 0)){
3333 |
3334 | /* Call the SNC dissector */
3335 | dissect_sapdiag_snc_frame(tvb, pinfo, sapdiag_tree, tree, offset);
3336 |
3337 | /* Uncompressed payload */
3338 | } else {
3339 | /* Check the payload length */
3340 | if (tvb_reported_length_remaining(tvb, offset) > 0){
3341 | /* Add the payload subtree */
3342 | payload = proto_tree_add_item(sapdiag_tree, hf_sapdiag_payload, tvb, offset, -1, ENC_NA0x00000000);
3343 | payload_tree = proto_item_add_subtree(payload, ett_sapdiag);
3344 |
3345 | /* Dissect the payload */
3346 | dissect_sapdiag_payload(tvb, pinfo, payload_tree, tree, offset);
3347 | }
3348 | }
3349 |
3350 | return tvb_captured_length(tvb);
3351 | }
3352 |
3353 | void
3354 | proto_register_sapdiag(void)
3355 | {
3356 | static hf_register_info hf[] = {
3357 | { &hf_sapdiag_dp,
3358 | { "DP Header", "sapdiag.dp", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3359 | { &hf_sapdiag_header,
3360 | { "Header", "sapdiag.header", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3361 | { &hf_sapdiag_payload,
3362 | { "Message", "sapdiag.message", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3363 | { &hf_sapdiag_mode,
3364 | { "Mode", "sapdiag.header.mode", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3365 | { &hf_sapdiag_com_flag,
3366 | { "Com Flag", "sapdiag.header.comflag", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3367 | { &hf_sapdiag_com_flag_TERM_EOS,
3368 | { "Com Flag TERM_EOS", "sapdiag.header.comflag.TERM_EOS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_EOS0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3369 | { &hf_sapdiag_com_flag_TERM_EOC,
3370 | { "Com Flag TERM_EOC", "sapdiag.header.comflag.TERM_EOC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_EOC0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3371 | { &hf_sapdiag_com_flag_TERM_NOP,
3372 | { "Com Flag TERM_NOP", "sapdiag.header.comflag.TERM_NOP", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_NOP0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3373 | { &hf_sapdiag_com_flag_TERM_EOP,
3374 | { "Com Flag TERM_EOP", "sapdiag.header.comflag.TERM_EOP", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_EOP0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3375 | { &hf_sapdiag_com_flag_TERM_INI,
3376 | { "Com Flag TERM_INI", "sapdiag.header.comflag.TERM_INI", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_INI0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3377 | { &hf_sapdiag_com_flag_TERM_CAS,
3378 | { "Com Flag TERM_CAS", "sapdiag.header.comflag.TERM_CAS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_CAS0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3379 | { &hf_sapdiag_com_flag_TERM_NNM,
3380 | { "Com Flag TERM_NNM", "sapdiag.header.comflag.TERM_NNM", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_NNM0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3381 | { &hf_sapdiag_com_flag_TERM_GRA,
3382 | { "Com Flag TERM_GRA", "sapdiag.header.comflag.TERM_GRA", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_COM_FLAG_TERM_GRA0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3383 |
3384 | { &hf_sapdiag_mode_stat,
3385 | { "Mode Stat", "sapdiag.header.modestat", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3386 | { &hf_sapdiag_err_no,
3387 | { "Error Number", "sapdiag.header.errorno", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3388 | { &hf_sapdiag_msg_type,
3389 | { "Message Type", "sapdiag.header.msgtype", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3390 | { &hf_sapdiag_msg_info,
3391 | { "Message Info", "sapdiag.header.msginfo", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3392 | { &hf_sapdiag_msg_rc,
3393 | { "Message Rc", "sapdiag.header.msgrc", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3394 | { &hf_sapdiag_compress,
3395 | { "Compress", "sapdiag.header.compress", FT_UINT8, BASE_HEX, VALS(sapdiag_compress_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_compress_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3396 |
3397 | /* Error Messages */
3398 | { &hf_sapdiag_error_message,
3399 | { "Error Message", "sapdiag.error_message", FT_STRING, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3400 |
3401 | /* Compression header */
3402 | { &hf_sapdiag_compress_header,
3403 | { "Compression Header", "sapdiag.header.compression", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3404 | { &hf_sapdiag_uncomplength,
3405 | { "Uncompressed Length", "sapdiag.header.compression.uncomplength", FT_UINT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3406 | { &hf_sapdiag_algorithm,
3407 | { "Compression Algorithm", "sapdiag.header.compression.algorithm", FT_UINT8, BASE_HEX, VALS(sapdiag_algorithm_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_algorithm_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3408 | { &hf_sapdiag_magic,
3409 | { "Magic Bytes", "sapdiag.header.compression.magic", FT_UINT16, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3410 | { &hf_sapdiag_special,
3411 | { "Special", "sapdiag.header.compression.special", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3412 | { &hf_sapdiag_decompress_return_code,
3413 | { "Decompress Return Code", "sapdiag.header.compression.returncode", FT_INT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3414 |
3415 | /* SAPDiag Messages */
3416 | { &hf_sapdiag_item,
3417 | { "Item", "sapdiag.item", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3418 | { &hf_sapdiag_item_type,
3419 | { "Type", "sapdiag.item.type", FT_UINT8, BASE_HEX, VALS(sapdiag_item_type_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_item_type_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3420 | { &hf_sapdiag_item_id,
3421 | { "ID", "sapdiag.item.id", FT_UINT8, BASE_HEX, VALS(sapdiag_item_id_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_item_id_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3422 | { &hf_sapdiag_item_sid,
3423 | { "SID", "sapdiag.item.sid", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3424 | { &hf_sapdiag_item_length_short,
3425 | { "Length", "sapdiag.item.length_short", FT_UINT16, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3426 | { &hf_sapdiag_item_length_long,
3427 | { "Length", "sapdiag.item.length_long", FT_UINT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3428 | { &hf_sapdiag_item_value,
3429 | { "Value", "sapdiag.item.value", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3430 | /* SAPDiag DP Header */
3431 | { &hf_sapdiag_dp_request_id,
3432 | { "Request ID", "sapdiag.dp.reqid", FT_INT32, BASE_DEC, VALS(sapdiag_dp_request_id_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_dp_request_id_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3433 | { &hf_sapdiag_dp_retcode,
3434 | { "Retcode", "sapdiag.dp.retcode", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3435 | { &hf_sapdiag_dp_sender_id,
3436 | { "Sender ID", "sapdiag.dp.senderid", FT_UINT8, BASE_HEX, VALS(sapdiag_dp_sender_id_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_dp_sender_id_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3437 | { &hf_sapdiag_dp_action_type,
3438 | { "Action type", "sapdiag.dp.actiontype", FT_UINT8, BASE_HEX, VALS(sapdiag_dp_action_type_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_dp_action_type_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3439 | { &hf_sapdiag_dp_req_info,
3440 | { "Request Info", "sapdiag.dp.reqinfo", FT_UINT32, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3441 | { &hf_sapdiag_dp_req_info_byte,
3442 | { "Request Info Flags", "sapdiag.dp.reqinfo.flags", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3443 | /* Request Info Flag */
3444 | { &hf_sapdiag_dp_req_info_LOGIN,
3445 | { "Login Flag", "sapdiag.dp.reqinfo.login", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_LOGIN0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3446 | { &hf_sapdiag_dp_req_info_LOGOFF,
3447 | { "Logoff Flag", "sapdiag.dp.reqinfo.logoff", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_LOGOFF0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3448 | { &hf_sapdiag_dp_req_info_SHUTDOWN,
3449 | { "Shutdown Flag", "sapdiag.dp.reqinfo.shutdown", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_SHUTDOWN0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3450 | { &hf_sapdiag_dp_req_info_GRAPHIC_TM,
3451 | { "Graphic TM Flag", "sapdiag.dp.reqinfo.graphictm", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_GRAPHIC_TM0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3452 | { &hf_sapdiag_dp_req_info_ALPHA_TM,
3453 | { "Alpha TM Flag", "sapdiag.dp.reqinfo.alphatm", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_ALPHA_TM0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3454 | { &hf_sapdiag_dp_req_info_ERROR_FROM_APPC,
3455 | { "Error from APPC Flag", "sapdiag.dp.reqinfo.errorfromappc", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_ERROR_FROM_APPC0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3456 | { &hf_sapdiag_dp_req_info_CANCELMODE,
3457 | { "Cancel Mode Flag", "sapdiag.dp.reqinfo.cancelmode", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_CANCELMODE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3458 | { &hf_sapdiag_dp_req_info_MSG_WITH_REQ_BUF,
3459 | { "Msg with Req Buf Flag", "sapdiag.dp.reqinfo.msg_with_req_buf", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_MSG_WITH_REQ_BUF0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3460 | { &hf_sapdiag_dp_req_info_MSG_WITH_OH,
3461 | { "Msg with OH Flag", "sapdiag.dp.reqinfo.msg_with_oh", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_MSG_WITH_OH0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3462 | { &hf_sapdiag_dp_req_info_BUFFER_REFRESH,
3463 | { "Buffer Refresh Flag", "sapdiag.dp.reqinfo.buffer_refresh", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_BUFFER_REFRESH0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3464 | { &hf_sapdiag_dp_req_info_BTC_SCHEDULER,
3465 | { "BTC Scheduler Flag", "sapdiag.dp.reqinfo.btc_scheduler", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_BTC_SCHEDULER0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3466 | { &hf_sapdiag_dp_req_info_APPC_SERVER_DOWN,
3467 | { "APPC Server Down Flag", "sapdiag.dp.reqinfo.appc_server_down", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_APPC_SERVER_DOWN0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3468 | { &hf_sapdiag_dp_req_info_MS_ERROR,
3469 | { "MS Error Flag", "sapdiag.dp.reqinfo.ms_error", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_MS_ERROR0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3470 | { &hf_sapdiag_dp_req_info_SET_SYSTEM_USER,
3471 | { "Set System User Flag", "sapdiag.dp.reqinfo.set_system_user", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_SET_SYSTEM_USER0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3472 | { &hf_sapdiag_dp_req_info_DP_CANT_HANDLE_REQ,
3473 | { "DP Can't handle req Flag", "sapdiag.dp.reqinfo.dp_cant_handle_req", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_CANT_HANDLE_REQ0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3474 | { &hf_sapdiag_dp_req_info_DP_AUTO_ABAP,
3475 | { "DP Auto ABAP Flag", "sapdiag.dp.reqinfo.dp_auto_abap", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_AUTO_ABAP0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3476 | { &hf_sapdiag_dp_req_info_DP_APPL_SERV_INFO,
3477 | { "DP Appl Serv Info Flag", "sapdiag.dp.reqinfo.dp_appl_serv_info", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_APPL_SERV_INFO0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3478 | { &hf_sapdiag_dp_req_info_DP_ADMIN,
3479 | { "DP Admin Flag", "sapdiag.dp.reqinfo.dp_admin", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_ADMIN0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3480 | { &hf_sapdiag_dp_req_info_DP_SPOOL_ALRM,
3481 | { "DP Spool Alrm Flag", "sapdiag.dp.reqinfo.dp_spool_alrm", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_SPOOL_ALRM0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3482 | { &hf_sapdiag_dp_req_info_DP_HAND_SHAKE,
3483 | { "DP Hand Shake Flag", "sapdiag.dp.reqinfo.dp_hand_shake", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_HAND_SHAKE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3484 | { &hf_sapdiag_dp_req_info_DP_CANCEL_PRIV,
3485 | { "DP Cancel Privileges Flag", "sapdiag.dp.reqinfo.dp_cancel_priv", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_CANCEL_PRIV0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3486 | { &hf_sapdiag_dp_req_info_DP_RAISE_TIMEOUT,
3487 | { "DP Raise Timeout Flag", "sapdiag.dp.reqinfo.dp_raise_timeout", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_RAISE_TIMEOUT0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3488 | { &hf_sapdiag_dp_req_info_DP_NEW_MODE,
3489 | { "DP New Mode Flag", "sapdiag.dp.reqinfo.dp_new_mode", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_NEW_MODE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3490 | { &hf_sapdiag_dp_req_info_DP_SOFT_CANCEL,
3491 | { "DP Soft Cancel Flag", "sapdiag.dp.reqinfo.dp_soft_cancel", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_SOFT_CANCEL0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3492 | { &hf_sapdiag_dp_req_info_DP_TM_INPUT,
3493 | { "DP TM Input Flag", "sapdiag.dp.reqinfo.dp_tm_input", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_TM_INPUT0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3494 | { &hf_sapdiag_dp_req_info_DP_TM_OUTPUT,
3495 | { "DP TM Output Flag", "sapdiag.dp.reqinfo.dp_tm_output", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_TM_OUTPUT0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3496 | { &hf_sapdiag_dp_req_info_DP_ASYNC_RFC,
3497 | { "DP Async RFC Flag", "sapdiag.dp.reqinfo.dp_async_rfc", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_ASYNC_RFC0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3498 | { &hf_sapdiag_dp_req_info_DP_ICM_EVENT,
3499 | { "DP ICM Event Flag", "sapdiag.dp.reqinfo.dp_icm_event", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_ICM_EVENT0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3500 | { &hf_sapdiag_dp_req_info_DP_AUTO_TH,
3501 | { "DP Auto TH Flag", "sapdiag.dp.reqinfo.dp_auto_th", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_AUTO_TH0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3502 | { &hf_sapdiag_dp_req_info_DP_RFC_CANCEL,
3503 | { "DP RFC Cancel Flag", "sapdiag.dp.reqinfo.dp_rfc_cancel", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_RFC_CANCEL0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3504 | { &hf_sapdiag_dp_req_info_DP_MS_ADM,
3505 | { "DP MS Adm Flag", "sapdiag.dp.reqinfo.dp_ms_adm", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_DP_REQ_INFO_DP_MS_ADM0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3506 | { &hf_sapdiag_dp_tid,
3507 | { "TID", "sapdiag.dp.tid", FT_INT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3508 | { &hf_sapdiag_dp_uid,
3509 | { "UID", "sapdiag.dp.uid", FT_INT16, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3510 | { &hf_sapdiag_dp_mode,
3511 | { "Mode", "sapdiag.dp.mode", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3512 | { &hf_sapdiag_dp_wp_id,
3513 | { "WP Id", "sapdiag.dp.wpid", FT_INT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3514 | { &hf_sapdiag_dp_wp_ca_blk,
3515 | { "WP Ca Blk", "sapdiag.dp.wpcablk", FT_INT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3516 | { &hf_sapdiag_dp_appc_ca_blk,
3517 | { "APPC Ca Blk", "sapdiag.dp.appccablk", FT_INT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3518 | { &hf_sapdiag_dp_len,
3519 | { "Len", "sapdiag.dp.len", FT_UINT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3520 | { &hf_sapdiag_dp_new_stat,
3521 | { "New Stat", "sapdiag.dp.newstat", FT_UINT8, BASE_HEX, VALS(sapdiag_dp_new_stat_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_dp_new_stat_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3522 | { &hf_sapdiag_dp_rq_id,
3523 | { "Request ID", "sapdiag.dp.rqid", FT_INT16, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3524 | { &hf_sapdiag_dp_terminal,
3525 | { "Terminal", "sapdiag.dp.terminal", FT_STRING, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3526 |
3527 | /* SAP Diag Support Bits */
3528 | { &hf_sapdiag_support_bits,
3529 | { "Support Bits", "sapdiag.diag.supportbits", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3530 | { &hf_SAPDIAG_SUPPORT_BIT_PROGRESS_INDICATOR,
3531 | { "Support Bit PROGRESS_INDICATOR", "sapdiag.diag.supportbits.PROGRESS_INDICATOR", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_PROGRESS_INDICATOR0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3532 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_LABELS,
3533 | { "Support Bit SAPGUI_LABELS", "sapdiag.diag.supportbits.SAPGUI_LABELS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_LABELS0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3534 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_DIAGVERSION,
3535 | { "Support Bit SAPGUI_DIAGVERSION", "sapdiag.diag.supportbits.SAPGUI_DIAGVERSION", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_DIAGVERSION0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3536 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_SELECT_RECT,
3537 | { "Support Bit SAPGUI_SELECT_RECT", "sapdiag.diag.supportbits.SAPGUI_SELECT_RECT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_SELECT_RECT0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3538 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_SYMBOL_RIGHT,
3539 | { "Support Bit SAPGUI_SYMBOL_RIGHT", "sapdiag.diag.supportbits.SAPGUI_SYMBOL_RIGHT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_SYMBOL_RIGHT0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3540 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_FONT_METRIC,
3541 | { "Support Bit SAPGUI_FONT_METRIC", "sapdiag.diag.supportbits.SAPGUI_FONT_METRIC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_FONT_METRIC0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3542 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_COMPR_ENHANCED,
3543 | { "Support Bit SAPGUI_COMPR_ENHANCED", "sapdiag.diag.supportbits.SAPGUI_COMPR_ENHANCED", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_COMPR_ENHANCED0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3544 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_IMODE,
3545 | { "Support Bit SAPGUI_IMODE", "sapdiag.diag.supportbits.SAPGUI_IMODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_IMODE0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3546 |
3547 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_LONG_MESSAGE,
3548 | { "Support Bit SAPGUI_LONG_MESSAGE", "sapdiag.diag.supportbits.SAPGUI_LONG_MESSAGE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_LONG_MESSAGE0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3549 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_TABLE,
3550 | { "Support Bit SAPGUI_TABLE", "sapdiag.diag.supportbits.SAPGUI_TABLE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_TABLE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3551 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_FOCUS_1,
3552 | { "Support Bit SAPGUI_FOCUS_1", "sapdiag.diag.supportbits.SAPGUI_FOCUS_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_FOCUS_10x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3553 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_PUSHBUTTON_1,
3554 | { "Support Bit SAPGUI_PUSHBUTTON_1", "sapdiag.diag.supportbits.SAPGUI_PUSHBUTTON_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_PUSHBUTTON_10x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3555 | { &hf_SAPDIAG_SUPPORT_BIT_UPPERCASE,
3556 | { "Support Bit UPPERCASE", "sapdiag.diag.supportbits.UPPERCASE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UPPERCASE0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3557 | { &hf_SAPDIAG_SUPPORT_BIT_SAPGUI_TABPROPERTY,
3558 | { "Support Bit SAPGUI_TABPROPERTY", "sapdiag.diag.supportbits.SAPGUI_TABPROPERTY", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAPGUI_TABPROPERTY0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3559 | { &hf_SAPDIAG_SUPPORT_BIT_INPUT_UPPERCASE,
3560 | { "Support Bit INPUT_UPPERCASE", "sapdiag.diag.supportbits.INPUT_UPPERCASE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_INPUT_UPPERCASE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3561 | { &hf_SAPDIAG_SUPPORT_BIT_RFC_DIALOG,
3562 | { "Support Bit RFC_DIALOG", "sapdiag.diag.supportbits.RFC_DIALOG", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_RFC_DIALOG0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3563 |
3564 | { &hf_SAPDIAG_SUPPORT_BIT_LIST_HOTSPOT,
3565 | { "Support Bit LIST_HOTSPOT", "sapdiag.diag.supportbits.LIST_HOTSPOT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_LIST_HOTSPOT0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3566 | { &hf_SAPDIAG_SUPPORT_BIT_FKEY_TABLE,
3567 | { "Support Bit FKEY_TABLE", "sapdiag.diag.supportbits.FKEY_TABLE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_FKEY_TABLE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3568 | { &hf_SAPDIAG_SUPPORT_BIT_MENU_SHORTCUT,
3569 | { "Support Bit MENU_SHORTCUT", "sapdiag.diag.supportbits.MENU_SHORTCUT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MENU_SHORTCUT0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3570 | { &hf_SAPDIAG_SUPPORT_BIT_STOP_TRANS,
3571 | { "Support Bit STOP_TRANS", "sapdiag.diag.supportbits.STOP_TRANS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_STOP_TRANS0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3572 | { &hf_SAPDIAG_SUPPORT_BIT_FULL_MENU,
3573 | { "Support Bit FULL_MENU", "sapdiag.diag.supportbits.FULL_MENU", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_FULL_MENU0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3574 | { &hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES,
3575 | { "Support Bit OBJECT_NAMES", "sapdiag.diag.supportbits.OBJECT_NAMES", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_OBJECT_NAMES0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3576 | { &hf_SAPDIAG_SUPPORT_BIT_CONTAINER_TYPE,
3577 | { "Support Bit CONTAINER_TYPE", "sapdiag.diag.supportbits.CONTAINER_TYPE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONTAINER_TYPE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3578 | { &hf_SAPDIAG_SUPPORT_BIT_DLGH_FLAGS,
3579 | { "Support Bit DLGH_FLAGS", "sapdiag.diag.supportbits.DLGH_FLAGS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DLGH_FLAGS0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3580 |
3581 | { &hf_SAPDIAG_SUPPORT_BIT_APPL_MNU,
3582 | { "Support Bit APPL_MNU", "sapdiag.diag.supportbits.APPL_MNU", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_APPL_MNU0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3583 | { &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO,
3584 | { "Support Bit MESSAGE_INFO", "sapdiag.diag.supportbits.MESSAGE_INFO", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MESSAGE_INFO0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3585 | { &hf_SAPDIAG_SUPPORT_BIT_MESDUM_FLAG1,
3586 | { "Support Bit MESDUM_FLAG1", "sapdiag.diag.supportbits.MESDUM_FLAG1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MESDUM_FLAG10x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3587 | { &hf_SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB,
3588 | { "Support Bit TABSEL_ATTRIB", "sapdiag.diag.supportbits.TABSEL_ATTRIB", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3589 | { &hf_SAPDIAG_SUPPORT_BIT_GUIAPI,
3590 | { "Support Bit GUIAPI", "sapdiag.diag.supportbits.GUIAPI", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUIAPI0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3591 | { &hf_SAPDIAG_SUPPORT_BIT_NOGRAPH,
3592 | { "Support Bit NOGRAPH", "sapdiag.diag.supportbits.NOGRAPH", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NOGRAPH0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3593 | { &hf_SAPDIAG_SUPPORT_BIT_NOMESSAGES,
3594 | { "Support Bit NOMESSAGES", "sapdiag.diag.supportbits.NOMESSAGES", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NOMESSAGES0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3595 | { &hf_SAPDIAG_SUPPORT_BIT_NORABAX,
3596 | { "Support Bit NORABAX", "sapdiag.diag.supportbits.NORABAX", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NORABAX0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3597 |
3598 | { &hf_SAPDIAG_SUPPORT_BIT_NOSYSMSG,
3599 | { "Support Bit NOSYSMSG", "sapdiag.diag.supportbits.NOSYSMSG", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NOSYSMSG0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3600 | { &hf_SAPDIAG_SUPPORT_BIT_NOSAPSCRIPT,
3601 | { "Support Bit NOSAPSCRIPT", "sapdiag.diag.supportbits.NOSAPSCRIPT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NOSAPSCRIPT0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3602 | { &hf_SAPDIAG_SUPPORT_BIT_NORFC,
3603 | { "Support Bit NORFC", "sapdiag.diag.supportbits.NORFC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NORFC0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3604 | { &hf_SAPDIAG_SUPPORT_BIT_NEW_BSD_JUSTRIGHT,
3605 | { "Support Bit NEW_BSD_JUSTRIGHT", "sapdiag.diag.supportbits.NEW_BSD_JUSTRIGHT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NEW_BSD_JUSTRIGHT0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3606 | { &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_VARS,
3607 | { "Support Bit MESSAGE_VARS", "sapdiag.diag.supportbits.MESSAGE_VARS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MESSAGE_VARS0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3608 | { &hf_SAPDIAG_SUPPORT_BIT_OCX_SUPPORT,
3609 | { "Support Bit OCX_SUPPORT", "sapdiag.diag.supportbits.OCX_SUPPORT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_OCX_SUPPORT0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3610 | { &hf_SAPDIAG_SUPPORT_BIT_SCROLL_INFOS,
3611 | { "Support Bit SCROLL_INFOS", "sapdiag.diag.supportbits.SCROLL_INFOS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SCROLL_INFOS0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3612 | { &hf_SAPDIAG_SUPPORT_BIT_TABLE_SIZE_OK,
3613 | { "Support Bit TABLE_SIZE_OK", "sapdiag.diag.supportbits.TABLE_SIZE_OK", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABLE_SIZE_OK0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3614 |
3615 | { &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO2,
3616 | { "Support Bit MESSAGE_INFO2", "sapdiag.diag.supportbits.MESSAGE_INFO2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MESSAGE_INFO20x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3617 | { &hf_SAPDIAG_SUPPORT_BIT_VARINFO_OKCODE,
3618 | { "Support Bit VARINFO_OKCODE", "sapdiag.diag.supportbits.VARINFO_OKCODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_VARINFO_OKCODE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3619 | { &hf_SAPDIAG_SUPPORT_BIT_CURR_TCODE,
3620 | { "Support Bit CURR_TCODE", "sapdiag.diag.supportbits.CURR_TCODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CURR_TCODE0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3621 | { &hf_SAPDIAG_SUPPORT_BIT_CONN_WSIZE,
3622 | { "Support Bit CONN_WSIZE", "sapdiag.diag.supportbits.CONN_WSIZE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONN_WSIZE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3623 | { &hf_SAPDIAG_SUPPORT_BIT_PUSHBUTTON_2,
3624 | { "Support Bit PUSHBUTTON_2", "sapdiag.diag.supportbits.PUSHBUTTON_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_PUSHBUTTON_20x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3625 | { &hf_SAPDIAG_SUPPORT_BIT_TABSTRIP,
3626 | { "Support Bit TABSTRIP", "sapdiag.diag.supportbits.TABSTRIP", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABSTRIP0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3627 | { &hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_1,
3628 | { "Support Bit UNKNOWN_1", "sapdiag.diag.supportbits.UNKNOWN_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNKNOWN_10x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3629 | { &hf_SAPDIAG_SUPPORT_BIT_TABSCROLL_INFOS,
3630 | { "Support Bit TABSCROLL_INFOS", "sapdiag.diag.supportbits.TABSCROLL_INFOS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABSCROLL_INFOS0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3631 |
3632 | { &hf_SAPDIAG_SUPPORT_BIT_TABLE_FIELD_NAMES,
3633 | { "Support Bit TABLE_FIELD_NAMES", "sapdiag.diag.supportbits.TABLE_FIELD_NAMES", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABLE_FIELD_NAMES0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3634 | { &hf_SAPDIAG_SUPPORT_BIT_NEW_MODE_REQUEST,
3635 | { "Support Bit NEW_MODE_REQUEST", "sapdiag.diag.supportbits.NEW_MODE_REQUEST", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NEW_MODE_REQUEST0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3636 | { &hf_SAPDIAG_SUPPORT_BIT_RFCBLOB_DIAG_PARSER,
3637 | { "Support Bit RFCBLOB_DIAG_PARSER", "sapdiag.diag.supportbits.RFCBLOB_DIAG_PARSER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_RFCBLOB_DIAG_PARSER0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3638 | { &hf_SAPDIAG_SUPPORT_BIT_MULTI_LOGIN_USER,
3639 | { "Support Bit MULTI_LOGIN_USER", "sapdiag.diag.supportbits.MULTI_LOGIN_USER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MULTI_LOGIN_USER0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3640 | { &hf_SAPDIAG_SUPPORT_BIT_CONTROL_CONTAINER,
3641 | { "Support Bit CONTROL_CONTAINER", "sapdiag.diag.supportbits.CONTROL_CONTAINER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONTROL_CONTAINER0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3642 | { &hf_SAPDIAG_SUPPORT_BIT_APPTOOLBAR_FIXED,
3643 | { "Support Bit APPTOOLBAR_FIXED", "sapdiag.diag.supportbits.APPTOOLBAR_FIXED", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_APPTOOLBAR_FIXED0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3644 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_USER_CHECKED,
3645 | { "Support Bit R3INFO_USER_CHECKED", "sapdiag.diag.supportbits.R3INFO_USER_CHECKED", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_USER_CHECKED0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3646 | { &hf_SAPDIAG_SUPPORT_BIT_NEED_STDDYNPRO,
3647 | { "Support Bit NEED_STDDYNPRO", "sapdiag.diag.supportbits.NEED_STDDYNPRO", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NEED_STDDYNPRO0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3648 |
3649 | { &hf_SAPDIAG_SUPPORT_BIT_TYPE_SERVER,
3650 | { "Support Bit TYPE_SERVER", "sapdiag.diag.supportbits.TYPE_SERVER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TYPE_SERVER0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3651 | { &hf_SAPDIAG_SUPPORT_BIT_COMBOBOX,
3652 | { "Support Bit COMBOBOX", "sapdiag.diag.supportbits.COMBOBOX", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_COMBOBOX0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3653 | { &hf_SAPDIAG_SUPPORT_BIT_INPUT_REQUIRED,
3654 | { "Support Bit INPUT_REQUIRED", "sapdiag.diag.supportbits.INPUT_REQUIRED", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_INPUT_REQUIRED0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3655 | { &hf_SAPDIAG_SUPPORT_BIT_ISO_LANGUAGE,
3656 | { "Support Bit ISO_LANGUAGE", "sapdiag.diag.supportbits.ISO_LANGUAGE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ISO_LANGUAGE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3657 | { &hf_SAPDIAG_SUPPORT_BIT_COMBOBOX_TABLE,
3658 | { "Support Bit COMBOBOX_TABLE", "sapdiag.diag.supportbits.COMBOBOX_TABLE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_COMBOBOX_TABLE0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3659 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS,
3660 | { "Support Bit R3INFO_FLAGS", "sapdiag.diag.supportbits.R3INFO_FLAGS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3661 | { &hf_SAPDIAG_SUPPORT_BIT_CHECKRADIO_EVENTS,
3662 | { "Support Bit CHECKRADIO_EVENTS", "sapdiag.diag.supportbits.CHECKRADIO_EVENTS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CHECKRADIO_EVENTS0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3663 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_USERID,
3664 | { "Support Bit R3INFO_USERID", "sapdiag.diag.supportbits.R3INFO_USERID", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_USERID0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3665 |
3666 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_ROLLCOUNT,
3667 | { "Support Bit R3INFO_ROLLCOUNT", "sapdiag.diag.supportbits.R3INFO_ROLLCOUNT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_ROLLCOUNT0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3668 | { &hf_SAPDIAG_SUPPORT_BIT_USER_TURNTIME2,
3669 | { "Support Bit USER_TURNTIME2", "sapdiag.diag.supportbits.USER_TURNTIME2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_USER_TURNTIME20x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3670 | { &hf_SAPDIAG_SUPPORT_BIT_NUM_FIELD,
3671 | { "Support Bit NUM_FIELD", "sapdiag.diag.supportbits.NUM_FIELD", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NUM_FIELD0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3672 | { &hf_SAPDIAG_SUPPORT_BIT_WIN16,
3673 | { "Support Bit WIN16", "sapdiag.diag.supportbits.WIN16", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_WIN160x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3674 | { &hf_SAPDIAG_SUPPORT_BIT_CONTEXT_MENU,
3675 | { "Support Bit CONTEXT_MENU", "sapdiag.diag.supportbits.CONTEXT_MENU", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONTEXT_MENU0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3676 | { &hf_SAPDIAG_SUPPORT_BIT_SCROLLABLE_TABSTRIP_PAGE,
3677 | { "Support Bit SCROLLABLE_TABSTRIP_PAGE", "sapdiag.diag.supportbits.SCROLLABLE_TABSTRIP_PAGE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SCROLLABLE_TABSTRIP_PAGE0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3678 | { &hf_SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION,
3679 | { "Support Bit EVENT_DESCRIPTION", "sapdiag.diag.supportbits.EVENT_DESCRIPTION", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3680 | { &hf_SAPDIAG_SUPPORT_BIT_LABEL_OWNER,
3681 | { "Support Bit LABEL_OWNER", "sapdiag.diag.supportbits.LABEL_OWNER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_LABEL_OWNER0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3682 |
3683 | { &hf_SAPDIAG_SUPPORT_BIT_CLICKABLE_FIELD,
3684 | { "Support Bit CLICKABLE_FIELD", "sapdiag.diag.supportbits.CLICKABLE_FIELD", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CLICKABLE_FIELD0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3685 | { &hf_SAPDIAG_SUPPORT_BIT_PROPERTY_BAG,
3686 | { "Support Bit PROPERTY_BAG", "sapdiag.diag.supportbits.PROPERTY_BAG", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_PROPERTY_BAG0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3687 | { &hf_SAPDIAG_SUPPORT_BIT_UNUSED_1,
3688 | { "Support Bit UNUSED_1", "sapdiag.diag.supportbits.UNUSED_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNUSED_10x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3689 | { &hf_SAPDIAG_SUPPORT_BIT_TABLE_ROW_REFERENCES_2,
3690 | { "Support Bit TABLE_ROW_REFERENCES_2", "sapdiag.diag.supportbits.TABLE_ROW_REFERENCES_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABLE_ROW_REFERENCES_20x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3691 | { &hf_SAPDIAG_SUPPORT_BIT_PROPFONT_VALID,
3692 | { "Support Bit PROPFONT_VALID", "sapdiag.diag.supportbits.PROPFONT_VALID", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_PROPFONT_VALID0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3693 | { &hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER,
3694 | { "Support Bit VARINFO_CONTAINER", "sapdiag.diag.supportbits.VARINFO_CONTAINER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3695 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_IMODEUUID,
3696 | { "Support Bit R3INFO_IMODEUUID", "sapdiag.diag.supportbits.R3INFO_IMODEUUID", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_IMODEUUID0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3697 | { &hf_SAPDIAG_SUPPORT_BIT_NOTGUI,
3698 | { "Support Bit NOTGUI", "sapdiag.diag.supportbits.NOTGUI", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NOTGUI0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3699 |
3700 | { &hf_SAPDIAG_SUPPORT_BIT_WAN,
3701 | { "Support Bit WAN", "sapdiag.diag.supportbits.WAN", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_WAN0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3702 | { &hf_SAPDIAG_SUPPORT_BIT_XML_BLOBS,
3703 | { "Support Bit XML_BLOBS", "sapdiag.diag.supportbits.XML_BLOBS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_XML_BLOBS0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3704 | { &hf_SAPDIAG_SUPPORT_BIT_RFC_QUEUE,
3705 | { "Support Bit RFC_QUEUE", "sapdiag.diag.supportbits.RFC_QUEUE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_RFC_QUEUE0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3706 | { &hf_SAPDIAG_SUPPORT_BIT_RFC_COMPRESS,
3707 | { "Support Bit RFC_COMPRESS", "sapdiag.diag.supportbits.RFC_COMPRESS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_RFC_COMPRESS0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3708 | { &hf_SAPDIAG_SUPPORT_BIT_JAVA_BEANS,
3709 | { "Support Bit JAVA_BEANS", "sapdiag.diag.supportbits.JAVA_BEANS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_JAVA_BEANS0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3710 | { &hf_SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND,
3711 | { "Support Bit DPLOADONDEMAND", "sapdiag.diag.supportbits.DPLOADONDEMAND", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3712 | { &hf_SAPDIAG_SUPPORT_BIT_CTL_PROPCACHE,
3713 | { "Support Bit CTL_PROPCACHE", "sapdiag.diag.supportbits.CTL_PROPCACHE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CTL_PROPCACHE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3714 | { &hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID,
3715 | { "Support Bit ENJOY_IMODEUUID", "sapdiag.diag.supportbits.ENJOY_IMODEUUID", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3716 |
3717 | { &hf_SAPDIAG_SUPPORT_BIT_RFC_ASYNC_BLOB,
3718 | { "Support Bit RFC_ASYNC_BLOB", "sapdiag.diag.supportbits.RFC_ASYNC_BLOB", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_RFC_ASYNC_BLOB0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3719 | { &hf_SAPDIAG_SUPPORT_BIT_KEEP_SCROLLPOS,
3720 | { "Support Bit KEEP_SCROLLPOS", "sapdiag.diag.supportbits.KEEP_SCROLLPOS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_KEEP_SCROLLPOS0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3721 | { &hf_SAPDIAG_SUPPORT_BIT_UNUSED_2,
3722 | { "Support Bit UNUSED_2", "sapdiag.diag.supportbits.UNUSED_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNUSED_20x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3723 | { &hf_SAPDIAG_SUPPORT_BIT_UNUSED_3,
3724 | { "Support Bit UNUSED_3", "sapdiag.diag.supportbits.UNUSED_3", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNUSED_30x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3725 | { &hf_SAPDIAG_SUPPORT_BIT_XML_PROPERTIES,
3726 | { "Support Bit XML_PROPERTIES", "sapdiag.diag.supportbits.XML_PROPERTIES", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_XML_PROPERTIES0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3727 | { &hf_SAPDIAG_SUPPORT_BIT_UNUSED_4,
3728 | { "Support Bit UNUSED_4", "sapdiag.diag.supportbits.UNUSED_4", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNUSED_40x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3729 | { &hf_SAPDIAG_SUPPORT_BIT_HEX_FIELD,
3730 | { "Support Bit HEX_FIELD", "sapdiag.diag.supportbits.HEX_FIELD", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_HEX_FIELD0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3731 | { &hf_SAPDIAG_SUPPORT_BIT_HAS_CACHE,
3732 | { "Support Bit HAS_CACHE", "sapdiag.diag.supportbits.HAS_CACHE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_HAS_CACHE0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3733 |
3734 | { &hf_SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE,
3735 | { "Support Bit XML_PROP_TABLE", "sapdiag.diag.supportbits.XML_PROP_TABLE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3736 | { &hf_SAPDIAG_SUPPORT_BIT_UNUSED_5,
3737 | { "Support Bit UNUSED_5", "sapdiag.diag.supportbits.UNUSED_5", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNUSED_50x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3738 | { &hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID2,
3739 | { "Support Bit ENJOY_IMODEUUID2", "sapdiag.diag.supportbits.ENJOY_IMODEUUID2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID20x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3740 | { &hf_SAPDIAG_SUPPORT_BIT_ITS,
3741 | { "Support Bit ITS", "sapdiag.diag.supportbits.ITS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ITS0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3742 | { &hf_SAPDIAG_SUPPORT_BIT_NO_EASYACCESS,
3743 | { "Support Bit NO_EASYACCESS", "sapdiag.diag.supportbits.NO_EASYACCESS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NO_EASYACCESS0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3744 | { &hf_SAPDIAG_SUPPORT_BIT_PROPERTYPUMP,
3745 | { "Support Bit PROPERTYPUMP", "sapdiag.diag.supportbits.PROPERTYPUMP", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_PROPERTYPUMP0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3746 | { &hf_SAPDIAG_SUPPORT_BIT_COOKIE,
3747 | { "Support Bit COOKIE", "sapdiag.diag.supportbits.COOKIE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_COOKIE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3748 | { &hf_SAPDIAG_SUPPORT_BIT_UNUSED_6,
3749 | { "Support Bit UNUSED_6", "sapdiag.diag.supportbits.UNUSED_6", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNUSED_60x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3750 |
3751 | { &hf_SAPDIAG_SUPPORT_BIT_SUPPBIT_AREA_SIZE,
3752 | { "Support Bit SUPPBIT_AREA_SIZE", "sapdiag.diag.supportbits.SUPPBIT_AREA_SIZE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SUPPBIT_AREA_SIZE0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3753 | { &hf_SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND_WRITE,
3754 | { "Support Bit DPLOADONDEMAND_WRITE", "sapdiag.diag.supportbits.DPLOADONDEMAND_WRITE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DPLOADONDEMAND_WRITE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3755 | { &hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS,
3756 | { "Support Bit CONTROL_FOCUS", "sapdiag.diag.supportbits.CONTROL_FOCUS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3757 | { &hf_SAPDIAG_SUPPORT_BIT_ENTRY_HISTORY,
3758 | { "Support Bit ENTRY_HISTORY", "sapdiag.diag.supportbits.ENTRY_HISTORY", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENTRY_HISTORY0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3759 | { &hf_SAPDIAG_SUPPORT_BIT_AUTO_CODEPAGE,
3760 | { "Support Bit AUTO_CODEPAGE", "sapdiag.diag.supportbits.AUTO_CODEPAGE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_AUTO_CODEPAGE0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3761 | { &hf_SAPDIAG_SUPPORT_BIT_CACHED_VSETS,
3762 | { "Support Bit CACHED_VSETS", "sapdiag.diag.supportbits.CACHED_VSETS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CACHED_VSETS0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3763 | { &hf_SAPDIAG_SUPPORT_BIT_EMERGENCY_REPAIR,
3764 | { "Support Bit EMERGENCY_REPAIR", "sapdiag.diag.supportbits.EMERGENCY_REPAIR", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_EMERGENCY_REPAIR0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3765 | { &hf_SAPDIAG_SUPPORT_BIT_AREA2FRONT,
3766 | { "Support Bit AREA2FRONT", "sapdiag.diag.supportbits.AREA2FRONT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_AREA2FRONT0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3767 |
3768 | { &hf_SAPDIAG_SUPPORT_BIT_SCROLLBAR_WIDTH,
3769 | { "Support Bit SCROLLBAR_WIDTH", "sapdiag.diag.supportbits.SCROLLBAR_WIDTH", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SCROLLBAR_WIDTH0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3770 | { &hf_SAPDIAG_SUPPORT_BIT_AUTORESIZE,
3771 | { "Support Bit AUTORESIZE", "sapdiag.diag.supportbits.AUTORESIZE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_AUTORESIZE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3772 | { &hf_SAPDIAG_SUPPORT_BIT_EDIT_VARLEN,
3773 | { "Support Bit EDIT_VARLEN", "sapdiag.diag.supportbits.EDIT_VARLEN", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_EDIT_VARLEN0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3774 | { &hf_SAPDIAG_SUPPORT_BIT_WORKPLACE,
3775 | { "Support Bit WORKPLACE", "sapdiag.diag.supportbits.WORKPLACE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_WORKPLACE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3776 | { &hf_SAPDIAG_SUPPORT_BIT_PRINTDATA,
3777 | { "Support Bit PRINTDATA", "sapdiag.diag.supportbits.PRINTDATA", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_PRINTDATA0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3778 | { &hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_2,
3779 | { "Support Bit UNKNOWN_2", "sapdiag.diag.supportbits.UNKNOWN_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNKNOWN_20x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3780 | { &hf_SAPDIAG_SUPPORT_BIT_SINGLE_SESSION,
3781 | { "Support Bit SINGLE_SESSION", "sapdiag.diag.supportbits.SINGLE_SESSION", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SINGLE_SESSION0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3782 | { &hf_SAPDIAG_SUPPORT_BIT_NOTIFY_NEWMODE,
3783 | { "Support Bit NOTIFY_NEWMODE", "sapdiag.diag.supportbits.NOTIFY_NEWMODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NOTIFY_NEWMODE0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3784 |
3785 | { &hf_SAPDIAG_SUPPORT_BIT_TOOLBAR_HEIGHT,
3786 | { "Support Bit TOOLBAR_HEIGHT", "sapdiag.diag.supportbits.TOOLBAR_HEIGHT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TOOLBAR_HEIGHT0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3787 | { &hf_SAPDIAG_SUPPORT_BIT_XMLPROP_CONTAINER,
3788 | { "Support Bit XMLPROP_CONTAINER", "sapdiag.diag.supportbits.XMLPROP_CONTAINER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_XMLPROP_CONTAINER0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3789 | { &hf_SAPDIAG_SUPPORT_BIT_XMLPROP_DYNPRO,
3790 | { "Support Bit XMLPROP_DYNPRO", "sapdiag.diag.supportbits.XMLPROP_DYNPRO", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_XMLPROP_DYNPRO0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3791 | { &hf_SAPDIAG_SUPPORT_BIT_DP_HTTP_PUT,
3792 | { "Support Bit DP_HTTP_PUT", "sapdiag.diag.supportbits.DP_HTTP_PUT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DP_HTTP_PUT0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3793 | { &hf_SAPDIAG_SUPPORT_BIT_DYNAMIC_PASSPORT,
3794 | { "Support Bit DYNAMIC_PASSPORT", "sapdiag.diag.supportbits.DYNAMIC_PASSPORT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DYNAMIC_PASSPORT0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3795 | { &hf_SAPDIAG_SUPPORT_BIT_WEBGUI,
3796 | { "Support Bit WEBGUI", "sapdiag.diag.supportbits.WEBGUI", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_WEBGUI0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3797 | { &hf_SAPDIAG_SUPPORT_BIT_WEBGUI_HELPMODE,
3798 | { "Support Bit WEBGUI_HELPMODE", "sapdiag.diag.supportbits.WEBGUI_HELPMODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_WEBGUI_HELPMODE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3799 | { &hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST,
3800 | { "Support Bit CONTROL_FOCUS_ON_LIST", "sapdiag.diag.supportbits.CONTROL_FOCUS_ON_LIST", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3801 |
3802 | { &hf_SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_2,
3803 | { "Support Bit CBU_RBUDUMMY_2", "sapdiag.diag.supportbits.CBU_RBUDUMMY_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_20x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3804 | { &hf_SAPDIAG_SUPPORT_BIT_EOKDUMMY_1,
3805 | { "Support Bit EOKDUMMY_1", "sapdiag.diag.supportbits.EOKDUMMY_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_EOKDUMMY_10x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3806 | { &hf_SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING,
3807 | { "Support Bit GUI_USER_SCRIPTING", "sapdiag.diag.supportbits.GUI_USER_SCRIPTING", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3808 | { &hf_SAPDIAG_SUPPORT_BIT_SLC,
3809 | { "Support Bit SLC", "sapdiag.diag.supportbits.SLC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SLC0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3810 | { &hf_SAPDIAG_SUPPORT_BIT_ACCESSIBILITY,
3811 | { "Support Bit ACCESSIBILITY", "sapdiag.diag.supportbits.ACCESSIBILITY", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ACCESSIBILITY0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3812 | { &hf_SAPDIAG_SUPPORT_BIT_ECATT,
3813 | { "Support Bit ECATT", "sapdiag.diag.supportbits.ECATT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ECATT0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3814 | { &hf_SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID3,
3815 | { "Support Bit ENJOY_IMODEUUID3", "sapdiag.diag.supportbits.ENJOY_IMODEUUID3", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENJOY_IMODEUUID30x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3816 | { &hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF8,
3817 | { "Support Bit ENABLE_UTF8", "sapdiag.diag.supportbits.ENABLE_UTF8", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENABLE_UTF80x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3818 |
3819 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_AUTOLOGOUT_TIME,
3820 | { "Support Bit R3INFO_AUTOLOGOUT_TIME", "sapdiag.diag.supportbits.R3INFO_AUTOLOGOUT_TIME", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_AUTOLOGOUT_TIME0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3821 | { &hf_SAPDIAG_SUPPORT_BIT_VARINFO_ICON_TITLE_LIST,
3822 | { "Support Bit VARINFO_ICON_TITLE_LIST", "sapdiag.diag.supportbits.VARINFO_ICON_TITLE_LIST", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_VARINFO_ICON_TITLE_LIST0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3823 | { &hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF16BE,
3824 | { "Support Bit ENABLE_UTF16BE", "sapdiag.diag.supportbits.ENABLE_UTF16BE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENABLE_UTF16BE0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3825 | { &hf_SAPDIAG_SUPPORT_BIT_ENABLE_UTF16LE,
3826 | { "Support Bit ENABLE_UTF16LE", "sapdiag.diag.supportbits.ENABLE_UTF16LE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENABLE_UTF16LE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3827 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP,
3828 | { "Support Bit R3INFO_CODEPAGE_APP", "sapdiag.diag.supportbits.R3INFO_CODEPAGE_APP", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3829 | { &hf_SAPDIAG_SUPPORT_BIT_ENABLE_APPL4,
3830 | { "Support Bit ENABLE_APPL4", "sapdiag.diag.supportbits.ENABLE_APPL4", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ENABLE_APPL40x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3831 | { &hf_SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL,
3832 | { "Support Bit GUIPATCHLEVEL", "sapdiag.diag.supportbits.GUIPATCHLEVEL", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3833 | { &hf_SAPDIAG_SUPPORT_BIT_CBURBU_NEW_STATE,
3834 | { "Support Bit CBURBU_NEW_STATE", "sapdiag.diag.supportbits.CBURBU_NEW_STATE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CBURBU_NEW_STATE0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3835 |
3836 | { &hf_SAPDIAG_SUPPORT_BIT_BINARY_EVENTID,
3837 | { "Support Bit BINARY_EVENTID", "sapdiag.diag.supportbits.BINARY_EVENTID", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_BINARY_EVENTID0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3838 | { &hf_SAPDIAG_SUPPORT_BIT_GUI_THEME,
3839 | { "Support Bit GUI_THEME", "sapdiag.diag.supportbits.GUI_THEME", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUI_THEME0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3840 | { &hf_SAPDIAG_SUPPORT_BIT_TOP_WINDOW,
3841 | { "Support Bit TOP_WINDOW", "sapdiag.diag.supportbits.TOP_WINDOW", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TOP_WINDOW0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3842 | { &hf_SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION_1,
3843 | { "Support Bit EVENT_DESCRIPTION_1", "sapdiag.diag.supportbits.EVENT_DESCRIPTION_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_EVENT_DESCRIPTION_10x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3844 | { &hf_SAPDIAG_SUPPORT_BIT_SPLITTER,
3845 | { "Support Bit SPLITTER", "sapdiag.diag.supportbits.SPLITTER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SPLITTER0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3846 | { &hf_SAPDIAG_SUPPORT_BIT_VALUE_4_HISTORY,
3847 | { "Support Bit VALUE_4_HISTORY", "sapdiag.diag.supportbits.VALUE_4_HISTORY", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_VALUE_4_HISTORY0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3848 | { &hf_SAPDIAG_SUPPORT_BIT_ACC_LIST,
3849 | { "Support Bit ACC_LIST", "sapdiag.diag.supportbits.ACC_LIST", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ACC_LIST0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3850 | { &hf_SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING_INFO,
3851 | { "Support Bit GUI_USER_SCRIPTING_INFO", "sapdiag.diag.supportbits.GUI_USER_SCRIPTING_INFO", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUI_USER_SCRIPTING_INFO0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3852 |
3853 | { &hf_SAPDIAG_SUPPORT_BIT_TEXTEDIT_STREAM,
3854 | { "Support Bit TEXTEDIT_STREAM", "sapdiag.diag.supportbits.TEXTEDIT_STREAM", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TEXTEDIT_STREAM0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3855 | { &hf_SAPDIAG_SUPPORT_BIT_DYNT_NOFOCUS,
3856 | { "Support Bit DYNT_NOFOCUS", "sapdiag.diag.supportbits.DYNT_NOFOCUS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DYNT_NOFOCUS0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3857 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP_1,
3858 | { "Support Bit R3INFO_CODEPAGE_APP_1", "sapdiag.diag.supportbits.R3INFO_CODEPAGE_APP_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_CODEPAGE_APP_10x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3859 | { &hf_SAPDIAG_SUPPORT_BIT_FRAME_1,
3860 | { "Support Bit FRAME_1", "sapdiag.diag.supportbits.FRAME_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_FRAME_10x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3861 | { &hf_SAPDIAG_SUPPORT_BIT_TICKET4GUI,
3862 | { "Support Bit TICKET4GUI", "sapdiag.diag.supportbits.TICKET4GUI", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TICKET4GUI0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3863 | { &hf_SAPDIAG_SUPPORT_BIT_ACC_LIST_PROPS,
3864 | { "Support Bit ACC_LIST_PROPS", "sapdiag.diag.supportbits.ACC_LIST_PROPS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ACC_LIST_PROPS0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3865 | { &hf_SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB_INPUT,
3866 | { "Support Bit TABSEL_ATTRIB_INPUT", "sapdiag.diag.supportbits.TABSEL_ATTRIB_INPUT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABSEL_ATTRIB_INPUT0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3867 | { &hf_SAPDIAG_SUPPORT_BIT_DEFAULT_TOOLTIP,
3868 | { "Support Bit DEFAULT_TOOLTIP", "sapdiag.diag.supportbits.DEFAULT_TOOLTIP", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DEFAULT_TOOLTIP0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3869 |
3870 | { &hf_SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE_2,
3871 | { "Support Bit XML_PROP_TABLE_2", "sapdiag.diag.supportbits.XML_PROP_TABLE_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_XML_PROP_TABLE_20x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3872 | { &hf_SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_3,
3873 | { "Support Bit CBU_RBUDUMMY_3", "sapdiag.diag.supportbits.CBU_RBUDUMMY_3", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CBU_RBUDUMMY_30x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3874 | { &hf_SAPDIAG_SUPPORT_BIT_CELLINFO,
3875 | { "Support Bit CELLINFO", "sapdiag.diag.supportbits.CELLINFO", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CELLINFO0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3876 | { &hf_SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST_2,
3877 | { "Support Bit CONTROL_FOCUS_ON_LIST_2", "sapdiag.diag.supportbits.CONTROL_FOCUS_ON_LIST_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONTROL_FOCUS_ON_LIST_20x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3878 | { &hf_SAPDIAG_SUPPORT_BIT_TABLE_COLUMNWIDTH_INPUT,
3879 | { "Support Bit TABLE_COLUMNWIDTH_INPUT", "sapdiag.diag.supportbits.TABLE_COLUMNWIDTH_INPUT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TABLE_COLUMNWIDTH_INPUT0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3880 | { &hf_SAPDIAG_SUPPORT_BIT_ITS_PLUGIN,
3881 | { "Support Bit ITS_PLUGIN", "sapdiag.diag.supportbits.ITS_PLUGIN", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ITS_PLUGIN0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3882 | { &hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_4_LOGIN_PROCESS,
3883 | { "Support Bit OBJECT_NAMES_4_LOGIN_PROCESS", "sapdiag.diag.supportbits.OBJECT_NAMES_4_LOGIN_PROCESS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_4_LOGIN_PROCESS0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3884 | { &hf_SAPDIAG_SUPPORT_BIT_RFC_SERVER_4_GUI,
3885 | { "Support Bit RFC_SERVER_4_GUI", "sapdiag.diag.supportbits.RFC_SERVER_4_GUI", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_RFC_SERVER_4_GUI0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3886 |
3887 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS_2,
3888 | { "Support Bit R3INFO_FLAGS_2", "sapdiag.diag.supportbits.R3INFO_FLAGS_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_FLAGS_20x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3889 | { &hf_SAPDIAG_SUPPORT_BIT_RCUI,
3890 | { "Support Bit RCUI", "sapdiag.diag.supportbits.RCUI", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_RCUI0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3891 | { &hf_SAPDIAG_SUPPORT_BIT_MENUENTRY_WITH_FCODE,
3892 | { "Support Bit MENUENTRY_WITH_FCODE", "sapdiag.diag.supportbits.MENUENTRY_WITH_FCODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MENUENTRY_WITH_FCODE0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3893 | { &hf_SAPDIAG_SUPPORT_BIT_WEBSAPCONSOLE,
3894 | { "Support Bit WEBSAPCONSOLE", "sapdiag.diag.supportbits.WEBSAPCONSOLE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_WEBSAPCONSOLE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3895 | { &hf_SAPDIAG_SUPPORT_BIT_R3INFO_KERNEL_VERSION,
3896 | { "Support Bit R3INFO_KERNEL_VERSION", "sapdiag.diag.supportbits.R3INFO_KERNEL_VERSION", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_R3INFO_KERNEL_VERSION0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3897 | { &hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_LOOP,
3898 | { "Support Bit VARINFO_CONTAINER_LOOP", "sapdiag.diag.supportbits.VARINFO_CONTAINER_LOOP", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_LOOP0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3899 | { &hf_SAPDIAG_SUPPORT_BIT_EOKDUMMY_2,
3900 | { "Support Bit EOKDUMMY_2", "sapdiag.diag.supportbits.EOKDUMMY_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_EOKDUMMY_20x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3901 | { &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_INFO3,
3902 | { "Support Bit MESSAGE_INFO3", "sapdiag.diag.supportbits.MESSAGE_INFO3", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MESSAGE_INFO30x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3903 |
3904 | { &hf_SAPDIAG_SUPPORT_BIT_SBA2,
3905 | { "Support Bit SBA2", "sapdiag.diag.supportbits.SBA2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SBA20x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3906 | { &hf_SAPDIAG_SUPPORT_BIT_MAINAREA_SIZE,
3907 | { "Support Bit MAINAREA_SIZE", "sapdiag.diag.supportbits.MAINAREA_SIZE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MAINAREA_SIZE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3908 | { &hf_SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL_2,
3909 | { "Support Bit GUIPATCHLEVEL_2", "sapdiag.diag.supportbits.GUIPATCHLEVEL_2", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUIPATCHLEVEL_20x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3910 | { &hf_SAPDIAG_SUPPORT_BIT_DISPLAY_SIZE,
3911 | { "Support Bit DISPLAY_SIZE", "sapdiag.diag.supportbits.DISPLAY_SIZE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DISPLAY_SIZE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3912 | { &hf_SAPDIAG_SUPPORT_BIT_GUI_PACKET,
3913 | { "Support Bit GUI_PACKET", "sapdiag.diag.supportbits.GUI_PACKET", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUI_PACKET0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3914 | { &hf_SAPDIAG_SUPPORT_BIT_DIALOG_STEP_NUMBER,
3915 | { "Support Bit DIALOG_STEP_NUMBER", "sapdiag.diag.supportbits.DIALOG_STEP_NUMBER", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DIALOG_STEP_NUMBER0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3916 | { &hf_SAPDIAG_SUPPORT_BIT_TC_KEEP_SCROLL_POSITION,
3917 | { "Support Bit TC_KEEP_SCROLL_POSITION", "sapdiag.diag.supportbits.TC_KEEP_SCROLL_POSITION", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TC_KEEP_SCROLL_POSITION0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3918 | { &hf_SAPDIAG_SUPPORT_BIT_MESSAGE_SERVICE_REQUEST,
3919 | { "Support Bit MESSAGE_SERVICE_REQUEST", "sapdiag.diag.supportbits.MESSAGE_SERVICE_REQUEST", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MESSAGE_SERVICE_REQUEST0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3920 |
3921 | { &hf_SAPDIAG_SUPPORT_BIT_DYNT_FOCUS_FRAME,
3922 | { "Support Bit DYNT_FOCUS_FRAME", "sapdiag.diag.supportbits.DYNT_FOCUS_FRAME", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_DYNT_FOCUS_FRAME0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3923 | { &hf_SAPDIAG_SUPPORT_BIT_MAX_STRING_LEN,
3924 | { "Support Bit MAX_STRING_LEN", "sapdiag.diag.supportbits.MAX_STRING_LEN", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MAX_STRING_LEN0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3925 | { &hf_SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_1,
3926 | { "Support Bit VARINFO_CONTAINER_1", "sapdiag.diag.supportbits.VARINFO_CONTAINER_1", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_VARINFO_CONTAINER_10x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3927 | { &hf_SAPDIAG_SUPPORT_BIT_STD_TOOLBAR_ITEMS,
3928 | { "Support Bit STD_TOOLBAR_ITEMS", "sapdiag.diag.supportbits.STD_TOOLBAR_ITEMS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_STD_TOOLBAR_ITEMS0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3929 | { &hf_SAPDIAG_SUPPORT_BIT_XMLPROP_LIST_DYNPRO,
3930 | { "Support Bit XMLPROP_LIST_DYNPRO", "sapdiag.diag.supportbits.XMLPROP_LIST_DYNPRO", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_XMLPROP_LIST_DYNPRO0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3931 | { &hf_SAPDIAG_SUPPORT_BIT_TRACE_GUI_CONNECT,
3932 | { "Support Bit TRACE_GUI_CONNECT", "sapdiag.diag.supportbits.TRACE_GUI_CONNECT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_TRACE_GUI_CONNECT0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3933 | { &hf_SAPDIAG_SUPPORT_BIT_LIST_FULLWIDTH,
3934 | { "Support Bit LIST_FULLWIDTH", "sapdiag.diag.supportbits.LIST_FULLWIDTH", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_LIST_FULLWIDTH0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3935 | { &hf_SAPDIAG_SUPPORT_BIT_ALLWAYS_SEND_CLIENT,
3936 | { "Support Bit ALLWAYS_SEND_CLIENT", "sapdiag.diag.supportbits.ALLWAYS_SEND_CLIENT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_ALLWAYS_SEND_CLIENT0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3937 |
3938 | { &hf_SAPDIAG_SUPPORT_BIT_UNKNOWN_3,
3939 | { "Support Bit UNKNOWN_3", "sapdiag.diag.supportbits.UNKNOWN_3", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_UNKNOWN_30x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3940 | { &hf_SAPDIAG_SUPPORT_BIT_GUI_SIGNATURE_COLOR,
3941 | { "Support Bit GUI_SIGNATURE_COLOR", "sapdiag.diag.supportbits.GUI_SIGNATURE_COLOR", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUI_SIGNATURE_COLOR0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3942 | { &hf_SAPDIAG_SUPPORT_BIT_MAX_WSIZE,
3943 | { "Support Bit MAX_WSIZE", "sapdiag.diag.supportbits.MAX_WSIZE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MAX_WSIZE0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3944 | { &hf_SAPDIAG_SUPPORT_BIT_SAP_PERSONAS,
3945 | { "Support Bit SAP_PERSONAS", "sapdiag.diag.supportbits.SAP_PERSONAS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_SAP_PERSONAS0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3946 | { &hf_SAPDIAG_SUPPORT_BIT_IDA_ALV,
3947 | { "Support Bit IDA_ALV", "sapdiag.diag.supportbits.IDA_ALV", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_IDA_ALV0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3948 | { &hf_SAPDIAG_SUPPORT_BIT_IDA_ALV_FRAGMENTS,
3949 | { "Support Bit IDA_ALV_FRAGMENTS", "sapdiag.diag.supportbits.IDA_ALV_FRAGMENTS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_IDA_ALV_FRAGMENTS0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3950 | { &hf_SAPDIAG_SUPPORT_BIT_AMC,
3951 | { "Support Bit AMC", "sapdiag.diag.supportbits.AMC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_AMC0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3952 | { &hf_SAPDIAG_SUPPORT_BIT_EXTMODE_FONT_METRIC,
3953 | { "Support Bit EXTMODE_FONT_METRIC", "sapdiag.diag.supportbits.EXTMODE_FONT_METRIC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_EXTMODE_FONT_METRIC0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3954 |
3955 | { &hf_SAPDIAG_SUPPORT_BIT_GROUPBOX,
3956 | { "Support Bit GROUPBOX", "sapdiag.diag.supportbits.GROUPBOX", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GROUPBOX0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3957 | { &hf_SAPDIAG_SUPPORT_BIT_AGI_ID_TS_BUTTON,
3958 | { "Support Bit AGI_ID_TS_BUTTON", "sapdiag.diag.supportbits.AGI_ID_TS_BUTTON", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_AGI_ID_TS_BUTTON0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3959 | { &hf_SAPDIAG_SUPPORT_BIT_NO_FOCUS_ON_LIST,
3960 | { "Support Bit NO_FOCUS_ON_LIST", "sapdiag.diag.supportbits.NO_FOCUS_ON_LIST", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NO_FOCUS_ON_LIST0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3961 | { &hf_SAPDIAG_SUPPORT_BIT_FIORI_MODE,
3962 | { "Support Bit FIORI_MODE", "sapdiag.diag.supportbits.FIORI_MODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_FIORI_MODE0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3963 | { &hf_SAPDIAG_SUPPORT_BIT_CONNECT_CHECK_DONE,
3964 | { "Support Bit CONNECT_CHECK_DONE", "sapdiag.diag.supportbits.CONNECT_CHECK_DONE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONNECT_CHECK_DONE0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3965 | { &hf_SAPDIAG_SUPPORT_BIT_MSGINFO_WITH_CODEPAGE,
3966 | { "Support Bit MSGINFO_WITH_CODEPAGE", "sapdiag.diag.supportbits.MSGINFO_WITH_CODEPAGE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MSGINFO_WITH_CODEPAGE0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3967 | { &hf_SAPDIAG_SUPPORT_BIT_AGI_ID,
3968 | { "Support Bit AGI_ID", "sapdiag.diag.supportbits.AGI_ID", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_AGI_ID0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3969 | { &hf_SAPDIAG_SUPPORT_BIT_AGI_ID_TC,
3970 | { "Support Bit AGI_ID_TC", "sapdiag.diag.supportbits.AGI_ID_TC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_AGI_ID_TC0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3971 |
3972 | { &hf_SAPDIAG_SUPPORT_BIT_FIORI_TOOLBARS,
3973 | { "Support Bit FIORI_TOOLBARS", "sapdiag.diag.supportbits.FIORI_TOOLBARS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_FIORI_TOOLBARS0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3974 | { &hf_SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_ENFORCE,
3975 | { "Support Bit OBJECT_NAMES_ENFORCE", "sapdiag.diag.supportbits.OBJECT_NAMES_ENFORCE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_OBJECT_NAMES_ENFORCE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3976 | { &hf_SAPDIAG_SUPPORT_BIT_MESDUMMY_FLAGS_2_3,
3977 | { "Support Bit MESDUMMY_FLAGS_2_3", "sapdiag.diag.supportbits.MESDUMMY_FLAGS_2_3", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_MESDUMMY_FLAGS_2_30x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3978 | { &hf_SAPDIAG_SUPPORT_BIT_NWBC,
3979 | { "Support Bit NWBC", "sapdiag.diag.supportbits.NWBC", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_NWBC0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3980 | { &hf_SAPDIAG_SUPPORT_BIT_CONTAINER_LIST,
3981 | { "Support Bit CONTAINER_LIST", "sapdiag.diag.supportbits.CONTAINER_LIST", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_CONTAINER_LIST0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3982 | { &hf_SAPDIAG_SUPPORT_BIT_GUI_SYSTEM_COLOR,
3983 | { "Support Bit GUI_SYSTEM_COLOR", "sapdiag.diag.supportbits.GUI_SYSTEM_COLOR", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GUI_SYSTEM_COLOR0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3984 | { &hf_SAPDIAG_SUPPORT_BIT_GROUPBOX_WITHOUT_BOTTOMLINE,
3985 | { "Support Bit GROUPBOX_WITHOUT_BOTTOMLINE", "sapdiag.diag.supportbits.GROUPBOX_WITHOUT_BOTTOMLINE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_SUPPORT_BIT_GROUPBOX_WITHOUT_BOTTOMLINE0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3986 |
3987 | /* Dynt Atom */
3988 | { &hf_sapdiag_item_dynt_atom,
3989 | { "Dynt Atom", "sapdiag.item.value.dyntatom", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3990 | { &hf_sapdiag_item_dynt_atom_item,
3991 | { "Dynt Atom Item", "sapdiag.item.value.dyntatom.item", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3992 | { &hf_sapdiag_item_dynt_atom_item_etype,
3993 | { "Dynt Atom Item Type", "sapdiag.item.value.dyntatom.item.type", FT_UINT8, BASE_DEC, VALS(sapdiag_item_dynt_atom_item_etype_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_item_dynt_atom_item_etype_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3994 |
3995 | /* Dynt Atom Attribute Flags */
3996 | { &hf_sapdiag_item_dynt_atom_item_attr,
3997 | { "Dynt Atom Item Attributes", "sapdiag.item.value.dyntatom.item.attr", FT_UINT8, BASE_HEX, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
3998 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_COMBOSTYLE,
3999 | { "Dynt Atom Item Attribute Combo Style", "sapdiag.item.value.dyntatom.item.attr.COMBOSTYLE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_COMBOSTYLE0x80, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4000 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_YES3D,
4001 | { "Dynt Atom Item Attribute Yes3D", "sapdiag.item.value.dyntatom.item.attr.YES3D", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_YES3D0x40, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4002 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_PROPFONT,
4003 | { "Dynt Atom Item Attribute Prop Font", "sapdiag.item.value.dyntatom.item.attr.PROPFONT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_PROPFONT0x20, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4004 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_MATCHCODE,
4005 | { "Dynt Atom Item Attribute Match Code", "sapdiag.item.value.dyntatom.item.attr.MATCHCODE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_MATCHCODE0x10, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4006 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_JUSTRIGHT,
4007 | { "Dynt Atom Item Attribute Just Right", "sapdiag.item.value.dyntatom.item.attr.JUSTRIGHT", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_JUSTRIGHT0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4008 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_INTENSIFY,
4009 | { "Dynt Atom Item Attribute Intensify", "sapdiag.item.value.dyntatom.item.attr.INTENSIFY", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_INTENSIFY0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4010 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_INVISIBLE,
4011 | { "Dynt Atom Item Attribute Invisible", "sapdiag.item.value.dyntatom.item.attr.INVISIBLE", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_INVISIBLE0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4012 | { &hf_sapdiag_item_dynt_atom_item_attr_DIAG_BSD_PROTECTED,
4013 | { "Dynt Atom Item Attribute Protected", "sapdiag.item.value.dyntatom.item.attr.PROTECTED", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_ATOM_ATTR_DIAG_BSD_PROTECTED0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4014 |
4015 | /* Control Properties fields */
4016 | { &hf_sapdiag_item_control_properties_id,
4017 | { "Control Properties ID", "sapdiag.item.value.controlproperties.id", FT_UINT16, BASE_HEX, VALS(sapdiag_item_control_properties_id_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_item_control_properties_id_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4018 | { &hf_sapdiag_item_control_properties_value,
4019 | { "Control Properties Value", "sapdiag.item.value.controlproperties.value", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4020 |
4021 | /* UI Event Source fields */
4022 | { &hf_sapdiag_item_ui_event_event_type,
4023 | { "UI Event Source Type", "sapdiag.item.value.uievent.type", FT_UINT16, BASE_DEC, VALS(sapdiag_item_ui_event_event_type_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_item_ui_event_event_type_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4024 | { &hf_sapdiag_item_ui_event_control_type,
4025 | { "UI Event Control Type", "sapdiag.item.value.uievent.control", FT_UINT16, BASE_DEC, VALS(sapdiag_item_ui_event_control_type_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_item_ui_event_control_type_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4026 |
4027 | { &hf_sapdiag_item_ui_event_valid,
4028 | { "UI Event Valid", "sapdiag.item.value.uievent.valid", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4029 | { &hf_sapdiag_item_ui_event_valid_MENU_POS,
4030 | { "UI Event Valid Menu Pos", "sapdiag.item.value.uievent.valid.MENU_POS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_UI_EVENT_VALID_FLAG_MENU_POS0x01, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4031 | { &hf_sapdiag_item_ui_event_valid_CONTROL_POS,
4032 | { "UI Event Valid Control Pos", "sapdiag.item.value.uievent.valid.CONTROL_POS", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_UI_EVENT_VALID_FLAG_CONTROL_POS0x02, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4033 | { &hf_sapdiag_item_ui_event_valid_NAVIGATION_DATA,
4034 | { "UI Event Valid Navigation Data", "sapdiag.item.value.uievent.valid.NAVIGATION_DATA", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_UI_EVENT_VALID_FLAG_NAVIGATION_DATA0x04, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4035 | { &hf_sapdiag_item_ui_event_valid_FUNCTIONKEY_DATA,
4036 | { "UI Event Valid Function Key Data", "sapdiag.item.value.uievent.valid.FUNCTIONKEY_DATA", FT_BOOLEAN, 8, NULL((void*)0), SAPDIAG_UI_EVENT_VALID_FLAG_FUNCTIONKEY_DATA0x08, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4037 |
4038 | { &hf_sapdiag_item_ui_event_control_row,
4039 | { "UI Event Source Control Row", "sapdiag.item.value.uievent.controlrow", FT_UINT16, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4040 | { &hf_sapdiag_item_ui_event_control_col,
4041 | { "UI Event Source Control Column", "sapdiag.item.value.uievent.controlcol", FT_UINT16, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4042 | { &hf_sapdiag_item_ui_event_navigation_data,
4043 | { "UI Event Source Navigation Data", "sapdiag.item.value.uievent.navigationdata", FT_UINT32, BASE_DEC, VALS(sapdiag_item_ui_event_navigation_data_vals)((0 ? (const struct _value_string*)0 : ((sapdiag_item_ui_event_navigation_data_vals )))), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4044 | { &hf_sapdiag_item_ui_event_data,
4045 | { "UI Event Source Data", "sapdiag.item.value.uievent.data", FT_UINT32, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4046 | { &hf_sapdiag_item_ui_event_container_nrs,
4047 | { "UI Event Source Container IDs Numbers", "sapdiag.item.value.uievent.containernrs", FT_UINT16, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4048 | { &hf_sapdiag_item_ui_event_container,
4049 | { "UI Event Source Container ID", "sapdiag.item.value.uievent.container", FT_UINT8, BASE_DEC, NULL((void*)0), 0x0, NULL((void*)0), HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4050 |
4051 | /* Menu Entries */
4052 | { &hf_sapdiag_item_menu_entry,
4053 | { "Menu Entry", "sapdiag.item.value.menu", FT_NONE, BASE_NONE, NULL((void*)0), 0x0, NULL((void*)0),
4054 | HFILL-1, 0, HF_REF_TYPE_NONE, -1, ((void*)0) }},
4055 |
4056 | };
4057 |
4058 | /* Setup protocol subtree array */
4059 | static int *ett[] = {
4060 | &ett_sapdiag
4061 | };
4062 |
4063 | /* Register the expert info */
4064 | static ei_register_info ei[] = {
4065 | { &ei_sapdiag_item_unknown, { "sapdiag.item.unknown", PI_UNDECODED0x05000000, PI_WARN0x00600000, "The Diag Item has a unknown type that is not dissected", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4066 | { &ei_sapdiag_item_partial, { "sapdiag.item.unknown_partial", PI_UNDECODED0x05000000, PI_WARN0x00600000, "The Diag Item is dissected partially", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4067 | { &ei_sapdiag_item_unknown_length, { "sapdiag.item.length.unknown", PI_UNDECODED0x05000000, PI_WARN0x00600000, "Diag Type of unknown length", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4068 | { &ei_sapdiag_item_offset_invalid, { "sapdiag.item.offset.invalid", PI_MALFORMED0x07000000, PI_ERROR0x00800000, "Invalid offset", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4069 | { &ei_sapdiag_item_length_invalid, { "sapdiag.item.length.invalid", PI_MALFORMED0x07000000, PI_WARN0x00600000, "Item length is invalid", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4070 | { &ei_sapdiag_atom_item_unknown, { "sapdiag.item.value.dyntatom.item.unknown", PI_UNDECODED0x05000000, PI_WARN0x00600000, "The Diag Atom has a unknown type that is not dissected", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4071 | { &ei_sapdiag_atom_item_partial, { "sapdiag.item.value.dyntatom.item.unknown_part", PI_UNDECODED0x05000000, PI_WARN0x00600000, "The Diag Atom is dissected partially", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4072 | { &ei_sapdiag_atom_item_malformed, { "sapdiag.item.value.dyntatom.invalid", PI_MALFORMED0x07000000, PI_WARN0x00600000, "The Diag Atom is malformed", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4073 | { &ei_sapdiag_dynt_focus_more_cont_ids, { "sapdiag.item.value.uievent.containernrs.invalid", PI_MALFORMED0x07000000, PI_WARN0x00600000, "Number of Container IDs is invalid", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4074 | { &ei_sapdiag_password_field, { "sapdiag.item.value.dyntatom.item.password", PI_SECURITY0x0a000000, PI_WARN0x00600000, "Password field?", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4075 | { &ei_sapdiag_invalid_decompression, { "sapdiag.header.compression.invalid", PI_MALFORMED0x07000000, PI_WARN0x00600000, "Decompression of payload failed", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4076 | { &ei_sapdiag_invalid_decompress_length, { "sapdiag.header.compression.uncomplength.invalid", PI_MALFORMED0x07000000, PI_WARN0x00600000, "The uncompressed payload length differs from the reported length", EXPFILL0, ((void*)0), 0, ((void*)0), {0, {((void*)0), ((void*)0), FT_NONE , BASE_NONE, ((void*)0), 0, ((void*)0), -1, 0, HF_REF_TYPE_NONE , -1, ((void*)0)}} }},
4077 | };
4078 |
4079 | module_t *sapdiag_module;
4080 | expert_module_t* sapdiag_expert;
4081 |
4082 | /* Register the protocol */
4083 | proto_sapdiag = proto_register_protocol("SAP Diag Protocol", "SAPDIAG", "sapdiag");
4084 |
4085 | proto_register_field_array(proto_sapdiag, hf, array_length(hf)(sizeof (hf) / sizeof (hf)[0]));
4086 | proto_register_subtree_array(ett, array_length(ett)(sizeof (ett) / sizeof (ett)[0]));
4087 |
4088 | sapdiag_expert = expert_register_protocol(proto_sapdiag);
4089 | expert_register_field_array(sapdiag_expert, ei, array_length(ei)(sizeof (ei) / sizeof (ei)[0]));
4090 |
4091 | register_dissector("sapdiag", dissect_sapdiag, proto_sapdiag);
4092 |
4093 | /* Register the preferences */
4094 | sapdiag_module = prefs_register_protocol(proto_sapdiag, proto_reg_handoff_sapdiag);
4095 |
4096 | range_convert_str(wmem_epan_scope(), &global_sapdiag_port_range, SAPDIAG_PORT_RANGE"3200", MAX_TCP_PORT65535);
4097 | prefs_register_range_preference(sapdiag_module, "tcp_ports", "SAP Diag Protocol TCP port numbers",
4098 | "Port numbers used for SAP Diag Protocol (default " SAPDIAG_PORT_RANGE"3200" ")",
4099 | &global_sapdiag_port_range, MAX_TCP_PORT65535);
4100 |
4101 | prefs_register_bool_preference(sapdiag_module, "decompress", "Decompress SAP Diag Protocol message payloads",
4102 | "Whether the SAP Diag Protocol dissector should decompress message payloads.",
4103 | &global_sapdiag_decompress);
4104 | prefs_register_uint_preference(sapdiag_module, "max_uncompressed_size", "Maximum uncompressed message size",
4105 | "Maximum number of bytes to allocate for an uncompressed SAP Diag message.",
4106 | 10, &global_sapdiag_max_uncompressed_size);
4107 |
4108 | prefs_register_bool_preference(sapdiag_module, "rfc_dissection", "Dissect embedded SAP RFC calls",
4109 | "Whether the SAP Diag Protocol dissector should call the SAP RFC dissector for embedded RFC calls",
4110 | &global_sapdiag_rfc_dissection);
4111 |
4112 | prefs_register_bool_preference(sapdiag_module, "snc_dissection", "Dissect SAP SNC frames",
4113 | "Whether the SAP Diag Protocol dissector should call the SAP SNC dissector for SNC frames",
4114 | &global_sapdiag_snc_dissection);
4115 |
4116 | prefs_register_bool_preference(sapdiag_module, "highlight_unknown_items", "Highlight unknown SAP Diag Items",
4117 | "Whether the SAP Diag Protocol dissector should highlight unknown SAP Diag item (might be noise and generate a lot of expert warnings)",
4118 | &global_sapdiag_highlight_items);
4119 |
4120 | }
4121 |
4122 | /**
4123 | * Helpers for dealing with the port range
4124 | */
4125 | static void range_delete_callback (uint32_t port, void *ptr _U___attribute__((unused)))
4126 | {
4127 | dissector_delete_uint("sapni.port", port, sapdiag_handle);
4128 | }
4129 |
4130 | static void range_add_callback (uint32_t port, void *ptr _U___attribute__((unused)))
4131 | {
4132 | dissector_add_uint("sapni.port", port, sapdiag_handle);
4133 | }
4134 |
4135 | /**
4136 | * Register Hand off for the SAP Diag Protocol
4137 | */
4138 | void
4139 | proto_reg_handoff_sapdiag(void)
4140 | {
4141 | static range_t *sapdiag_port_range;
4142 | static bool_Bool initialized = false0;
4143 |
4144 | if (!initialized) {
4145 | sapdiag_handle = create_dissector_handle(dissect_sapdiag, proto_sapdiag);
4146 | initialized = true1;
4147 | } else {
4148 | range_foreach(sapdiag_port_range, range_delete_callback, NULL((void*)0));
4149 | wmem_free(wmem_epan_scope(), sapdiag_port_range);
4150 | }
4151 |
4152 | sapdiag_port_range = range_copy(wmem_epan_scope(), global_sapdiag_port_range);
4153 | range_foreach(sapdiag_port_range, range_add_callback, NULL((void*)0));
4154 | }
4155 |
4156 | /*
4157 | * Editor modelines - https://www.wireshark.org/tools/modelines.html
4158 | *
4159 | * Local variables:
4160 | * c-basic-offset: 8
4161 | * tab-width: 8
4162 | * indent-tabs-mode: t
4163 | * End:
4164 | *
4165 | * vi: set shiftwidth=8 tabstop=8 noexpandtab:
4166 | * :indentSize=8:tabSize=8:noTabs=false:
4167 | */