12.07.2015 Views

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

INTRO (9) NetBSD Kernel Developer's Manual INTRO (9) NAME ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BLUETOOTH (9) <strong>NetBSD</strong> <strong>Kernel</strong> Developer’s <strong>Manual</strong> BLUETOOTH (9)<strong>NAME</strong>BLUETOOTH —Bluetooth Device/Protocol APISYNOPSIS#include #include #include #include struct hci_unit ∗hci_attach(const struct hci_if ∗hci_if , device_t dev , uint16_t flags);voidhci_detach(struct hci_unit ∗unit);voidhci_input_event(struct hci_unit ∗unit , struct mbuf ∗m);voidhci_input_acl(struct hci_unit ∗unit , struct mbuf ∗m);voidhci_input_sco(struct hci_unit ∗unit , struct mbuf ∗m);intbtproto_attach(btproto_handle ∗ , const struct btproto ∗proto , void ∗ref);intbtproto_bind(btproto_handle , struct sockaddr_bt ∗addr);intbtproto_sockaddr(btproto_handle , struct sockaddr_bt ∗addr);intbtproto_connect(btproto_handle , struct sockaddr_bt ∗addr);intbtproto_peeraddr(btproto_handle , struct sockaddr_bt ∗addr);intbtproto_disconnect(btproto_handle , int linger);intbtproto_detach(btproto_handle ∗);intbtproto_listen(btproto_handle);intbtproto_send(btproto_handle , struct mbuf ∗mbuf);intbtproto_rcvd(btproto_handle , size_t space);intbtproto_setopt(btproto_handle , int optarg , void ∗arg);intbtproto_getopt(btproto_handle , int optarg , void ∗arg);<strong>NetBSD</strong> 3.0 November 20, 2007 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!