Ethereal-dev: Re: [ethereal-dev] AIX: gtk problem solved, now an ethereal problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 10 Nov 1999 10:34:51 -0600
On Wed, Nov 10, 1999 at 09:55:34AM -0600, itojun@xxxxxxxxxx wrote:
> 
> 
> 
> >Some more AIX problems. :)
> 
>         Thanks, I think we should avoid bit field for packet header
>         struct as we are not sure how C compiler would pack them into.
> 
> itojun

And furthermore, ANSI C only allows unsigned ints to contain bitfields.
GCC lets you put bitfields in any uint-like variable, but IBM's C
compiler won't. We had to fix this a long time ago for TCP and DDP.
The hi_nibble and lo_nibble macros in packet.h were introduced 
because of that.

--gilbert