D | rfcdefs.h | 69 #define RFCOMM_PARSE_CTRL_FIELD(ea, cr, dlci, p_data) \ argument 71 ea = *p_data & RFCOMM_EA; \ 74 if (!ea) dlci += *p_data++ << RFCOMM_SHIFT_DLCI2; \ 77 #define RFCOMM_FORMAT_CTRL_FIELD(p_data, ea, cr, dlci) \ argument 78 *p_data++ = ea | cr | (dlci << RFCOMM_SHIFT_DLCI) 93 #define RFCOMM_PARSE_LEN_FIELD(ea, length, p_data) \ argument 95 ea = (*p_data & RFCOMM_EA); \ 97 if (!ea) length += (*p_data++ << RFCOMM_SHIFT_LENGTH2); \
|