Linux bluetooth development
 help / color / mirror / Atom feed
* [bluetooth-next 00/16] l2cap.c split
@ 2011-02-04  6:01 Gustavo F. Padovan
       [not found] ` <1296799318-5517-2-git-send-email-padovan@profusion.mobi>
  2011-02-04 12:38 ` [bluetooth-next 00/16] l2cap.c split Luiz Augusto von Dentz
  0 siblings, 2 replies; 18+ messages in thread
From: Gustavo F. Padovan @ 2011-02-04  6:01 UTC (permalink / raw)
  To: linux-bluetooth

Here is the first real split of l2cap.c file. That file was getting so big that
we really need to split it in two or more. By now we have two file:
l2cap_sock.c and l2cap_core.c. In l2cap_sock.c we have all functions that deals
with sockets, in l2cap_core.c the rest.

Side efects are that I had to move the declaration of many functions to l2cap.h
along the l2cap socket list.

There are more steps on this, but this is surely a big one.

Gustavo F. Padovan (16):
  Bluetooth: Rename l2cap.c to l2cap_core.c
  Bluetooth: Initial work for L2CAP split.
  Bluetooth: move l2cap_sock_ops to l2cap_sock.c
  Bluetooth: move l2cap_sock_release() to l2cap_sock.c
  Bluetooth: move l2cap_sock_bind()/listen() to l2cap_sock.c
  Bluetooth: move l2cap_sock_accept() to l2cap_sock.c
  Bluetooth: move l2cap_sock_getname() to l2cap_sock.c
  Bluetooth: move l2cap_sock_setsockopt() to l2cap_sock.c
  Bluetooth: move l2cap_sock_getsockopt() to l2cap_sock.c
  Bluetooth: move l2cap_sock_connect() to l2cap_sock.c
  Bluetooth: move l2cap_sock_recvmsg() to l2cap_sock.c
  Bluetooth: move l2cap_sock_shutdown() to l2cap_sock.c
  Bluetooth: move l2cap_sock_sendmsg() to l2cap_sock.c
  Bluetooth: move L2CAP sock timers function to l2cap_sock.c
  Bluetooth: move l2cap_sock_kill() to l2cap_sock.c
  Bluetooth: move __l2cap_sock_close() to l2cap_sock.c

 include/net/bluetooth/l2cap.h |   31 +
 net/bluetooth/Makefile        |    1 +
 net/bluetooth/l2cap.c         | 4983 -----------------------------------------
 net/bluetooth/l2cap_core.c    | 3879 ++++++++++++++++++++++++++++++++
 net/bluetooth/l2cap_sock.c    | 1150 ++++++++++
 5 files changed, 5061 insertions(+), 4983 deletions(-)
 delete mode 100644 net/bluetooth/l2cap.c
 create mode 100644 net/bluetooth/l2cap_core.c
 create mode 100644 net/bluetooth/l2cap_sock.c

-- 
1.7.4.rc3


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-02-04 13:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04  6:01 [bluetooth-next 00/16] l2cap.c split Gustavo F. Padovan
     [not found] ` <1296799318-5517-2-git-send-email-padovan@profusion.mobi>
2011-02-04  6:01   ` [bluetooth-next 02/16] Bluetooth: Initial work for L2CAP split Gustavo F. Padovan
2011-02-04  6:01     ` [bluetooth-next 03/16] Bluetooth: move l2cap_sock_ops to l2cap_sock.c Gustavo F. Padovan
2011-02-04  6:01       ` [bluetooth-next 04/16] Bluetooth: move l2cap_sock_release() " Gustavo F. Padovan
2011-02-04  6:01         ` [bluetooth-next 05/16] Bluetooth: move l2cap_sock_bind()/listen() " Gustavo F. Padovan
2011-02-04  6:01           ` [bluetooth-next 06/16] Bluetooth: move l2cap_sock_accept() " Gustavo F. Padovan
2011-02-04  6:01             ` [bluetooth-next 07/16] Bluetooth: move l2cap_sock_getname() " Gustavo F. Padovan
2011-02-04  6:01               ` [bluetooth-next 08/16] Bluetooth: move l2cap_sock_setsockopt() " Gustavo F. Padovan
2011-02-04  6:01                 ` [bluetooth-next 09/16] Bluetooth: move l2cap_sock_getsockopt() " Gustavo F. Padovan
2011-02-04  6:01                   ` [bluetooth-next 10/16] Bluetooth: move l2cap_sock_connect() " Gustavo F. Padovan
2011-02-04  6:01                     ` [bluetooth-next 11/16] Bluetooth: move l2cap_sock_recvmsg() " Gustavo F. Padovan
2011-02-04  6:01                       ` [bluetooth-next 12/16] Bluetooth: move l2cap_sock_shutdown() " Gustavo F. Padovan
2011-02-04  6:01                         ` [bluetooth-next 13/16] Bluetooth: move l2cap_sock_sendmsg() " Gustavo F. Padovan
2011-02-04  6:01                           ` [bluetooth-next 14/16] Bluetooth: move L2CAP sock timers function " Gustavo F. Padovan
2011-02-04  6:01                             ` [bluetooth-next 15/16] Bluetooth: move l2cap_sock_kill() " Gustavo F. Padovan
2011-02-04  6:01                               ` [bluetooth-next 16/16] Bluetooth: move __l2cap_sock_close() " Gustavo F. Padovan
2011-02-04 12:38 ` [bluetooth-next 00/16] l2cap.c split Luiz Augusto von Dentz
2011-02-04 13:44   ` Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox