- Add macros to distingish between requests and responses
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34999 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -294,6 +294,10 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
} __attribute__ ((packed)) l2cap_info_rsp_cp;
|
} __attribute__ ((packed)) l2cap_info_rsp_cp;
|
||||||
|
|
||||||
|
#define IS_SIGNAL_REQ(code) ((code & 1) == 0)
|
||||||
|
#define IS_SIGNAL_RSP(code) ((code & 1) == 1)
|
||||||
|
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
/* L2CAP_CONNLESS_MTU */
|
/* L2CAP_CONNLESS_MTU */
|
||||||
struct {
|
struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user