Subject: Re: CVS commit: src/sys/dev/scsipi
To: Jason Thorpe <thorpej@shagadelic.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 12/01/2006 21:02:32
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>
     NetBSD: 26 ans d'experience feront toujours la difference
--