[bind10-dev] new in-memory zone data design
Michal 'vorner' Vaner
michal.vaner at nic.cz
Mon Jun 25 12:28:28 UTC 2012
Hello
On Fri, Jun 22, 2012 at 03:03:28PM -0700, JINMEI Tatuya / 神明達哉 wrote:
> > Also, speaking about layout and the structures with variable length, are we
> > aware that it's not possible to place any data at any address, right?
>
> Do you mean, due to alignment (like uint16_t field cannot always be
> placed at an odd-number address)? If so, the proposed layout took
> into account the issue (and that's actually why some of the fields are
> placed in counter-intuitive points). Do you see any specific field
> that can cause an alignment problem?
Yes, I mean allignment.
And I didn't mean anything specific. When looking explicitly for this, I see you
have a possible padding there before the offset pointers to names, so it should
be fine (as long as we know how large the padding should be).
With regards
--
You can fool some of the people all of the time,
and all of the people some of the time,
but you can make a fool of yourself anytime.
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20120625/b1fd4297/attachment.bin>
More information about the bind10-dev
mailing list