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)) {
bdaddr_t bdaddr;
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))
char const * bt_ntoa (bdaddr_t const *, char *);
int bt_aton (char const *, bdaddr_t *);
bdaddr_t bdaddr;
bt_devname(char *name, const bdaddr_t *bdaddr)
bdaddr_t *ba, uint8_t psrm, uint8_t pspm, uint8_t *cl, uint16_t co,
bt_devaddr(const char *name, bdaddr_t *addr)
bdaddr_t bdaddr;
sdp_session_t _sdp_open(const bdaddr_t *, const bdaddr_t *);
sdp_session_t sdp_open(const bdaddr_t *, const bdaddr_t *) __RENAME(_sdp_open);
bool sdp_record_insert(sdp_session_t, bdaddr_t *, uint32_t *, const sdp_data_t *);
void *sdp_open(bdaddr_t const *, bdaddr_t const *);
int32_t sdp_register_service(void *, uint16_t, bdaddr_t *, uint8_t *, uint32_t, uint32_t *);
sdp_register_service(void *xss, uint16_t uuid, bdaddr_t *bdaddr,
req[2].iov_len = sizeof(bdaddr_t);
sdp_open(bdaddr_t const *l, bdaddr_t const *r)
sdp_record_insert(struct sdp_session *ss, bdaddr_t *bdaddr,
bdaddr_t ba;
req[1].iov_len = sizeof(bdaddr_t);
_sdp_open(const bdaddr_t *laddr, const bdaddr_t *raddr)
bdaddr_t peeraddr;
bdaddr_t sc_laddr; /* local address */
bdaddr_t sc_raddr; /* remote address */
bdaddr_t *addr = aux;
if (prop_data_size(laddr) != sizeof(bdaddr_t))
if (prop_data_size(raddr) != sizeof(bdaddr_t)
const bdaddr_t *raddr;
bdaddr_t sc_laddr; /* local address */
bdaddr_t sc_raddr; /* remote address */
bdaddr_t sc_laddr; /* local address */
bdaddr_t sc_raddr; /* remote address */
bdaddr_t laddr; /* controller addr */
bdaddr_t raddr; /* remote addr */
#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_alloc(struct hci_unit *, bdaddr_t *, uint8_t);
struct hci_link *hci_link_lookup_bdaddr(struct hci_unit *, bdaddr_t *, uint8_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(const 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 */
bdaddr_t peer_address; /* remote address */
bdaddr_t address; /* remote address */
bdaddr_t address; /* remote address */
bdaddr_t peer_address; /* remote address */
bdaddr_t bdaddr; /* random local address */
bdaddr_t direct_address; /* remote address */
hci_link_lookup_bdaddr(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_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_link_alloc(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type)
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)
bdaddr_t hp_laddr; /* local address */
bdaddr_t hp_raddr; /* remote address */
hci_unit_lookup(const bdaddr_t *addr)
bdaddr_t sp_laddr; /* local address */
bdaddr_t sp_raddr; /* remote address */
bdaddr_t bdaddr;
bdaddr_t bdaddr = { { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 } };
bdaddr_t *raddr = arg;
print_addr(const char *type, const bdaddr_t *addr)
sizeof(bdaddr_t), AF_BLUETOOTH)) != NULL)
bdaddr_t laddr;
bdaddr_t raddr;
bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr);
bdaddr_copy(&laddr, (bdaddr_t *)he->h_addr);
extern bdaddr_t laddr;
extern bdaddr_t raddr;
void print_addr(const char *, const bdaddr_t *);
bdaddr_t addr;
bdaddr_t bdaddr;
bdaddr_copy(&rp.raddr, (bdaddr_t *)he->h_addr);
bdaddr_t laddr, raddr;
bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr);
open_client(bdaddr_t *laddr, bdaddr_t *raddr, int lm, uintmax_t psm,
open_server(bdaddr_t *laddr, uint16_t psm, uint8_t channel, int lm,
service_search(bdaddr_t const *laddr, bdaddr_t const *raddr,
static int open_client(bdaddr_t *, bdaddr_t *, int, uintmax_t, const char *);
static int open_server(bdaddr_t *, uint16_t, uint8_t, int, const char *);
static int service_search(const bdaddr_t *, const bdaddr_t *, uint16_t,
bdaddr_t local_addr;
bdaddr_t remote_addr;
bdaddr_copy(&remote_addr, (bdaddr_t *)he->h_addr);
extern bdaddr_t local_addr;
extern bdaddr_t remote_addr;
bdaddr_t laddr;
bdaddr_t raddr;
(bdaddr_t *)he->h_addr);
bdaddr_t bdaddr;
bdaddr_t bdaddr;
hp = bt_gethostbyaddr((const char *)&r->bdaddr, sizeof(bdaddr_t), AF_BLUETOOTH);
bdaddr_t laddr, raddr;
bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr);
prop_dictionary_t db_get(bdaddr_t *, bdaddr_t *, const char *);
int db_set(prop_dictionary_t, bdaddr_t *, bdaddr_t *, const char *);
prop_dictionary_t cfg_query(bdaddr_t *, bdaddr_t *, const char *);
db_set(prop_dictionary_t dev, bdaddr_t *laddr, bdaddr_t *raddr, const char *service)
bdaddr_t laddr, raddr;
bdaddr_t bdaddr;
db_get(bdaddr_t *laddr, bdaddr_t *raddr, const char *service)
cfg_query(bdaddr_t *laddr, bdaddr_t *raddr, const char *service)
uint8_t *lookup_key (bdaddr_t *, bdaddr_t *);
void save_key (bdaddr_t *, bdaddr_t *, uint8_t *);
int send_client_request (bdaddr_t *, bdaddr_t *, int);
uint8_t *lookup_pin (bdaddr_t *, bdaddr_t *);
int send_pin_code_reply (int, struct sockaddr_bt *, bdaddr_t *, uint8_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)
(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 *);
bdaddr_copy(&remote_bdaddr, (bdaddr_t *)he->h_addr);
bdaddr_t local_bdaddr; /* -d <addr> */
bdaddr_t remote_bdaddr; /* -a <addr> */
extern bdaddr_t local_bdaddr;
extern bdaddr_t remote_bdaddr;
b2eaddr(void *dst, bdaddr_t *src)
bdaddr_t bdaddr;
if (d.next + sizeof(uint16_t) + sizeof(bdaddr_t) > d.end)
memcpy(&bdaddr, d.next, sizeof(bdaddr_t));
d.next += sizeof(bdaddr_t);
db_create(server_t *srv, int fd, const bdaddr_t *bdaddr, uint32_t handle, sdp_data_t *data)
bdaddr_t bdaddr;
if (seq.next + sizeof(bdaddr_t) > seq.end)
memcpy(&bdaddr, seq.next, sizeof(bdaddr_t));
seq.next += sizeof(bdaddr_t);
bool db_create(server_t *, int, const bdaddr_t *, uint32_t, sdp_data_t *);
bdaddr_t bdaddr; /* restricted device address */
bdaddr_t bdaddr; /* clients local device address */