[NUT-devel] reserved bytes

Oded Shimon ods15 at ods15.dyndns.org
Tue Nov 28 14:41:41 CET 2006


On Tue, Nov 28, 2006 at 02:17:49AM +0100, Michael Niedermayer wrote:
> Hi
> 
> On Tue, Nov 28, 2006 at 01:03:25AM +0100, Ivo wrote:
> > Hi,
> > 
> > I stumbled upon the following:
> > 
> > packet_footer
> >     reserved_bytes
> >     checksum                            u(32)
> >     [Note: in index packet, reserved_bytes comes before index_ptr]
> > 
> > Wouldn't it be cleaner and easier to understand to just move reserved_bytes 
> > to the end of each header? Like:
> 
> maybe and no objections, i suggest you wait 24h and if noone objects
> then commit it

Just one thing - reserved_bytes also applies for _unkown_ packets - 
see reserved_headers.

- ods15



More information about the NUT-devel mailing list