Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/scsipi



On Fri, Dec 01, 2006 at 11:54:27AM -0800, Jason Thorpe wrote:
> >>It matters on all of these structures.
> >
> >Does __aligned__ add trailing padding?
> 
> Leading or trailing, depending on where an individual one is placed.

Leading is bad for structures sent on-wire; trailing is also a problem
as sizeof(foo) doesn't reflect the on-wire data size either.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index