Hi Guy, > > here is my patch that adds a Wiretap module for reading files created > > with "hcidump -w". > > Checked in, with wiretap/Makefile.nmake updated to build it, with the > __attribute((packed))__ stuff removed (not all compilers used to build > Wiretap support it, and there are no fields in there that would require > padding), and with the byte swapping done with "g_ntohs()" and > "g_ntohl()" so it doesn't have to include headers not found on all > platforms. sorry for the nmake stuff, but I always forget them :( Attached is another patch against CVS, which re-introduces the byte swapping, because the ntohs/ntohl are not working in this case. I used the GLIB macros and so it should be portable now. I also use the macro _U_ for __attribute((packed))__ and this should be portable, too. Regards Marcel