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) Is that ok for you? Frédéric -- 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