xref: /haiku/headers/os/bluetooth/L2CAP/btL2CAP.h (revision 001662ae04b1e220cfc87453b03a050938040d6f)
13e248012SOliver Ruiz Dorantes /*
23e248012SOliver Ruiz Dorantes  * Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
33e248012SOliver Ruiz Dorantes  * All rights reserved. Distributed under the terms of the MIT License.
43e248012SOliver Ruiz Dorantes  */
53e248012SOliver Ruiz Dorantes 
63e248012SOliver Ruiz Dorantes #ifndef _BTL2CAP_H_
73e248012SOliver Ruiz Dorantes #define _BTL2CAP_H_
83e248012SOliver Ruiz Dorantes 
93e248012SOliver Ruiz Dorantes #include <bluetooth/bluetooth.h>
103e248012SOliver Ruiz Dorantes 
113e248012SOliver Ruiz Dorantes struct sockaddr_l2cap {
123e248012SOliver Ruiz Dorantes 	uint8		l2cap_len;		/* total length */
133e248012SOliver Ruiz Dorantes 	uint8		l2cap_family;	/* address family */
143e248012SOliver Ruiz Dorantes 	uint16		l2cap_psm;		/* PSM (Protocol/Service Multiplexor) */
153e248012SOliver Ruiz Dorantes 	bdaddr_t	l2cap_bdaddr;	/* address */
163e248012SOliver Ruiz Dorantes };
173e248012SOliver Ruiz Dorantes 
183e248012SOliver Ruiz Dorantes 
19*001662aeSOliver Ruiz Dorantes #endif // _BTL2CAP_H_