bdaddr_t
bt_ntoa(bdaddr_t const *ba, char *str)
bt_aton(char const *str, bdaddr_t *ba)
static bdaddr_t host_addr;
if (type != AF_BLUETOOTH || len != sizeof(bdaddr_t)) {
char const * bt_ntoa (bdaddr_t const *, char *);
int bt_aton (char const *, bdaddr_t *);
int bt_devaddr (const char *, bdaddr_t *);
int bt_devname (char *, const bdaddr_t *);
bdaddr_t laddr; /* local address */
bdaddr_t raddr; /* remote address */
bdaddr_t laddr; /* local address */
bdaddr_t raddr; /* remote address */
#define bacmp(ba1, ba2) memcmp((ba1), (ba2), sizeof(bdaddr_t))
#define bacpy(dst, src) memcpy((dst), (src), sizeof(bdaddr_t))
bt_devaddr(const char *name, bdaddr_t *addr)
bdaddr_t bdaddr;
bt_devname(char *name, const bdaddr_t *addr)
void * sdp_open (bdaddr_t const *l, bdaddr_t const *r);
bdaddr_t *bdaddr, uint8_t *data,
sdp_register_service(void *xss, uint16_t uuid, bdaddr_t *bdaddr,
sdp_open(bdaddr_t const *l, bdaddr_t const *r)
#define BDADDR_ANY ((const bdaddr_t *) "\000\000\000\000\000")
bdaddr_same(const bdaddr_t *a, const bdaddr_t *b)
bdaddr_any(const bdaddr_t *a)
bdaddr_copy(bdaddr_t *d, const bdaddr_t *s)
bdaddr_t bt_bdaddr;
bdaddr_t bdaddr; /* address */
bdaddr_t bdaddr; /* address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* address of remote unit */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* destination address */
bdaddr_t bdaddr; /* destination address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t bdaddr; /* remote device address */
bdaddr_t btri_bdaddr; /* device bdaddr */
bdaddr_t hl_bdaddr; /* dest address */
bdaddr_t bdaddr;
bdaddr_t hci_bdaddr; /* device address */
struct hci_link *hci_acl_open(struct hci_unit *, bdaddr_t *);
struct hci_link *hci_acl_newconn(struct hci_unit *, bdaddr_t *);
struct hci_link *hci_sco_newconn(struct hci_unit *, bdaddr_t *);
struct hci_link *hci_link_lookup_bdaddr(struct hci_unit *, bdaddr_t *, uint16_t);
int hci_route_lookup(bdaddr_t *, bdaddr_t *);
struct hci_memo *hci_memo_find(struct hci_unit *, bdaddr_t *);
struct hci_memo *hci_memo_new(struct hci_unit *, bdaddr_t *);
struct hci_unit *hci_unit_lookup(bdaddr_t *);
bdaddr_t bdaddr; /* destination address */
bdaddr_t bdaddr; /* destination address */
bdaddr_t bdaddr; /* destination address */
bdaddr_t bdaddr; /* address of unit to be connected */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
hci_link_lookup_bdaddr(struct hci_unit *unit, bdaddr_t *bdaddr, uint16_t type)
hci_acl_newconn(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_acl_open(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_sco_newconn(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_memo_find(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_memo_new(struct hci_unit *unit, bdaddr_t *bdaddr)
hci_route_lookup(bdaddr_t *src, bdaddr_t *dest)
hci_send(struct hci_pcb *pcb, struct mbuf *m, bdaddr_t *addr)
bdaddr_t hp_laddr; /* local address */
bdaddr_t hp_raddr; /* remote address */
hci_unit_lookup(bdaddr_t *addr)
bdaddr_t sp_laddr; /* local address */
bdaddr_t sp_raddr; /* remote address */
bdaddr_t bdaddr;
bcmp(&con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0)
bcmp(&con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0)
sizeof(bdaddr_t)) == 0) {
NG_MKRESPONSE(rsp, msg, sizeof(bdaddr_t), M_WAITOK | M_NULLOK);
bcopy(&unit->bdaddr, rsp->data, sizeof(bdaddr_t));
bcmp(&con->bdaddr, bdaddr, sizeof(bdaddr_t)) == 0)
bcmp(&acl_con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0)
bcmp(&sco_con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0)
bcmp(&con->bdaddr, &ep->bdaddr, sizeof(bdaddr_t)) == 0)
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* address */
bdaddr_t bdaddr;
bdaddr_t l2cap_bdaddr; /* address */
bdaddr_t rfcomm_bdaddr; /* address */
bdaddr_t src; /* Source address */
bdaddr_t dst; /* Destination address */
bdaddr_t src; /* source BD_ADDR */
bdaddr_t src; /* source address */
bdaddr_t dst; /* dest address */
bdaddr_t src; /* source address */
bdaddr_t dst; /* dest. address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* address of remote unit */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* destination address */
bdaddr_t bdaddr; /* destination address */
typedef bdaddr_t * bdaddr_p;
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* bdaddr */
bdaddr_t bdaddr; /* remote bdaddr */
bdaddr_t bdaddr; /* bdaddr */
bdaddr_t bdaddr; /* destination address */
bdaddr_t bdaddr; /* address of unit to be connected */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* unit address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* remote address */
bdaddr_t bdaddr; /* address */
bdaddr_t bdaddr; /* address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t bdaddr; /* remote unit address */
bdaddr_t remote; /* remote bdaddr */
bdaddr_t remote; /* remote bdaddr */
sizeof(bdaddr_t), M_WAITOK | M_NULLOK);
bcopy(&l2cap->bdaddr, msg->data, sizeof(bdaddr_t));
bdaddr_t remote; /* remote unit address */
bdaddr_t bdaddr; /* unit BDADDR */
if (hook == NULL || msg->header.arglen != sizeof(bdaddr_t))
if (bcmp(msg->data, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0)
bcmp(&pcb->src, &sa->l2cap_bdaddr, sizeof(bdaddr_t)) == 0)
bcmp(&sa->l2cap_bdaddr, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0) {
msg->header.arglen != sizeof(bdaddr_t))
sizeof(bdaddr_t)) == 0)
if (bcmp(&sa->l2cap_bdaddr, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0) {
if (bcmp(&pcb->src, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0)
bcmp(&sa->rfcomm_bdaddr, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0) {
bdaddr_copy(&rp.raddr, (bdaddr_t *)he->h_addr);
rfcomm_channel_lookup(bdaddr_t const *local, bdaddr_t const *remote,
int rfcomm_channel_lookup(bdaddr_t const *, bdaddr_t const *, int, uint8_t *, int *);
bdaddr_t laddr, raddr;
bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr);
open_client(bdaddr_t *laddr, bdaddr_t *raddr, int lm, const char *service)
open_server(bdaddr_t *laddr, uint8_t channel, int lm, const char *service)
int open_client(bdaddr_t *, bdaddr_t *, int, const char *);
int open_server(bdaddr_t *, uint8_t, int, const char *);
int (*handler)(bdaddr_t *, bdaddr_t *, int, char const **);
bdaddr_t laddr, raddr;
bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr);
int do_sdp_browse(bdaddr_t *, bdaddr_t *, int, char const **);
int do_sdp_search(bdaddr_t *, bdaddr_t *, int, char const **);
do_sdp_search(bdaddr_t *laddr, bdaddr_t *raddr, int argc, char const **argv)
do_sdp_browse(bdaddr_t *laddr, bdaddr_t *raddr, int argc, char const **argv)
bdaddr_t bdaddr;
hp = bt_gethostbyaddr(&r->bdaddr, sizeof(bdaddr_t), AF_BLUETOOTH);
bdaddr_t bdaddr;
uint8_t *lookup_key (bdaddr_t *, bdaddr_t *);
void save_key (bdaddr_t *, bdaddr_t *, uint8_t *);
void create_dict(bdaddr_t *laddr, bdaddr_t *raddr, uint8_t * key);
int send_client_request (bdaddr_t *, bdaddr_t *, int);
uint8_t *lookup_pin (bdaddr_t *, bdaddr_t *);
uint8_t *lookup_pin_conf (bdaddr_t *, bdaddr_t *);
int init_hci (bdaddr_t *);
int send_pin_code_reply (int, struct sockaddr_bt *, bdaddr_t *, uint8_t *);
bdaddr_t bdaddr; /* remote device BDADDR */
#define bdaddr_p bdaddr_t *
send_client_request(bdaddr_t *laddr, bdaddr_t *raddr, int hci)
lookup_pin(bdaddr_t *laddr, bdaddr_t *raddr)
bdaddr_t laddr; /* local device BDADDR */
bdaddr_t raddr; /* remote device BDADDR */
save_key(bdaddr_t *laddr, bdaddr_t *raddr, uint8_t * key)
lookup_key(bdaddr_t *laddr, bdaddr_t *raddr)
lookup_pin_conf(bdaddr_t *laddr, bdaddr_t *raddr)
(bdaddr_t *)(event + 1));
(bdaddr_t *)(event + 1));
bdaddr_t *bdaddr)
bdaddr_t *bdaddr)
bdaddr_t *bdaddr, uint8_t *pin)
sizeof(bdaddr_t), bdaddr);
bdaddr_t *bdaddr, uint8_t *key)
(int, struct sockaddr_bt *, bdaddr_t *);
(int, struct sockaddr_bt *, bdaddr_t *);
(int, struct sockaddr_bt *, bdaddr_t *, uint8_t *);
init_hci(bdaddr_t *bdaddr)
bdaddr_t bdaddr;
provider_register(profile_p const profile, bdaddr_t const *bdaddr, int32_t fd,
bdaddr_t bdaddr; /* provider's BDADDR */
bdaddr_t const *bdaddr,
bdaddr_t const *bdaddr = NULL;
bdaddr = (bdaddr_t const *) req;