xref: /haiku/src/add-ons/kernel/network/protocols/l2cap/l2cap_signal.h (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1 /*
2  * Copyright 2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3  * All rights reserved. Distributed under the terms of the MIT License.
4  */
5 #ifndef L2CAP_SIGNAL_H
6 #define L2CAP_SIGNAL_H
7 
8 // Processing signals
9 status_t l2cap_process_signal_cmd(HciConnection* conn, net_buffer* buffer);
10 
11 #if 0
12 #pragma - Signals Responses
13 #endif
14 
15 status_t
16 send_l2cap_reject(HciConnection *conn, uint8 ident, uint16 reason, uint16 mtu, uint16 scid, uint16 dcid);
17 status_t
18 send_l2cap_con_rej(HciConnection *conn, uint8 ident, uint16 scid, uint16 dcid, uint16 result);
19 status_t
20 send_l2cap_cfg_rsp(HciConnection *conn, uint8 ident, uint16 scid, uint16 result, net_buffer *opt);
21 
22 #endif
23