Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / x11-fields
blob7cdc14cd6bff31d23d07bd181219fdabe9467145
2 # Fields for X11 dissector.
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
10 # SPDX-License-Identifier: GPL-2.0-or-later
13 above-sibling           UINT32  HEX
14 acceleration-denominator        INT16   DEC
15 acceleration-numerator  INT16   DEC
16 access-mode     UINT8   DEC     VALS
17 address         BYTES   NONE
18 ip-address      IPv4    NONE
19 address-length  UINT16  DEC
20 alloc           UINT8   DEC     VALS
21 allow-events-mode       UINT8   DEC     VALS
22 allow-exposures UINT8   DEC     VALS(yes_no_default)
23 arcs            NONE    NONE
25 arc             NONE    NONE
26         x               INT16   DEC
27         y               INT16   DEC
28         width   UINT16  DEC
29         height  UINT16  DEC
30         angle1  INT16   DEC
31         angle2  INT16   DEC
33 arc-mode        UINT8   DEC     VALS    Tell us if we're drawing an arc or a pie
34 atom            UINT32  HEX
35 authorization-protocol-name-length      UINT16  DEC
36 authorization-protocol-name     STRING  NONE
37 authorization-protocol-data-length      UINT16  DEC
38 authorization-protocol-data     STRING  NONE
39 auto-repeat-mode        UINT8   DEC     VALS
41 bitmap-format-bit-order UINT8   HEX     VALS(image_byte_order)
42 bitmap-format-scanline-pad      UINT8   DEC     bitmap format scanline-pad
43 bitmap-format-scanline-unit     UINT8   DEC     bitmap format scanline unit
44 bytes-after     UINT32  DEC     bytes after
45 back-blue       UINT16  DEC             Background blue value for a cursor
46 back-green      UINT16  DEC             Background green value for a cursor
47 back-red        UINT16  DEC             Background red value for a cursor
48 background      UINT32  HEX             Background color
49 background-pixel        UINT32  HEX     Background color for a window
50 background-pixmap       UINT32  HEX     VALS    Background pixmap for a window
51 backing-pixel   UINT32  HEX
52 backing-planes  UINT32  HEX
53 backing-store   UINT8   DEC     VALS
54 bell-duration   INT16   DEC
55 bell-percent    INT8    DEC
56 bell-pitch      INT16   DEC
57 bit-gravity     UINT8   DEC     VALS(bit_gravity)
58 bit-plane       UINT32  HEX
59 blue            UINT16  DEC
60 blues           UINT16  DEC
61 border-pixel    UINT32  HEX
62 border-pixmap   UINT32  HEX     VALS
63 border-width    UINT16  DEC
64 button          UINT8   DEC     VALS
65 byte-order      CHAR    HEX     VALS
67 childwindow     UINT32  HEX
68 cap-style       UINT8   DEC     VALS
69 change-host-mode        UINT8   DEC     VALS(insert_delete)
70 cid             UINT32  HEX
71 class           UINT8   DEC     VALS
72 clip-mask       UINT32  HEX     VALS(zero_is_none)
73 clip-x-origin   INT16   DEC
74 clip-y-origin   INT16   DEC
75 close-down-mode UINT8   DEC     VALS
76 cmap            UINT32  HEX
77 colormap        UINT32  HEX
78 colormap-state  UINT8   DEC     VALS
79 color-items     NONE    NONE
81 coloritem               NONE    NONE
82         pixel           UINT32  HEX
83         red             UINT16  DEC
84         green           UINT16  DEC
85         blue            UINT16  DEC
86         flags           UINT8   HEX
87                 do-red          BOOLEAN 8       0x01
88                 do-green        BOOLEAN 8       0x02
89                 do-blue         BOOLEAN 8       0x04
90                 unused          BOOLEAN 8       0xf8
91         unused          NONE    NONE
93 colors          UINT16  DEC                     The number of color cells to allocate
95 configure-window-mask   UINT16  HEX
96         x               BOOLEAN 16      0x0001
97         y               BOOLEAN 16      0x0002
98         width           BOOLEAN 16      0x0004
99         height          BOOLEAN 16      0x0008
100         border-width    BOOLEAN 16      0x0010
101         sibling         BOOLEAN 16      0x0020
102         stack-mode      BOOLEAN 16      0x0040
104 confine-to      UINT32  HEX     VALS(zero_is_none)
105 contiguous      BOOLEAN NONE
106 coordinate-mode UINT8   DEC     VALS
107 count           UINT8   DEC
108 cursor          UINT32  HEX     VALS(zero_is_none)
109 dash-offset     UINT16  DEC
110 dashes          BYTES   NONE
111 dashes-length   UINT16  DEC
112 do-acceleration BOOLEAN NONE
113 do-threshold    BOOLEAN NONE
115 detail  UINT8   DEC
116 do-not-propagate-mask   UINT32  HEX
117         KeyPress                BOOLEAN 32      0x00000001
118         KeyRelease              BOOLEAN 32      0x00000002
119         ButtonPress             BOOLEAN 32      0x00000004
120         ButtonRelease           BOOLEAN 32      0x00000008
121         PointerMotion           BOOLEAN 32      0x00000040
122         Button1Motion           BOOLEAN 32      0x00000100
123         Button2Motion           BOOLEAN 32      0x00000200
124         Button3Motion           BOOLEAN 32      0x00000400
125         Button4Motion           BOOLEAN 32      0x00000800
126         Button5Motion           BOOLEAN 32      0x00001000
127         ButtonMotion            BOOLEAN 32      0x00002000
128         erroneous-bits          BOOLEAN 32      0xffffc0b0
130 event-sequencenumber    UINT16  DEC
131 error   UINT8   DEC
132 error-badvalue  UINT32  DEC     error badvalue
133 error-badresourceid UINT32  HEX     error_badresourceid
134 error_sequencenumber    UINT16  DEC     error sequencenumber
135 errorcode       UINT8   DEC     VALS
136 event-x UINT16  DEC     event x
137 event-y UINT16  DEC     event y
138 eventbutton     UINT8   DEC
139 eventcode       UINT8   DEC     VALS
140 eventwindow     UINT32  HEX
141 extension       UINT8   DEC
143 first-event     UINT8   DEC
144 first-error     UINT8   DEC
146 gc-dashes       UINT8   DEC
148 gc-value-mask   UINT32  HEX
149         function                BOOLEAN 32      0x00000001
150         plane-mask              BOOLEAN 32      0x00000002
151         foreground              BOOLEAN 32      0x00000004
152         background              BOOLEAN 32      0x00000008
153         line-width              BOOLEAN 32      0x00000010
154         line-style              BOOLEAN 32      0x00000020
155         cap-style               BOOLEAN 32      0x00000040
156         join-style              BOOLEAN 32      0x00000080
157         fill-style              BOOLEAN 32      0x00000100
158         fill-rule               BOOLEAN 32      0x00000200
159         tile                    BOOLEAN 32      0x00000400
160         stipple                 BOOLEAN 32      0x00000800
161         tile-stipple-x-origin   BOOLEAN 32      0x00001000
162         tile-stipple-y-origin   BOOLEAN 32      0x00002000
163         font                    BOOLEAN 32      0x00004000
164         subwindow-mode          BOOLEAN 32      0x00008000
165         graphics-exposures      BOOLEAN 32      0x00010000
166         clip-x-origin           BOOLEAN 32      0x00020000
167         clip-y-origin           BOOLEAN 32      0x00040000
168         clip-mask               BOOLEAN 32      0x00080000
169         dash-offset             BOOLEAN 32      0x00100000
170         gc-dashes               BOOLEAN 32      0x00200000
171         arc-mode                BOOLEAN 32      0x00400000
173 green           UINT16  DEC
174 greens          UINT16  DEC
175 data            BYTES   NONE
176 data16          NONE    NONE
177         item    UINT16  HEX
178 data32          NONE    NONE
179         item    UINT32  HEX
180 data-length     UINT32  DEC
181 delete          BOOLEAN NONE            Delete this property after reading
182 delta           INT16   DEC
183 depth           UINT8   DEC
184 depth-detail    NONE    NONE
185         depth                   UINT8   DEC
186         visualtypes-numbers     UINT16  DEC
188 destination     UINT8   DEC     VALS
189 direction       UINT8   DEC     VALS
190 drawable        UINT32  HEX
191 dst-drawable    UINT32  HEX
192 dst-gc          UINT32  HEX
193 dst-window      UINT32  HEX
194 dst-x           INT16   DEC
195 dst-y           INT16   DEC
196 event-detail    UINT8   DEC     VALS
198 event-mask      UINT32  HEX
199         KeyPress                BOOLEAN 32      0x00000001
200         KeyRelease              BOOLEAN 32      0x00000002
201         ButtonPress             BOOLEAN 32      0x00000004
202         ButtonRelease           BOOLEAN 32      0x00000008
203         EnterWindow             BOOLEAN 32      0x00000010
204         LeaveWindow             BOOLEAN 32      0x00000020
205         PointerMotion           BOOLEAN 32      0x00000040
206         PointerMotionHint       BOOLEAN 32      0x00000080
207         Button1Motion           BOOLEAN 32      0x00000100
208         Button2Motion           BOOLEAN 32      0x00000200
209         Button3Motion           BOOLEAN 32      0x00000400
210         Button4Motion           BOOLEAN 32      0x00000800
211         Button5Motion           BOOLEAN 32      0x00001000
212         ButtonMotion            BOOLEAN 32      0x00002000
213         KeymapState             BOOLEAN 32      0x00004000
214         Exposure                BOOLEAN 32      0x00008000
215         VisibilityChange        BOOLEAN 32      0x00010000
216         StructureNotify         BOOLEAN 32      0x00020000
217         ResizeRedirect          BOOLEAN 32      0x00040000
218         SubstructureNotify      BOOLEAN 32      0x00080000
219         SubstructureRedirect    BOOLEAN 32      0x00100000
220         FocusChange             BOOLEAN 32      0x00200000
221         PropertyChange          BOOLEAN 32      0x00400000
222         ColormapChange          BOOLEAN 32      0x00800000
223         OwnerGrabButton         BOOLEAN 32      0x01000000
224         erroneous-bits          BOOLEAN 32      0xfe000000
226 eventlength     UINT32  DEC
227 exact-blue      UINT16  DEC
228 exact-green     UINT16  DEC
229 exact-red       UINT16  DEC
230 exposures       BOOLEAN NONE
231 family          UINT8   DEC     VALS
232 fid             UINT32  HEX             Font id
233 fill-rule       UINT8   DEC     VALS
234 fill-style      UINT8   DEC     VALS
235 first-keycode   UINT8   DEC
236 focus           UINT8   DEC     VALS
237 focus-detail    UINT8   DEC     VALS
238 focus-mode      UINT8   DEC     VALS
239 font            UINT32  HEX
240 fore-blue       UINT16  DEC
241 fore-green      UINT16  DEC
242 fore-red        UINT16  DEC
243 foreground      UINT32  HEX
244 format          UINT8   DEC
245 from-configure  BOOLEAN NONE
246 function        UINT8   DEC     VALS
247 gc              UINT32  HEX
248 get-property-type       UINT32  HEX     VALS(zero_is_any_property_type)
249 grab-mode       UINT8   DEC     VALS
250 grab-status     UINT8   DEC     VALS
251 grab-window     UINT32  HEX
252 graphics-exposures      BOOLEAN NONE
253 height          UINT16  DEC
254 image-byte-order        CHAR    HEX     VALS
255 initial-connection      NONE    NONE    undecoded
256 image-format    UINT8   DEC     VALS
257 image-pixmap-format     UINT8   DEC     VALS
258 interval        INT16   DEC
259 items           NONE    NONE
260 join-style      UINT8   DEC     VALS
261 key             UINT8   DEC     VALS
262 key-click-percent       INT8    DEC
263 keyboard-key    UINT8   DEC
264 keyboard-mode   UINT8   DEC     VALS(pointer_keyboard_mode)
265 keybut-mask-erroneous-bits      BOOLEAN 16      0xe000  keybut mask erroneous bits
266 keycode UINT8   HEX
268 keyboard-value-mask     UINT32  HEX
269         key-click-percent       BOOLEAN 32      0x0001
270         bell-percent            BOOLEAN 32      0x0002
271         bell-pitch              BOOLEAN 32      0x0004
272         bell-duration           BOOLEAN 32      0x0008
273         led                     BOOLEAN 32      0x0010
274         led-mode                BOOLEAN 32      0x0020
275         keyboard-key            BOOLEAN 32      0x0040
276         auto-repeat-mode        BOOLEAN 32      0x0080
278 keycode-count   UINT8   DEC
280 keycodes        NONE    NONE
281         item    BYTES   NONE
283 keycodes-per-modifier   UINT8   DEC
285 keys            BYTES   NONE
287 keysyms         NONE    NONE
288         item    NONE    NONE
289                 keysym  UINT32  HEX
291 keysyms-per-keycode     UINT8   DEC
292 length-of-reason        UINT8   DEC     length of reason
293 length-of-vendor        UINT16  DEC     length of vendor
294 led             UINT8   DEC
295 led-mode        UINT8   DEC     VALS(on_off)
296 left-pad        UINT8   DEC
297 line-style      UINT8   DEC     VALS
298 line-width      UINT16  DEC
299 long-length     UINT32  DEC             The maximum length of the property in bytes
300 long-offset     UINT32  DEC             The starting position in the property bytes array
301 map             BYTES   NONE
302 map-length      UINT8   DEC
303 mapping-request UINT8   DEC     VALS(mapping_request)
304 mask            UINT32  HEX     VALS(zero_is_none)
305 mask-char       UINT16  DEC
306 mask-font       UINT32  HEX     VALS(zero_is_none)
307 max-names       UINT16  DEC
308 mid             UINT32  HEX
309 mode            UINT8   DEC     VALS
310 major-opcode    UINT16  DEC     major opcode
311 max-keycode     UINT8   DEC     max keycode
312 maximum-request-length  UINT16  DEC     maximum request length
313 min-keycode     UINT8   DEC     min keycode
314 minor-opcode    UINT16  DEC     minor opcode
316 modifiers-mask          UINT16  HEX
317         Shift                   BOOLEAN 16      0x0001
318         Lock                    BOOLEAN 16      0x0002
319         Control                 BOOLEAN 16      0x0004
320         Mod1                    BOOLEAN 16      0x0008
321         Mod2                    BOOLEAN 16      0x0010
322         Mod3                    BOOLEAN 16      0x0020
323         Mod4                    BOOLEAN 16      0x0040
324         Mod5                    BOOLEAN 16      0x0080
325         Button1                 BOOLEAN 16      0x0100
326         Button2                 BOOLEAN 16      0x0200
327         Button3                 BOOLEAN 16      0x0400
328         Button4                 BOOLEAN 16      0x0800
329         Button5                 BOOLEAN 16      0x1000
330         AnyModifier             UINT16  HEX     0x8000
331         erroneous-bits          BOOLEAN 16      0xff00
333 motion-buffer-size      UINT16  DEC     motion buffer size
335 new             BOOLEAN NONE
336 number-of-formats-in-pixmap-formats     UINT8   DEC     number of formats in pixmap formats
337 number-of-screens-in-roots      UINT8   DEC     number of screens in roots
339 name            STRING  NONE
340 name-length     UINT16  DEC
341 odd-length      BOOLEAN NONE
342 only-if-exists  BOOLEAN NONE
343 opcode          UINT8   DEC     VALS
344 ordering        UINT8   DEC     VALS
345 override-redirect       BOOLEAN NONE    Window manager doesn't manage this window when true
346 owner           UINT32  HEX     VALS(zero_is_none)
347 owner-events    BOOLEAN NONE
348 parent          UINT32  HEX
350 path    NONE    NONE
351         string                  STRING  NONE
353 pattern         STRING  NONE
354 pattern-length  UINT16  DEC
355 percent         UINT8   DEC
356 pid             UINT32  HEX
357 pixel           UINT32  HEX
358 pixels          NONE    NONE
359 pixels_item     UINT32  HEX
360 pixmap          UINT32  HEX
361 pixmap-format   NONE    NONE    Pixmap Formats
362         depth           UINT8  DEC
363         bits-per-pixel  UINT8  DEC
364         scanline-pad    UINT8  DEC
366 place           UINT8   DEC     VALS
367 plane-mask      UINT32  HEX     VALS
368 planes          UINT16  DEC
369 point           NONE    NONE
370 points          NONE    NONE
371 point-x         INT16   DEC
372 point-y         INT16   DEC
374 pointer-event-mask      UINT16  HEX
375         ButtonPress             BOOLEAN 16      0x0004
376         ButtonRelease           BOOLEAN 16      0x0008
377         EnterWindow             BOOLEAN 16      0x0010
378         LeaveWindow             BOOLEAN 16      0x0020
379         PointerMotion           BOOLEAN 16      0x0040
380         PointerMotionHint       BOOLEAN 16      0x0080
381         Button1Motion           BOOLEAN 16      0x0100
382         Button2Motion           BOOLEAN 16      0x0200
383         Button3Motion           BOOLEAN 16      0x0400
384         Button4Motion           BOOLEAN 16      0x0800
385         Button5Motion           BOOLEAN 16      0x1000
386         ButtonMotion            BOOLEAN 16      0x2000
387         KeymapState             BOOLEAN 16      0x4000
388         erroneous-bits          BOOLEAN 16      0x8003
390 pointer-mode    UINT8   DEC     VALS(pointer_keyboard_mode)
391 prefer-blanking UINT8   DEC     VALS(yes_no_default)
392 present         BOOLEAN NONE
393 propagate       BOOLEAN NONE
395 properties      NONE    NONE
396         item    UINT32  HEX
398 property        UINT32  HEX
399 property-number UINT16  DEC
400 property-state  UINT8   DEC     VALS
401 protocol-major-version  UINT16  DEC
402 protocol-minor-version  UINT16  DEC
403 reason          STRING  NONE
404 rectangle-height        UINT16  DEC
405 rectangles      NONE    NONE
406 rectangle       NONE    NONE
407 rectangle-width UINT16  DEC
408 rectangle-x     INT16   DEC
409 rectangle-y     INT16   DEC
410 red             UINT16  DEC
411 reds            UINT16  DEC
412 request         UINT8   DEC     VALS(opcode)
413 requestor       UINT32  HEX
414 request-length  UINT16  DEC             Request length
415 resource        UINT32  HEX     VALS(all_temporary)
416 revert-to       UINT8   DEC     VALS
417 release-number  UINT32  DEC     release number
418 reply   UINT8   DEC
419 reply-sequencenumber    UINT16  DEC     VALS(opcode)
420 replylength     UINT32  DEC
421 replyopcode     UINT8   DEC     VALS(opcode)
422 resource-id-base        UINT32  HEX     resource id base
423 resource-id-mask        UINT32  HEX     resource id mask
424 root-x  UINT16  DEC     root x
425 root-y  UINT16  DEC     root y
426 rootwindow      UINT32  HEX
428 same-screen     BOOLEAN NONE    same screen
429 same-screen-focus-mask  UINT8   HEX
430         focus                   BOOLEAN 8       0x01
431         same-screen             BOOLEAN 8       0x02
432 success         UINT8   DEC
433 save-set-mode   UINT8   DEC     VALS(insert_delete)
434 save-under      BOOLEAN NONE
435 screen          NONE    NONE
436         root                    UINT32  HEX
437         default_colormap        UINT32  HEX
438         white_pixel             UINT32  HEX
439         black_pixel             UINT32  HEX
440         current_input_masks     UINT32  HEX
441         width_in_pixels         UINT16  DEC
442         height_in_pixels        UINT16  DEC
443         width_in_millimeters    UINT16  DEC
444         height_in_millimeters   UINT16  DEC
445         min_installed_maps      UINT16  DEC
446         max_installed_maps      UINT16  DEC
447         root_visual             UINT32  HEX
448         backing_stores          UINT8   HEX
449         save_unders             BOOLEAN NONE
450         root_depth              UINT8   DEC
451         allowed_depths_len      UINT8   DEC
453 screen-saver-mode       UINT8   DEC     VALS
454 segment         NONE    NONE
455 segments        NONE    NONE
456 segment_x1      INT16   DEC
457 segment_x2      INT16   DEC
458 segment_y1      INT16   DEC
459 segment_y2      INT16   DEC
460 selection       UINT32  HEX
461 shape           UINT8   DEC     VALS
462 sibling         UINT32  HEX
463 source-pixmap   UINT32  HEX
464 source-font     UINT32  HEX
465 source-char     UINT16  DEC
466 src-cmap        UINT32  HEX
467 src-drawable    UINT32  HEX
468 src-gc          UINT32  HEX
469 src-height      UINT16  DEC
470 src-width       UINT16  DEC
471 src-window      UINT32  HEX
472 src-x           INT16   DEC
473 src-y           INT16   DEC
474 start           UINT32  DEC
475 stack-mode      UINT8   DEC     VALS
476 stipple         UINT32  HEX
477 stop            UINT32  DEC
478 str-number-in-path      UINT16  DEC
479 string          STRING  NONE
481 string16        STRING  NONE
482         bytes   BYTES   NONE
484 string-length   UINT32  DEC
485 subwindow-mode  UINT8   DEC     VALS
486 target          UINT32  HEX
488 textitem        NONE    NONE
489         font    UINT32  HEX
490         string          NONE    NONE
491                 delta           INT8    DEC
492                 string8         STRING  NONE
493                 string16        STRING  NONE
494                         bytes   BYTES   NONE
496 threshold       INT16   DEC
497 tile            UINT32  HEX
498 tile-stipple-x-origin   INT16   DEC
499 tile-stipple-y-origin   INT16   DEC
500 time            UINT32  DEC
501 timeout         INT16   DEC
502 type            UINT32  HEX
503 undecoded       NONE    NONE            Yet undecoded by dissector
504 unused          NONE    NONE
505 valuelength     UINT32  DEC
506 vendor          STRING  NONE
507 visibility-state UINT8  DEC     VALS
508 visual          UINT32  HEX
509 visual-blue     UINT16  DEC
510 visual-green    UINT16  DEC
511 visual-red      UINT16  DEC
512 visualid        UINT32  HEX
513 visualtype     NONE    NONE
514         visualid                UINT32  HEX
515         class                   UINT8   DEC
516         bits-per-rgb-value      UINT8   DEC
517         colormap-entries        UINT16  DEC
518         red-mask                UINT32  HEX
519         green-mask              UINT32  HEX
520         blue-mask               UINT32  HEX
522 warp-pointer-dst-window UINT32  HEX     VALS(zero_is_none)
523 warp-pointer-src-window UINT32  HEX     VALS(zero_is_none)
524 wid             UINT32  HEX             Window id
525 width           UINT16  DEC
526 win-gravity     UINT8   DEC     VALS(win_gravity)
527 win-x           INT16   DEC
528 win-y           INT16   DEC
529 window          UINT32  HEX
530 window-class    UINT16  DEC     VALS            Window class
532 window-value-mask       UINT32  HEX
533         background-pixmap       BOOLEAN 32      0x00000001
534         background-pixel        BOOLEAN 32      0x00000002
535         border-pixmap           BOOLEAN 32      0x00000004
536         border-pixel            BOOLEAN 32      0x00000008
537         bit-gravity             BOOLEAN 32      0x00000010
538         win-gravity             BOOLEAN 32      0x00000020
539         backing-store           BOOLEAN 32      0x00000040
540         backing-planes          BOOLEAN 32      0x00000080
541         backing-pixel           BOOLEAN 32      0x00000100
542         override-redirect       BOOLEAN 32      0x00000200
543         save-under              BOOLEAN 32      0x00000400
544         event-mask              BOOLEAN 32      0x00000800
545         do-not-propagate-mask   BOOLEAN 32      0x00001000
546         colormap                BOOLEAN 32      0x00002000
547         cursor                  BOOLEAN 32      0x00004000
549 x               INT16   DEC
550 y               INT16   DEC