[NUT-devel] Another suggestion for broadcast [PATCH]

Måns Rullgård mans at mansr.com
Wed Feb 20 10:32:48 CET 2008


Rich Felker <dalias at aerifal.cx> writes:

> On Wed, Feb 20, 2008 at 01:32:14AM +0000, Måns Rullgård wrote:
>> Another possibility is to precede each optional field with a 1-bit
>> flag indicating its presence.  The size of the containing element can
>> then also implicitly exclude any unused fields at the end.  This may
>> of course not be desired for frequently repeated elements where the
>> flags could be specified in a global header.
>
> I hope you understand, a 1bit field means a 1byte field. NUT has no
> support for sub-byte data units except when they're appropriately
> padded with reserved bits.

Sounds like a deficiency.

-- 
Måns Rullgård
mans at mansr.com



More information about the NUT-devel mailing list