Subject: Re: ancillary data alignment and binary backward compatibility
To: Chris G. Demetriou <cgd@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-net
Date: 04/03/2000 14:50:31
>> > > - 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
>stack code.
we don't have intermediate data representation right now. i'm not
sure if we can introduce one, since i'm not sure if control data
stream (accessed via sbappendcontrol) is always formatted by CMSG_xx
or not.
>Indeed, in that case, you can't avoid repacking.
yup. i'll try to write up repacking code.
itojun