aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/l2cap.h
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-02-04 00:20:52 -0500
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-07 22:43:31 -0500
commitfd83ccdb393e3190633e0240dd73faac8998164b (patch)
treea5d0c8c4fd9a99deb6e0aa25940d7b2d7682582e /include/net/bluetooth/l2cap.h
parentdcba0dba54b566a08376f93cab35cdabd6abda20 (diff)
Bluetooth: move l2cap_sock_sendmsg() to l2cap_sock.c
Also moves some L2CAP sending functions declaration to l2cap.h Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r--include/net/bluetooth/l2cap.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index c9df0ef5b6f5..d4c93eded727 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -436,6 +436,14 @@ void l2cap_send_cmd(struct l2cap_conn *conn, u8 ident, u8 code, u16 len, void *d
436int l2cap_build_conf_req(struct sock *sk, void *data); 436int l2cap_build_conf_req(struct sock *sk, void *data);
437int __l2cap_wait_ack(struct sock *sk); 437int __l2cap_wait_ack(struct sock *sk);
438 438
439struct sk_buff *l2cap_create_connless_pdu(struct sock *sk, struct msghdr *msg, size_t len);
440struct sk_buff *l2cap_create_basic_pdu(struct sock *sk, struct msghdr *msg, size_t len);
441struct sk_buff *l2cap_create_iframe_pdu(struct sock *sk, struct msghdr *msg, size_t len, u16 control, u16 sdulen);
442int l2cap_sar_segment_sdu(struct sock *sk, struct msghdr *msg, size_t len);
443void l2cap_do_send(struct sock *sk, struct sk_buff *skb);
444void l2cap_streaming_send(struct sock *sk);
445int l2cap_ertm_send(struct sock *sk);
446
439void l2cap_sock_set_timer(struct sock *sk, long timeout); 447void l2cap_sock_set_timer(struct sock *sk, long timeout);
440void l2cap_sock_clear_timer(struct sock *sk); 448void l2cap_sock_clear_timer(struct sock *sk);
441void __l2cap_sock_close(struct sock *sk, int reason); 449void __l2cap_sock_close(struct sock *sk, int reason);
@@ -445,9 +453,6 @@ struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock,
445 int proto, gfp_t prio); 453 int proto, gfp_t prio);
446int l2cap_do_connect(struct sock *sk); 454int l2cap_do_connect(struct sock *sk);
447 455
448int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len);
449
450
451void l2cap_load(void); 456void l2cap_load(void);
452 457
453#endif /* __L2CAP_H */ 458#endif /* __L2CAP_H */