Subject: Re: ancillary data alignment and binary backward compatibility
To: Jun-ichiro itojun Hagino <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 04/02/2000 21:55:49
Jun-ichiro itojun Hagino <firstname.lastname@example.org> writes:
> > > - when userland process consumes ancillary data (via recvmsg)
> >When the process does the rcvmsg() is when you can re-pack, if necessary.
> Chris basically suggested to avoid re-packing, and I agree re-packing
> is not a good thing. I'm very very stuck here...
OK, i thought that you had an intermediate representation, rather than
packing into the right format directly in the networking protocol
Indeed, in that case, you can't avoid repacking.
Chris Demetriou - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.