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
Powered by MHonArc 2.6.10