Pat Kane wrote: > How hard would it be for me to describe my small local X extension > in XCB format and get Wireshark to grok it?
Assuming your local X extension is regular, it should be relatively easy to describe in XCB's XML format. See the SHAPE extension description for an example: http://cgit.freedesktop.org/xcb/proto/tree/src/shape.xml Once you've got that, you've got everything that XCB gives you: automatic libxcb generation, automatic python binding, etc. In terms of Wireshark, you "just" need to - Build unmodified wireshark from svn, to make sure you have that process working. - Apply my patch from https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2981 - Follow these directions: https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2492 (except replace the xcb/proto git clone URL with your local git repository that has your own extension added to it) > I esp. need to track the XConvertSelection process. Wireshark has excellent filtering capabilities. I'm sure you could easily construct a filter to show only the packets you are interested in. Peter Harris -- Open Text Connectivity Solutions Group Peter Harris http://www.opentext.com/connectivity Research and Development Phone: +1 905 762 6001 [email protected] Toll Free: 1 877 359 4866 _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
