aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/x11-fields
blob: 4994e3bd413980fe04a6b7a180014260316b05ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
#
# Fields for X11 dissector.
#
# Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
#
# $Id$
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

above-sibling		UINT32	HEX
acceleration-denominator	INT16	DEC
acceleration-numerator	INT16	DEC
access-mode	UINT8	DEC	VALS
address		BYTES	NONE
ip-address	IPv4	NONE
address-length	UINT16	DEC
alloc		UINT8	DEC	VALS
allow-events-mode	UINT8	DEC	VALS
allow-exposures	UINT8	DEC	VALS(yes_no_default)
arcs		NONE	NONE

arc		NONE	NONE
	x		INT16	DEC
	y		INT16	DEC
	width	UINT16	DEC
	height	UINT16	DEC
	angle1	INT16	DEC
	angle2	INT16	DEC

arc-mode	UINT8	DEC	VALS	Tell us if we're drawing an arc or a pie
atom		UINT32	HEX
authorization-protocol-name-length	UINT16	DEC
authorization-protocol-name	STRING	HEX
authorization-protocol-data-length	UINT16	DEC
authorization-protocol-data	STRING	HEX
auto-repeat-mode	UINT8	DEC	VALS

bitmap-format-bit-order	UINT8	HEX	VALS(image_byte_order)
bitmap-format-scanline-pad	UINT8	DEC	bitmap format scanline-pad
bitmap-format-scanline-unit	UINT8	DEC	bitmap format scanline unit
bytes-after	UINT32	DEC	bytes after
back-blue	UINT16	DEC		Background blue value for a cursor
back-green	UINT16	DEC		Background green value for a cursor
back-red	UINT16	DEC		Background red value for a cursor
background	UINT32	HEX		Background color
background-pixel	UINT32	HEX	Background color for a window
background-pixmap	UINT32	HEX	VALS	Background pixmap for a window
backing-pixel	UINT32	HEX
backing-planes	UINT32	HEX
backing-store	UINT8	DEC	VALS
bell-duration	INT16	DEC
bell-percent	INT8	DEC
bell-pitch	INT16	DEC
bit-gravity	UINT8	DEC	VALS(gravity)
bit-plane	UINT32	HEX
blue		UINT16	DEC
blues		UINT16	DEC
border-pixel	UINT32	HEX
border-pixmap	UINT32	HEX	VALS
border-width	UINT16	DEC
button		UINT8	DEC	VALS
byte-order	UINT8	HEX	VALS

childwindow	UINT32	HEX	childwindow
cap-style	UINT8	DEC	VALS
change-host-mode	UINT8	DEC	VALS(insert_delete)
cid		UINT32	HEX
class		UINT8	DEC	VALS
clip-mask	UINT32	HEX	VALS(zero_is_none)
clip-x-origin	INT16	DEC
clip-y-origin	INT16	DEC
close-down-mode	UINT8	DEC	VALS
cmap		UINT32	HEX
colormap	UINT32	HEX
colormap-state	UINT8	DEC	VALS
color-items	NONE	NONE

coloritem		NONE	NONE
	pixel		UINT32	HEX
	red		UINT16	DEC
	green		UINT16	DEC
	blue		UINT16	DEC
	flags		UINT8	HEX
		do-red		BOOLEAN	8	0x01
		do-green	BOOLEAN	8	0x02
		do-blue		BOOLEAN	8	0x04
		unused		BOOLEAN	8	0xf8
	unused		NONE	NONE

colors		UINT16	DEC			The number of color cells to allocate

configure-window-mask	UINT16	HEX
	x		BOOLEAN	16	0x0001
	y		BOOLEAN	16	0x0002
	width		BOOLEAN	16	0x0004
	height		BOOLEAN	16	0x0008
	border-width	BOOLEAN	16	0x0010
	sibling		BOOLEAN	16	0x0020
	stack-mode	BOOLEAN	16	0x0040

confine-to	UINT32	HEX	VALS(zero_is_none)
contiguous	BOOLEAN	NONE
coordinate-mode	UINT8	DEC	VALS
count		UINT8	DEC
cursor		UINT32	HEX	VALS(zero_is_none)
dash-offset	UINT16	DEC
dashes		BYTES	NONE
dashes-length	UINT16	DEC
do-acceleration	BOOLEAN	NONE
do-threshold	BOOLEAN	NONE

detail	UINT8	DEC	detail
do-not-propagate-mask	UINT32	HEX
	KeyPress		BOOLEAN 32	0x00000001
	KeyRelease		BOOLEAN 32	0x00000002
	ButtonPress		BOOLEAN 32	0x00000004
	ButtonRelease		BOOLEAN 32	0x00000008
	PointerMotion		BOOLEAN 32	0x00000040
	Button1Motion		BOOLEAN 32	0x00000100
	Button2Motion		BOOLEAN 32	0x00000200
	Button3Motion		BOOLEAN 32	0x00000400
	Button4Motion		BOOLEAN 32	0x00000800
	Button5Motion		BOOLEAN 32	0x00001000
	ButtonMotion		BOOLEAN 32	0x00002000
	erroneous-bits		BOOLEAN 32	0xffffc0b0

event-sequencenumber	UINT16	DEC	event sequencenumber
error	UINT8	DEC	error
error-badvalue	UINT32	DEC	error badvalue
error_sequencenumber	UINT16	DEC	error sequencenumber
errorcode	UINT8	DEC	VALS	errrorcode
event-x	UINT16	DEC	event x
event-y	UINT16	DEC	event y
eventbutton	UINT8	DEC	eventbutton
eventcode	UINT8	DEC	VALS	eventcode
eventwindow	UINT32	HEX	eventwindow

first-event	UINT8	DEC
first-error	UINT8	DEC

gc-dashes	UINT8	DEC

gc-value-mask	UINT32	HEX
	function		BOOLEAN	32	0x00000001
	plane-mask		BOOLEAN	32	0x00000002
	foreground		BOOLEAN	32	0x00000004
	background		BOOLEAN	32	0x00000008
	line-width		BOOLEAN	32	0x00000010
	line-style		BOOLEAN	32	0x00000020
	cap-style		BOOLEAN	32	0x00000040
	join-style		BOOLEAN	32	0x00000080
	fill-style		BOOLEAN	32	0x00000100
	fill-rule		BOOLEAN	32	0x00000200
	tile			BOOLEAN	32	0x00000400
	stipple			BOOLEAN	32	0x00000800
	tile-stipple-x-origin	BOOLEAN	32	0x00001000
	tile-stipple-y-origin	BOOLEAN	32	0x00002000
	font			BOOLEAN	32	0x00004000
	subwindow-mode		BOOLEAN	32	0x00008000
	graphics-exposures	BOOLEAN	32	0x00010000
	clip-x-origin		BOOLEAN	32	0x00020000
	clip-y-origin		BOOLEAN	32	0x00040000
	clip-mask		BOOLEAN	32	0x00080000
	dash-offset		BOOLEAN	32	0x00100000
	gc-dashes		BOOLEAN	32	0x00200000
	arc-mode		BOOLEAN	32	0x00400000

green		UINT16	DEC
greens		UINT16	DEC
data		BYTES	NONE
data-length	UINT32	DEC
delete		BOOLEAN	NONE		Delete this property after reading
delta		INT16	DEC
depth		UINT8	DEC
destination	UINT8	DEC	VALS
direction	UINT8	DEC	VALS
drawable	UINT32	HEX
dst-drawable	UINT32	HEX
dst-gc		UINT32	HEX
dst-window	UINT32	HEX
dst-x		INT16	DEC
dst-y		INT16	DEC
event-detail    UINT8   DEC	VALS

event-mask	UINT32	HEX
	KeyPress		BOOLEAN 32	0x00000001
	KeyRelease		BOOLEAN 32	0x00000002
	ButtonPress		BOOLEAN 32	0x00000004
	ButtonRelease		BOOLEAN 32	0x00000008
	EnterWindow		BOOLEAN 32	0x00000010
	LeaveWindow		BOOLEAN 32	0x00000020
	PointerMotion		BOOLEAN 32	0x00000040
	PointerMotionHint	BOOLEAN 32	0x00000080
	Button1Motion		BOOLEAN 32	0x00000100
	Button2Motion		BOOLEAN 32	0x00000200
	Button3Motion		BOOLEAN 32	0x00000400
	Button4Motion		BOOLEAN 32	0x00000800
	Button5Motion		BOOLEAN 32	0x00001000
	ButtonMotion		BOOLEAN 32	0x00002000
	KeymapState		BOOLEAN 32	0x00004000
	Exposure		BOOLEAN 32	0x00008000
	VisibilityChange	BOOLEAN 32	0x00010000
	StructureNotify		BOOLEAN 32	0x00020000
	ResizeRedirect		BOOLEAN 32	0x00040000
	SubstructureNotify	BOOLEAN 32	0x00080000
	SubstructureRedirect	BOOLEAN 32	0x00100000
	FocusChange		BOOLEAN 32	0x00200000
	PropertyChange		BOOLEAN 32	0x00400000
	ColormapChange		BOOLEAN 32	0x00800000
	OwnerGrabButton		BOOLEAN 32	0x01000000
	erroneous-bits		BOOLEAN 32	0xfe000000

exact-blue	UINT16	DEC
exact-green	UINT16	DEC
exact-red	UINT16	DEC
exposures	BOOLEAN	NONE
family		UINT8	DEC	VALS
fid		UINT32	HEX		Font id
fill-rule	UINT8	DEC	VALS
fill-style	UINT8	DEC	VALS
first-keycode	UINT8	DEC
focus		UINT8	DEC	VALS
focus-detail	UINT8	DEC	VALS
focus-mode	UINT8	DEC	VALS
font		UINT32	HEX
fore-blue	UINT16	DEC
fore-green	UINT16	DEC
fore-red	UINT16	DEC
foreground	UINT32	HEX
format		UINT8	DEC
from-configure	BOOLEAN	NONE
function	UINT8	DEC	VALS
gc		UINT32	HEX
get-property-type	UINT32	HEX	VALS(zero_is_any_property_type)
grab-mode	UINT8	DEC	VALS
grab-status	UINT8	DEC	VALS
grab-window	UINT32	HEX
graphics-exposures	BOOLEAN	NONE
height		UINT16	DEC
image-byte-order	UINT8	HEX	VALS
initial-connection	NONE	NONE	undecoded
image-format	UINT8	DEC	VALS
image-pixmap-format	UINT8	DEC	VALS
interval	INT16	DEC
items		NONE	NONE
join-style	UINT8	DEC	VALS
key		UINT8	DEC	VALS
key-click-percent	INT8	DEC
keyboard-key	UINT8	DEC
keyboard-mode	UINT8	DEC	VALS(pointer_keyboard_mode)
keybut-mask-erroneous-bits	BOOLEAN	16	0xe000	keybut mask erroneous bits
keycode	UINT8	HEX	keycode

keyboard-value-mask	UINT32	HEX
	key-click-percent	BOOLEAN	32	0x0001
	bell-percent		BOOLEAN	32	0x0002
	bell-pitch		BOOLEAN	32	0x0004
	bell-duration		BOOLEAN	32	0x0008
	led			BOOLEAN	32	0x0010
	led-mode		BOOLEAN	32	0x0020
	keyboard-key		BOOLEAN	32	0x0040
	auto-repeat-mode	BOOLEAN	32	0x0080

keycode-count	UINT8	DEC

keycodes	NONE	NONE
	item	BYTES	NONE

keycodes-per-modifier	UINT8	DEC

keys		BYTES	NONE

keysyms		NONE	NONE
	item	NONE	NONE
		keysym	UINT32	HEX

keysyms-per-keycode	UINT8	DEC
length-of-reason	UINT8	DEC	length of reason
length-of-vendor	UINT16	DEC	length of vendor
led		UINT8	DEC
led-mode	UINT8	DEC	VALS(on_off)
left-pad	UINT8	DEC
line-style	UINT8	DEC	VALS
line-width	UINT16	DEC
long-length	UINT32	DEC		The maximum length of the property in bytes
long-offset	UINT32	DEC		The starting position in the property bytes array
map		BYTES	NONE
map-length	UINT8	DEC
mask		UINT32	HEX	VALS(zero_is_none)
mask-char	UINT16	DEC
mask-font	UINT32	HEX	VALS(zero_is_none)
max-names	UINT16	DEC
mid		UINT32	HEX
mode		UINT8	DEC	VALS
major-opcode	UINT16	DEC	major opcode
max-keycode	UINT8	DEC	max keycode
maximum-request-length	UINT16	DEC	maximum request length
min-keycode	UINT8	DEC	min keycode
minor-opcode	UINT16	DEC	minor opcode

modifiers-mask		UINT16	HEX
	Shift			BOOLEAN	16	0x0001
	Lock			BOOLEAN	16	0x0002
	Control			BOOLEAN	16	0x0004
	Mod1			BOOLEAN	16	0x0008
	Mod2			BOOLEAN	16	0x0010
	Mod3			BOOLEAN	16	0x0020
	Mod4			BOOLEAN	16	0x0040
	Mod5			BOOLEAN	16	0x0080
	Button1			BOOLEAN	16	0x0100
	Button2			BOOLEAN	16	0x0200
	Button3			BOOLEAN	16	0x0400
	Button4			BOOLEAN	16	0x0800
	Button5			BOOLEAN	16	0x1000
	AnyModifier		UINT16	HEX	0x8000
	erroneous-bits		BOOLEAN	16	0xff00

motion-buffer-size	UINT16	DEC	motion buffer size

new		BOOLEAN	NONE
number-of-formats-in-pixmap-formats	UINT8	DEC	number of formats in pixmap formats
number-of-screens-in-roots	UINT8	DEC	number of screens in roots

name		STRING	HEX
name-length	UINT16	DEC
odd-length	BOOLEAN	NONE
only-if-exists	BOOLEAN	NONE
opcode		UINT8	DEC	VALS
ordering	UINT8	DEC	VALS
override-redirect	BOOLEAN	NONE	Window manager doesn't manage this window when true
owner		UINT32	HEX	VALS(zero_is_none)
owner-events	BOOLEAN	NONE
parent		UINT32	HEX

path	NONE	NONE
	string			STRING	NONE

pattern		STRING	HEX
pattern-length	UINT16	DEC
percent		UINT8	DEC
pid		UINT32	HEX
pixel		UINT32	HEX
pixels		NONE	NONE
pixels_item	UINT32	HEX
pixmap		UINT32	HEX
place		UINT8   DEC     VALS
plane-mask	UINT32	HEX	VALS
planes		UINT16	DEC
point		NONE	NONE
points		NONE	NONE
point-x		INT16	DEC
point-y		INT16	DEC

pointer-event-mask	UINT16	HEX
	ButtonPress		BOOLEAN 16	0x0004
	ButtonRelease		BOOLEAN 16	0x0008
	EnterWindow		BOOLEAN 16	0x0010
	LeaveWindow		BOOLEAN 16	0x0020
	PointerMotion		BOOLEAN 16	0x0040
	PointerMotionHint	BOOLEAN 16	0x0080
	Button1Motion		BOOLEAN 16	0x0100
	Button2Motion		BOOLEAN 16	0x0200
	Button3Motion		BOOLEAN 16	0x0400
	Button4Motion		BOOLEAN 16	0x0800
	Button5Motion		BOOLEAN 16	0x1000
	ButtonMotion		BOOLEAN 16	0x2000
	KeymapState		BOOLEAN 16	0x4000
	erroneous-bits		BOOLEAN 16	0x8003

pointer-mode	UINT8	DEC	VALS(pointer_keyboard_mode)
prefer-blanking	UINT8	DEC	VALS(yes_no_default)
present		BOOLEAN NONE
propagate	BOOLEAN	NONE

properties	NONE	NONE
	item	UINT32	HEX

property	UINT32	HEX
property-number	UINT16	DEC
property-state	UINT8	DEC	VALS
protocol-major-version	UINT16	DEC
protocol-minor-version	UINT16	DEC
reason		STRING	HEX	reason
rectangle-height	UINT16	DEC
rectangles	NONE	NONE
rectangle	NONE	NONE
rectangle-width	UINT16	DEC
rectangle-x	INT16	DEC
rectangle-y	INT16	DEC
red		UINT16	DEC
reds		UINT16	DEC
request		UINT8	DEC	VALS(opcode)
requestor	UINT32	HEX
request-length	UINT16	DEC		Request length
resource	UINT32	HEX	VALS(all_temporary)
revert-to	UINT8	DEC	VALS
release-number	UINT32	DEC	release number
reply	UINT8	DEC	reply
reply-sequencenumber	UINT16	DEC	VALS(opcode)
replylength	UINT32	DEC	replylength
replyopcode	UINT8	DEC	VALS(opcode)
resource-id-base	UINT32	HEX	resource id base
resource-id-mask	UINT32	HEX	resource id mask
root-x	UINT16	DEC	root x
root-y	UINT16	DEC	root y
rootwindow	UINT32	HEX	rootwindow

same-screen	BOOLEAN	NONE	same screen
same-screen-focus-mask	UINT8	HEX
	focus			BOOLEAN	8	0x01
	same-screen		BOOLEAN	8	0x02
success		UINT8	DEC	success
save-set-mode	UINT8	DEC	VALS(insert_delete)
save-under	BOOLEAN	NONE
screen-saver-mode	UINT8	DEC	VALS
segment		NONE	NONE
segments	NONE	NONE
segment_x1	INT16	DEC
segment_x2	INT16	DEC
segment_y1	INT16	DEC
segment_y2	INT16	DEC
selection	UINT32	HEX
shape		UINT8	DEC	VALS
sibling		UINT32	HEX
source-pixmap	UINT32	HEX
source-font	UINT32	HEX
source-char	UINT16	DEC
src-cmap	UINT32	HEX
src-drawable	UINT32	HEX
src-gc		UINT32	HEX
src-height	UINT16	DEC
src-width	UINT16	DEC
src-window	UINT32	HEX
src-x		INT16	DEC
src-y		INT16	DEC
start		UINT32	DEC
stack-mode	UINT8	DEC	VALS
stipple		UINT32	HEX
stop		UINT32	DEC
str-number-in-path	UINT16	DEC
string		STRING	HEX

string16	STRING	HEX
	bytes	BYTES	NONE

string-length	UINT32	DEC
subwindow-mode	UINT8	DEC	VALS
target		UINT32	HEX

textitem	NONE	NONE
	font	UINT32	HEX
	string		NONE	NONE
		delta		INT8	DEC
		string8		STRING	NONE
		string16	STRING	NONE
			bytes	BYTES	NONE

threshold	INT16	DEC
tile		UINT32	HEX
tile-stipple-x-origin	INT16	DEC
tile-stipple-y-origin	INT16	DEC
time		UINT32	DEC
timeout		INT16	DEC
type		UINT32	HEX
undecoded	NONE	NONE		Yet undecoded by dissector
unused		NONE	NONE
valuelength	UINT32	DEC	valuelength
vendor		STRING	HEX	vendor
visibility-state UINT8  DEC	VALS
visual		UINT32	HEX
visual-blue	UINT16	DEC
visual-green	UINT16	DEC
visual-red	UINT16	DEC
visualid	UINT32	HEX
warp-pointer-dst-window	UINT32	HEX	VALS(zero_is_none)
warp-pointer-src-window	UINT32	HEX	VALS(zero_is_none)
wid		UINT32	HEX		Window id
width		UINT16	DEC
win-gravity	UINT8	DEC	VALS(gravity)
win-x		INT16	DEC
win-y		INT16	DEC
window		UINT32	HEX
window-class	UINT16	DEC	VALS		Window class

window-value-mask	UINT32	HEX
	background-pixmap	BOOLEAN	32	0x00000001
	background-pixel	BOOLEAN	32	0x00000002
	border-pixmap		BOOLEAN	32	0x00000004
	border-pixel		BOOLEAN	32	0x00000008
	bit-gravity		BOOLEAN	32	0x00000010
	win-gravity		BOOLEAN	32	0x00000020
	backing-store		BOOLEAN	32	0x00000040
	backing-planes		BOOLEAN	32	0x00000080
	backing-pixel		BOOLEAN	32	0x00000100
	override-redirect	BOOLEAN	32	0x00000200
	save-under		BOOLEAN	32	0x00000400
	event-mask		BOOLEAN	32	0x00000800
	do-not-propagate-mask	BOOLEAN	32	0x00001000
	colormap		BOOLEAN	32	0x00002000
	cursor			BOOLEAN	32	0x00004000

x		INT16	DEC
y		INT16	DEC