git: kernel/netgraph7: Port the kernel part of the netgraph7 bluetooth stack.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Nov 15 14:36:48 PST 2014


commit e85b99abf6da4a83a7dc495b0ef37ce19864149f
Author: Sascha Wildner <saw at online.de>
Date:   Sat Nov 15 23:31:48 2014 +0100

    kernel/netgraph7: Port the kernel part of the netgraph7 bluetooth stack.
    
    It still needs more testing/debugging, along with the userland part.
    
    In-discussion-with: nant

Summary of changes:
 sys/netgraph7/Makefile                             |   1 +
 sys/netgraph7/bluetooth/Makefile                   |  11 +
 sys/netgraph7/bluetooth/bluetooth/Makefile         |   9 +
 sys/netgraph7/bluetooth/common/ng_bluetooth.c      |   4 +-
 sys/netgraph7/bluetooth/drivers/Makefile           |   7 +
 sys/netgraph7/bluetooth/drivers/h4/Makefile        |   7 +
 sys/netgraph7/bluetooth/drivers/h4/ng_h4.c         |  82 ++-
 sys/netgraph7/bluetooth/drivers/h4/ng_h4_prse.h    |   3 +-
 sys/netgraph7/bluetooth/drivers/h4/ng_h4_var.h     |   6 +-
 sys/netgraph7/bluetooth/hci/Makefile               |   8 +
 sys/netgraph7/bluetooth/hci/ng_hci_cmds.c          |  18 +-
 sys/netgraph7/bluetooth/hci/ng_hci_cmds.h          |   1 -
 sys/netgraph7/bluetooth/hci/ng_hci_evnt.c          |  25 +-
 sys/netgraph7/bluetooth/hci/ng_hci_evnt.h          |   1 -
 sys/netgraph7/bluetooth/hci/ng_hci_main.c          |  26 +-
 sys/netgraph7/bluetooth/hci/ng_hci_misc.c          |  18 +-
 sys/netgraph7/bluetooth/hci/ng_hci_misc.h          |   1 -
 sys/netgraph7/bluetooth/hci/ng_hci_prse.h          |   1 -
 sys/netgraph7/bluetooth/hci/ng_hci_ulpi.c          |  18 +-
 sys/netgraph7/bluetooth/hci/ng_hci_ulpi.h          |   1 -
 sys/netgraph7/bluetooth/include/ng_bluetooth.h     |   1 -
 sys/netgraph7/bluetooth/include/ng_btsocket.h      |   1 -
 .../bluetooth/include/ng_btsocket_hci_raw.h        |  32 +-
 .../bluetooth/include/ng_btsocket_l2cap.h          |  67 +-
 .../bluetooth/include/ng_btsocket_rfcomm.h         |  40 +-
 sys/netgraph7/bluetooth/include/ng_h4.h            |   3 +-
 sys/netgraph7/bluetooth/include/ng_hci.h           |   1 -
 sys/netgraph7/bluetooth/include/ng_l2cap.h         |   1 -
 sys/netgraph7/bluetooth/include/ng_ubt.h           |   1 -
 sys/netgraph7/bluetooth/l2cap/Makefile             |   8 +
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_cmds.c      |  22 +-
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_cmds.h      |   1 -
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.c      |  22 +-
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_evnt.h      |   1 -
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.c      |  22 +-
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_llpi.h      |   1 -
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_main.c      |  26 +-
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_misc.c      |  23 +-
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_misc.h      |   1 -
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_prse.h      |   1 -
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_ulpi.c      |  20 +-
 sys/netgraph7/bluetooth/l2cap/ng_l2cap_ulpi.h      |   1 -
 sys/netgraph7/bluetooth/socket/Makefile            |  11 +
 sys/netgraph7/bluetooth/socket/ng_btsocket.c       |  37 +-
 .../bluetooth/socket/ng_btsocket_hci_raw.c         | 487 ++++++++------
 sys/netgraph7/bluetooth/socket/ng_btsocket_l2cap.c | 685 +++++++++++--------
 .../bluetooth/socket/ng_btsocket_l2cap_raw.c       | 490 ++++++++------
 .../bluetooth/socket/ng_btsocket_rfcomm.c          | 736 +++++++++++----------
 sys/netgraph7/netgraph.h                           |   1 +
 49 files changed, 1696 insertions(+), 1295 deletions(-)
 create mode 100644 sys/netgraph7/bluetooth/Makefile
 create mode 100644 sys/netgraph7/bluetooth/bluetooth/Makefile
 create mode 100644 sys/netgraph7/bluetooth/drivers/Makefile
 create mode 100644 sys/netgraph7/bluetooth/drivers/h4/Makefile
 create mode 100644 sys/netgraph7/bluetooth/hci/Makefile
 create mode 100644 sys/netgraph7/bluetooth/l2cap/Makefile
 create mode 100644 sys/netgraph7/bluetooth/socket/Makefile

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e85b99abf6da4a83a7dc495b0ef37ce19864149f


-- 
DragonFly BSD source repository



More information about the Commits mailing list