diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-03 23:33:56 -0500 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-02-07 22:43:30 -0500 |
commit | 65390587c7bcf8bb60b48387db766d8d7dfea982 (patch) | |
tree | 51037c1b24f8234f9e8ddc07cf594ce42fed1b91 /include/net | |
parent | bb58f747e519aba07a6f05a78d58cf8a0788e2d5 (diff) |
Bluetooth: move l2cap_sock_ops to l2cap_sock.c
First step to move all l2cap_sock_ops function to l2cap_sock.c
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index fce5274a4f7b..533bef5f6341 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -438,6 +438,18 @@ void l2cap_sock_init(struct sock *sk, struct sock *parent); | |||
438 | struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, | 438 | struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, |
439 | int proto, gfp_t prio); | 439 | int proto, gfp_t prio); |
440 | 440 | ||
441 | int l2cap_sock_release(struct socket *sock); | ||
442 | int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen); | ||
443 | int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags); | ||
444 | int l2cap_sock_listen(struct socket *sock, int backlog); | ||
445 | int l2cap_sock_accept(struct socket *sock, struct socket *newsock, int flags); | ||
446 | int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer); | ||
447 | int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len); | ||
448 | int l2cap_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int flags); | ||
449 | int l2cap_sock_shutdown(struct socket *sock, int how); | ||
450 | int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int optlen); | ||
451 | int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen); | ||
452 | |||
441 | 453 | ||
442 | void l2cap_load(void); | 454 | void l2cap_load(void); |
443 | 455 | ||