xref: /haiku/headers/os/bluetooth/L2CAP/btL2CAP.h (revision 001662ae04b1e220cfc87453b03a050938040d6f)
1 /*
2  * Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 
6 #ifndef _BTL2CAP_H_
7 #define _BTL2CAP_H_
8 
9 #include <bluetooth/bluetooth.h>
10 
11 struct sockaddr_l2cap {
12 	uint8		l2cap_len;		/* total length */
13 	uint8		l2cap_family;	/* address family */
14 	uint16		l2cap_psm;		/* PSM (Protocol/Service Multiplexor) */
15 	bdaddr_t	l2cap_bdaddr;	/* address */
16 };
17 
18 
19 #endif // _BTL2CAP_H_