diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-04 00:20:52 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-07 22:43:31 -0500 |
commit | fd83ccdb393e3190633e0240dd73faac8998164b (patch) | |
tree | a5d0c8c4fd9a99deb6e0aa25940d7b2d7682582e /include/net/bluetooth/l2cap.h | |
parent | dcba0dba54b566a08376f93cab35cdabd6abda20 (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.h | 11 |
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 | |||
436 | int l2cap_build_conf_req(struct sock *sk, void *data); | 436 | int l2cap_build_conf_req(struct sock *sk, void *data); |
437 | int __l2cap_wait_ack(struct sock *sk); | 437 | int __l2cap_wait_ack(struct sock *sk); |
438 | 438 | ||
439 | struct sk_buff *l2cap_create_connless_pdu(struct sock *sk, struct msghdr *msg, size_t len); | ||
440 | struct sk_buff *l2cap_create_basic_pdu(struct sock *sk, struct msghdr *msg, size_t len); | ||
441 | struct sk_buff *l2cap_create_iframe_pdu(struct sock *sk, struct msghdr *msg, size_t len, u16 control, u16 sdulen); | ||
442 | int l2cap_sar_segment_sdu(struct sock *sk, struct msghdr *msg, size_t len); | ||
443 | void l2cap_do_send(struct sock *sk, struct sk_buff *skb); | ||
444 | void l2cap_streaming_send(struct sock *sk); | ||
445 | int l2cap_ertm_send(struct sock *sk); | ||
446 | |||
439 | void l2cap_sock_set_timer(struct sock *sk, long timeout); | 447 | void l2cap_sock_set_timer(struct sock *sk, long timeout); |
440 | void l2cap_sock_clear_timer(struct sock *sk); | 448 | void l2cap_sock_clear_timer(struct sock *sk); |
441 | void __l2cap_sock_close(struct sock *sk, int reason); | 449 | void __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); |
446 | int l2cap_do_connect(struct sock *sk); | 454 | int l2cap_do_connect(struct sock *sk); |
447 | 455 | ||
448 | int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len); | ||
449 | |||
450 | |||
451 | void l2cap_load(void); | 456 | void l2cap_load(void); |
452 | 457 | ||
453 | #endif /* __L2CAP_H */ | 458 | #endif /* __L2CAP_H */ |