Re: [Wireshark-dev] Structure sizes change between Linux and Windows help

2011-07-29 Thread Alex Lindberg
. Anyone have a utility to extract all of the struct members from a struct definition? Thanks as always. Alex Lindberg --- On Thu, 7/28/11, Bill Meier wme...@newsguy.com wrote: From: Bill Meier wme...@newsguy.com Subject: Re: [Wireshark-dev] Structure sizes change between Linux and Windows help

[Wireshark-dev] Structure sizes change between Linux and Windows help

2011-07-28 Thread Alex Lindberg
I am creating a dissector that overlays a complicated struct (bit fields, unions, etc) on the the tvb.  My Linux version works as designed, however when I move it to Windows (win32) the size of the struct changes and thus, won't overlay the tvb properly. I am not an expert with Windows, but is

Re: [Wireshark-dev] Structure sizes change between Linux and Windows help

2011-07-28 Thread Bill Meier
On 7/28/2011 5:27 PM, Alex Lindberg wrote: I am creating a dissector that overlays a complicated struct (bit fields, unions, etc) on the the tvb. Unfortunately, you can't do that; :) From doc/README.developer Don't use structures that overlay packet data, or into which you copy packet

Re: [Wireshark-dev] Structure sizes change between Linux and Windows help

2011-07-28 Thread Bill Meier
On 7/28/2011 5:39 PM, Bill Meier wrote: On 7/28/2011 5:27 PM, Alex Lindberg wrote: I am creating a dissector that overlays a complicated struct (bit fields, unions, etc) on the the tvb. Unfortunately, you can't do that; :) From doc/README.developer Don't use structures that overlay packet