Re: [PATCH] network: Reply to extensions at connection setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Frederic,

On Thu, May 31, 2012 at 3:09 PM, Dalleau, Frederic
<frederic.dalleau@xxxxxxxxx> wrote:
> Luiz,
>
> On Thu, May 31, 2012 at 12:38 PM, Luiz Augusto von Dentz
> <luiz.dentz@xxxxxxxxx> wrote:
>> Hi Frédéric,
>> Perhaps you can have a macro for getting just the header type without
>> the extension bit e.g. BNEP_HEADER(type) ((type) & ~BNEP_EXT_HEADER)
>>
>
> Why not, but in this case, it would make sense to also define a macro
> for reading the extension bit
> Something like : #define BNEP_EXTENDED(type) ((type) & BNEP_EXT_HEADER)

Yep, anything that makes it more obvious what it is doing is a good
idea to have.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux