Note that for THE3GPP_IPV6_DNS_SERVERS we probably *do* need to handle
[obnox/wireshark/wip.git] / x11-fields
1 #
2 # Fields for X11 dissector.
3 #
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
5 #
6 # $Id: x11-fields,v 1.11 2004/01/04 10:57:18 guy Exp $
7 #
8 # Ethereal - Network traffic analyzer
9 # By Gerald Combs <gerald@ethereal.com>
10 # Copyright 1998 Gerald Combs
11 #
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
16
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 # GNU General Public License for more details.
21
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #
26
27 acceleration-denominator        INT16   DEC
28 acceleration-numerator  INT16   DEC
29 access-mode     UINT8   DEC     VALS
30 address         BYTES   NONE
31 ip-address      IPv4    NONE
32 address-length  UINT16  DEC
33 alloc           UINT8   DEC     VALS
34 allow-events-mode       UINT8   DEC     VALS
35 allow-exposures UINT8   DEC     VALS(yes_no_default)
36 arcs            NONE    NONE
37
38 arc             NONE    NONE
39         x               INT16   DEC
40         y               INT16   DEC
41         width   UINT16  DEC
42         height  UINT16  DEC
43         angle1  INT16   DEC
44         angle2  INT16   DEC
45
46 arc-mode        UINT8   DEC     VALS    Tell us if we're drawing an arc or a pie
47 atom            UINT32  HEX
48 authorization-protocol-name-length      UINT16  DEC
49 authorization-protocol-name     STRING  HEX
50 authorization-protocol-data-length      UINT16  DEC
51 authorization-protocol-data     STRING  HEX
52 auto-repeat-mode        UINT8   DEC     VALS
53
54 bitmap-format-bit-order UINT8   HEX     VALS(image_byte_order)
55 bitmap-format-scanline-pad      UINT8   DEC     bitmap format scanline-pad
56 bitmap-format-scanline-unit     UINT8   DEC     bitmap format scanline unit
57 bytes-after     UINT32  DEC     bytes after
58 back-blue       UINT16  DEC             Background blue value for a cursor
59 back-green      UINT16  DEC             Background green value for a cursor
60 back-red        UINT16  DEC             Background red value for a cursor
61 background      UINT32  HEX             Background color
62 background-pixel        UINT32  HEX     Background color for a window
63 background-pixmap       UINT32  HEX     VALS    Background pixmap for a window
64 backing-pixel   UINT32  HEX
65 backing-planes  UINT32  HEX
66 backing-store   UINT8   DEC     VALS
67 bell-duration   INT16   DEC
68 bell-percent    INT8    DEC
69 bell-pitch      INT16   DEC
70 bit-gravity     UINT8   DEC     VALS(gravity)
71 bit-plane       UINT32  HEX
72 blue            UINT16  DEC
73 blues           UINT16  DEC
74 border-pixel    UINT32  HEX
75 border-pixmap   UINT32  HEX     VALS
76 border-width    UINT16  DEC
77 button          UINT8   DEC     VALS
78 byte-order      UINT8   HEX     VALS
79
80 childwindow     UINT32  HEX     childwindow
81 cap-style       UINT8   DEC     VALS
82 change-host-mode        UINT8   DEC     VALS(insert_delete)
83 cid             UINT32  HEX
84 class           UINT8   DEC     VALS
85 clip-mask       UINT32  HEX     VALS(zero_is_none)
86 clip-x-origin   INT16   DEC
87 clip-y-origin   INT16   DEC
88 close-down-mode UINT8   DEC     VALS
89 cmap            UINT32  HEX
90 colormap        UINT32  HEX
91
92 color-items     NONE    NONE
93
94 coloritem               NONE    NONE
95         pixel           UINT32  HEX
96         red             UINT16  DEC
97         green           UINT16  DEC
98         blue            UINT16  DEC
99         flags           UINT8   HEX
100                 do-red          BOOLEAN 8       0x01
101                 do-green        BOOLEAN 8       0x02
102                 do-blue         BOOLEAN 8       0x04
103                 unused          BOOLEAN 8       0xf8
104         unused          NONE    NONE
105
106 colors          UINT16  DEC                     The number of color cells to allocate
107
108 configure-window-mask   UINT16  HEX
109         x               BOOLEAN 16      0x0001
110         y               BOOLEAN 16      0x0002
111         width           BOOLEAN 16      0x0004
112         height          BOOLEAN 16      0x0008
113         border-width    BOOLEAN 16      0x0010
114         sibling         BOOLEAN 16      0x0020
115         stack-mode      BOOLEAN 16      0x0040
116
117 confine-to      UINT32  HEX     VALS(zero_is_none)
118 contiguous      BOOLEAN NONE
119 coordinate-mode UINT8   DEC     VALS
120 count           UINT8   DEC
121 cursor          UINT32  HEX     VALS(zero_is_none)
122 dash-offset     UINT16  DEC
123 dashes          BYTES   NONE
124 dashes-length   UINT16  DEC
125 do-acceleration BOOLEAN NONE
126 do-threshold    BOOLEAN NONE
127
128 detail  UINT8   DEC     detail
129 do-not-propagate-mask   UINT32  HEX
130         KeyPress                BOOLEAN 32      0x00000001
131         KeyRelease              BOOLEAN 32      0x00000002
132         ButtonPress             BOOLEAN 32      0x00000004
133         ButtonRelease           BOOLEAN 32      0x00000008
134         PointerMotion           BOOLEAN 32      0x00000040
135         Button1Motion           BOOLEAN 32      0x00000100
136         Button2Motion           BOOLEAN 32      0x00000200
137         Button3Motion           BOOLEAN 32      0x00000400
138         Button4Motion           BOOLEAN 32      0x00000800
139         Button5Motion           BOOLEAN 32      0x00001000
140         ButtonMotion            BOOLEAN 32      0x00002000
141         erroneous-bits          BOOLEAN 32      0xffffc0b0
142
143 event-sequencenumber    UINT16  DEC     event sequencenumber
144 error   UINT8   DEC     error
145 error-badvalue  UINT32  DEC     error badvalue
146 error_sequencenumber    UINT16  DEC     error sequencenumber
147 errorcode       UINT8   DEC     VALS    errrorcode
148 event-x UINT16  DEC     event x
149 event-y UINT16  DEC     event y
150 eventbutton     UINT8   DEC     eventbutton
151 eventcode       UINT8   DEC     VALS    eventcode
152 eventwindow     UINT32  HEX     eventwindow
153
154 gc-dashes       UINT8   DEC
155
156 gc-value-mask   UINT32  HEX
157         function                BOOLEAN 32      0x00000001
158         plane-mask              BOOLEAN 32      0x00000002
159         foreground              BOOLEAN 32      0x00000004
160         background              BOOLEAN 32      0x00000008
161         line-width              BOOLEAN 32      0x00000010
162         line-style              BOOLEAN 32      0x00000020
163         cap-style               BOOLEAN 32      0x00000040
164         join-style              BOOLEAN 32      0x00000080
165         fill-style              BOOLEAN 32      0x00000100
166         fill-rule               BOOLEAN 32      0x00000200
167         tile                    BOOLEAN 32      0x00000400
168         stipple                 BOOLEAN 32      0x00000800
169         tile-stipple-x-origin   BOOLEAN 32      0x00001000
170         tile-stipple-y-origin   BOOLEAN 32      0x00002000
171         font                    BOOLEAN 32      0x00004000
172         subwindow-mode          BOOLEAN 32      0x00008000
173         graphics-exposures      BOOLEAN 32      0x00010000
174         clip-x-origin           BOOLEAN 32      0x00020000
175         clip-y-origin           BOOLEAN 32      0x00040000
176         clip-mask               BOOLEAN 32      0x00080000
177         dash-offset             BOOLEAN 32      0x00100000
178         gc-dashes               BOOLEAN 32      0x00200000
179         arc-mode                BOOLEAN 32      0x00400000
180
181 green           UINT16  DEC
182 greens          UINT16  DEC
183 data            BYTES   NONE
184 data-length     UINT32  DEC
185 delete          BOOLEAN NONE            Delete this property after reading
186 delta           INT16   DEC
187 depth           UINT8   DEC
188 direction       UINT8   DEC     VALS
189 drawable        UINT32  HEX
190 dst-drawable    UINT32  HEX
191 dst-gc          UINT32  HEX
192 dst-window      UINT32  HEX
193 dst-x           INT16   DEC
194 dst-y           INT16   DEC
195
196 event-mask      UINT32  HEX
197         KeyPress                BOOLEAN 32      0x00000001
198         KeyRelease              BOOLEAN 32      0x00000002
199         ButtonPress             BOOLEAN 32      0x00000004
200         ButtonRelease           BOOLEAN 32      0x00000008
201         EnterWindow             BOOLEAN 32      0x00000010
202         LeaveWindow             BOOLEAN 32      0x00000020
203         PointerMotion           BOOLEAN 32      0x00000040
204         PointerMotionHint       BOOLEAN 32      0x00000080
205         Button1Motion           BOOLEAN 32      0x00000100
206         Button2Motion           BOOLEAN 32      0x00000200
207         Button3Motion           BOOLEAN 32      0x00000400
208         Button4Motion           BOOLEAN 32      0x00000800
209         Button5Motion           BOOLEAN 32      0x00001000
210         ButtonMotion            BOOLEAN 32      0x00002000
211         KeymapState             BOOLEAN 32      0x00004000
212         Exposure                BOOLEAN 32      0x00008000
213         VisibilityChange        BOOLEAN 32      0x00010000
214         StructureNotify         BOOLEAN 32      0x00020000
215         ResizeRedirect          BOOLEAN 32      0x00040000
216         SubstructureNotify      BOOLEAN 32      0x00080000
217         SubstructureRedirect    BOOLEAN 32      0x00100000
218         FocusChange             BOOLEAN 32      0x00200000
219         PropertyChange          BOOLEAN 32      0x00400000
220         ColormapChange          BOOLEAN 32      0x00800000
221         OwnerGrabButton         BOOLEAN 32      0x01000000
222         erroneous-bits          BOOLEAN 32      0xfe000000
223
224 exposures       BOOLEAN NONE
225 family          UINT8   DEC     VALS
226 fid             UINT32  HEX             Font id
227 fill-rule       UINT8   DEC     VALS
228 fill-style      UINT8   DEC     VALS
229 first-keycode   UINT8   DEC
230 focus           UINT8   DEC     VALS
231 font            UINT32  HEX
232 fore-blue       UINT16  DEC
233 fore-green      UINT16  DEC
234 fore-red        UINT16  DEC
235 foreground      UINT32  HEX
236 format          UINT8   DEC
237 function        UINT8   DEC     VALS
238 gc              UINT32  HEX
239 get-property-type       UINT32  HEX     VALS(zero_is_any_property_type)
240 grab_window     UINT32  HEX
241 graphics-exposures      BOOLEAN NONE
242 height          UINT16  DEC
243 image-byte-order        UINT8   HEX     VALS
244 initial-connection      NONE    NONE    undecoded
245 image-format    UINT8   DEC     VALS
246 image-pixmap-format     UINT8   DEC     VALS
247 interval        INT16   DEC
248 items           NONE    NONE
249 join-style      UINT8   DEC     VALS
250 key             UINT8   DEC     VALS
251 key-click-percent       INT8    DEC
252 keyboard-key    UINT8   DEC
253 keyboard-mode   UINT8   DEC     VALS(pointer_keyboard_mode)
254 keybut-mask-erroneous-bits      BOOLEAN 16      0xe000  keybut mask erroneous bits
255 keycode UINT8   HEX     keycode
256
257 keyboard-value-mask     UINT32  HEX
258         key-click-percent       BOOLEAN 32      0x0001
259         bell-percent            BOOLEAN 32      0x0002
260         bell-pitch              BOOLEAN 32      0x0004
261         bell-duration           BOOLEAN 32      0x0008
262         led                     BOOLEAN 32      0x0010
263         led-mode                BOOLEAN 32      0x0020
264         keyboard-key            BOOLEAN 32      0x0040
265         auto-repeat-mode        BOOLEAN 32      0x0080
266
267 keycode-count   UINT8   DEC
268
269 keycodes        NONE    NONE
270         item    BYTES   NONE
271
272 keycodes-per-modifier   UINT8   DEC
273
274 keysyms         NONE    NONE
275         item    NONE    NONE
276                 keysym  UINT32  HEX
277
278 keysyms-per-keycode     UINT8   DEC
279 length-of-reason        UINT8   DEC     length of reason
280 length-of-vendor        UINT16  DEC     length of vendor
281 led             UINT8   DEC
282 led-mode        UINT8   DEC     VALS(on_off)
283 left-pad        UINT8   DEC
284 line-style      UINT8   DEC     VALS
285 line-width      UINT16  DEC
286 long-length     UINT32  DEC             The maximum length of the property in bytes
287 long-offset     UINT32  DEC             The starting position in the property bytes array
288 map             BYTES   NONE
289 map-length      UINT8   DEC
290 mask            UINT32  HEX     VALS(zero_is_none)
291 mask-char       UINT16  DEC
292 mask-font       UINT32  HEX     VALS(zero_is_none)
293 max-names       UINT16  DEC
294 mid             UINT32  HEX
295 mode            UINT8   DEC     VALS
296 major-opcode    UINT16  DEC     major opcode
297 max-keycode     UINT8   DEC     max keycode
298 maximum-request-length  UINT16  DEC     maximum request length
299 min-keycode     UINT8   DEC     min keycode
300 minor-opcode    UINT16  DEC     minor opcode
301
302 modifiers-mask          UINT16  HEX
303         Shift                   BOOLEAN 16      0x0001
304         Lock                    BOOLEAN 16      0x0002
305         Control                 BOOLEAN 16      0x0004
306         Mod1                    BOOLEAN 16      0x0008
307         Mod2                    BOOLEAN 16      0x0010
308         Mod3                    BOOLEAN 16      0x0020
309         Mod4                    BOOLEAN 16      0x0040
310         Mod5                    BOOLEAN 16      0x0080
311         Button1                 BOOLEAN 16      0x0100
312         Button2                 BOOLEAN 16      0x0200
313         Button3                 BOOLEAN 16      0x0400
314         Button4                 BOOLEAN 16      0x0800
315         Button5                 BOOLEAN 16      0x1000
316         AnyModifier             UINT16  HEX     0x8000
317         erroneous-bits          BOOLEAN 16      0xff00
318
319 motion-buffer-size      UINT16  DEC     motion buffer size
320
321 number-of-formats-in-pixmap-formats     UINT8   DEC     number of formats in pixmap formats
322 number-of-screens-in-roots      UINT8   DEC     number of screens in roots
323
324 name            STRING  HEX
325 name-length     UINT16  DEC
326 odd-length      BOOLEAN NONE
327 only-if-exists  BOOLEAN NONE
328 opcode          UINT8   DEC     VALS
329 ordering        UINT8   DEC     VALS
330 override-redirect       BOOLEAN NONE    Window manager doesn't manage this window when true
331 owner           UINT32  HEX     VALS(zero_is_none)
332 owner-events    BOOLEAN NONE
333 parent          UINT32  HEX
334
335 path    NONE    NONE
336         string                  STRING  NONE
337
338 pattern         STRING  HEX
339 pattern-length  UINT16  DEC
340 percent         UINT8   DEC
341 pid             UINT32  HEX
342 pixel           UINT32  HEX
343 pixels          NONE    NONE
344 pixels_item     UINT32  HEX
345 pixmap          UINT32  HEX
346 plane-mask      UINT32  HEX     VALS
347 planes          UINT16  DEC
348 point           NONE    NONE
349 points          NONE    NONE
350 point-x         INT16   DEC
351 point-y         INT16   DEC
352
353 pointer-event-mask      UINT16  HEX
354         ButtonPress             BOOLEAN 16      0x0004
355         ButtonRelease           BOOLEAN 16      0x0008
356         EnterWindow             BOOLEAN 16      0x0010
357         LeaveWindow             BOOLEAN 16      0x0020
358         PointerMotion           BOOLEAN 16      0x0040
359         PointerMotionHint       BOOLEAN 16      0x0080
360         Button1Motion           BOOLEAN 16      0x0100
361         Button2Motion           BOOLEAN 16      0x0200
362         Button3Motion           BOOLEAN 16      0x0400
363         Button4Motion           BOOLEAN 16      0x0800
364         Button5Motion           BOOLEAN 16      0x1000
365         ButtonMotion            BOOLEAN 16      0x2000
366         KeymapState             BOOLEAN 16      0x4000
367         erroneous-bits          BOOLEAN 16      0x8003
368
369 pointer-mode    UINT8   DEC     VALS(pointer_keyboard_mode)
370 prefer-blanking UINT8   DEC     VALS(yes_no_default)
371
372 properties      NONE    NONE
373         item    UINT32  HEX
374
375 property        UINT32  HEX
376 property-number UINT16  DEC
377 protocol-major-version  UINT16  DEC
378 protocol-minor-version  UINT16  DEC
379 reason          STRING  HEX     reason
380 rectangle-height        UINT16  DEC
381 rectangles      NONE    NONE
382 rectangle       NONE    NONE
383 rectangle-width UINT16  DEC
384 rectangle-x     INT16   DEC
385 rectangle-y     INT16   DEC
386 red             UINT16  DEC
387 reds            UINT16  DEC
388 request         UINT8   DEC     VALS(opcode)
389 requestor       UINT32  HEX
390 request-length  UINT16  DEC             Request length
391 resource        UINT32  HEX     VALS(all_temporary)
392 revert-to       UINT8   DEC     VALS
393 release-number  UINT32  DEC     release number
394 reply   UINT8   DEC     reply
395 reply-sequencenumber    UINT16  DEC     VALS(opcode)
396 replylength     UINT32  DEC     replylength
397 replyopcode     UINT8   DEC     VALS(opcode)
398 resource-id-base        UINT32  HEX     resource id base
399 resource-id-mask        UINT32  HEX     resource id mask
400 root-x  UINT16  DEC     root x
401 root-y  UINT16  DEC     root y
402 rootwindow      UINT32  HEX     rootwindow
403
404 same-screen     BOOLEAN NONE    same screen
405 success         UINT8   DEC     success
406 save-set-mode   UINT8   DEC     VALS(insert_delete)
407 save-under      BOOLEAN NONE
408 screen-saver-mode       UINT8   DEC     VALS
409 segment         NONE    NONE
410 segments        NONE    NONE
411 segment_x1      INT16   DEC
412 segment_x2      INT16   DEC
413 segment_y1      INT16   DEC
414 segment_y2      INT16   DEC
415 selection       UINT32  HEX
416 shape           UINT8   DEC     VALS
417 sibling         UINT32  HEX
418 source-pixmap   UINT32  HEX
419 source-font     UINT32  HEX
420 source-char     UINT16  DEC
421 src-cmap        UINT32  HEX
422 src-drawable    UINT32  HEX
423 src-gc          UINT32  HEX
424 src-height      UINT16  DEC
425 src-width       UINT16  DEC
426 src-window      UINT32  HEX
427 src-x           INT16   DEC
428 src-y           INT16   DEC
429 start           UINT32  DEC
430 stack-mode      UINT8   DEC     VALS
431 stipple         UINT32  HEX
432 stop            UINT32  DEC
433 str-number-in-path      UINT16  DEC
434 string          STRING  HEX
435
436 string16        STRING  HEX
437         bytes   BYTES   NONE
438
439 string-length   UINT32  DEC
440 subwindow-mode  UINT8   DEC     VALS
441 target          UINT32  HEX
442
443 textitem        NONE    NONE
444         font    UINT32  HEX
445         string          NONE    NONE
446                 delta           INT8    DEC
447                 string8         STRING  NONE
448                 string16        STRING  NONE
449                         bytes   BYTES   NONE
450
451 threshold       INT16   DEC
452 tile            UINT32  HEX
453 tile-stipple-x-origin   INT16   DEC
454 tile-stipple-y-origin   INT16   DEC
455 time            UINT32  DEC
456 timeout         INT16   DEC
457 type            UINT32  HEX
458 undecoded       NONE    NONE            Yet undecoded by dissector
459 unused          NONE    NONE
460 valuelength     UINT32  DEC     valuelength
461 vendor          STRING  HEX     vendor
462 visual          UINT32  HEX
463 visualid        UINT32  HEX
464 warp-pointer-dst-window UINT32  HEX     VALS(zero_is_none)
465 warp-pointer-src-window UINT32  HEX     VALS(zero_is_none)
466 wid             UINT32  HEX             Window id
467 width           UINT16  DEC
468 win-gravity     UINT8   DEC     VALS(gravity)
469 window          UINT32  HEX
470 window-class    UINT16  DEC     VALS            Window class
471
472 window-value-mask       UINT32  HEX
473         background-pixmap       BOOLEAN 32      0x00000001
474         background-pixel        BOOLEAN 32      0x00000002
475         border-pixmap           BOOLEAN 32      0x00000004
476         border-pixel            BOOLEAN 32      0x00000008
477         bit-gravity             BOOLEAN 32      0x00000010
478         win-gravity             BOOLEAN 32      0x00000020
479         backing-store           BOOLEAN 32      0x00000040
480         backing-planes          BOOLEAN 32      0x00000080
481         backing-pixel           BOOLEAN 32      0x00000100
482         override-redirect       BOOLEAN 32      0x00000200
483         save-under              BOOLEAN 32      0x00000400
484         event-mask              BOOLEAN 32      0x00000800
485         do-not-propagate-mask   BOOLEAN 32      0x00001000
486         colormap                BOOLEAN 32      0x00002000
487         cursor                  BOOLEAN 32      0x00004000
488
489 x               INT16   DEC
490 y               INT16   DEC