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

Måns Rullgård mans at mansr.com
Tue Feb 19 20:50:27 CET 2008


Rich Felker <dalias at aerifal.cx> writes:

> On Tue, Feb 19, 2008 at 06:45:05PM +0100, Michael Niedermayer wrote:
>> +main_flags (v)
>> +    Bit Name            Description
>> +    0   BROADCAST_MODE  Set if broadcast mode is in use.
>
> Doesn't nut.txt say bit numbering goes from highest to lowest? Of
> course this makes no sense for vlc bitfields... But it should probably
> be clarified. Or else explicit numeric values rather than but numbers
> should be used.

Why not make each flag its own 1-bit field?  Or would that be bad for
some reason I'm missing?

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



More information about the NUT-devel mailing list