Home
last modified time | relevance | path

Searched refs:bdaddr_t (Results 1 – 25 of 49) sorted by relevance

12

/netbsd/usr.sbin/bthcid/
H A Dbthcid.h36 uint8_t *lookup_key (bdaddr_t *, bdaddr_t *);
37 void save_key (bdaddr_t *, bdaddr_t *, uint8_t *);
41 int send_client_request (bdaddr_t *, bdaddr_t *, int);
42 uint8_t *lookup_pin (bdaddr_t *, bdaddr_t *);
46 int send_pin_code_reply (int, struct sockaddr_bt *, bdaddr_t *, uint8_t *);
H A Dhci.c77 (int, struct sockaddr_bt *, bdaddr_t *);
79 (int, struct sockaddr_bt *, bdaddr_t *);
84 (int, struct sockaddr_bt *, bdaddr_t *, uint8_t *);
151 (bdaddr_t *)(event + 1)); in process_hci()
156 (bdaddr_t *)(event + 1)); in process_hci()
176 bdaddr_t *bdaddr) in process_pin_code_request_event()
198 bdaddr_t *bdaddr) in process_link_key_request_event()
224 bdaddr_t *bdaddr, uint8_t *pin) in send_pin_code_reply()
254 sizeof(bdaddr_t), bdaddr); in send_pin_code_reply()
272 bdaddr_t *bdaddr, uint8_t *key) in send_link_key_reply()
H A Dclient.c67 bdaddr_t laddr; /* local device BDADDR */
68 bdaddr_t raddr; /* remote device BDADDR */
257 send_client_request(bdaddr_t *laddr, bdaddr_t *raddr, int hci) in send_client_request()
322 lookup_pin(bdaddr_t *laddr, bdaddr_t *raddr) in lookup_pin()
H A Dconfig.c94 lookup_key(bdaddr_t *laddr, bdaddr_t *raddr) in lookup_key()
123 save_key(bdaddr_t *laddr, bdaddr_t *raddr, uint8_t *key) in save_key()
/netbsd/sys/netbt/
H A Dhci.h567 bdaddr_t bdaddr; /* remote address */
581 bdaddr_t bdaddr; /* unit address */
587 bdaddr_t bdaddr; /* remote address */
592 bdaddr_t bdaddr; /* unit address */
605 bdaddr_t bdaddr; /* unit address */
616 bdaddr_t bdaddr; /* unit address */
1067 bdaddr_t bdaddr; /* address */
1094 bdaddr_t bdaddr; /* address */
1730 bdaddr_t bdaddr; /* unit address */
2495 bdaddr_t bdaddr;
[all …]
H A Dbluetooth.h55 } __packed bdaddr_t; typedef
61 bdaddr_same(const bdaddr_t *a, const bdaddr_t *b) in bdaddr_same()
70 bdaddr_any(const bdaddr_t *a) in bdaddr_any()
78 bdaddr_copy(bdaddr_t *d, const bdaddr_t *s) in bdaddr_copy()
95 bdaddr_t bt_bdaddr;
102 #define BDADDR_ANY ((const bdaddr_t *) "\000\000\000\000\000")
H A Dhci_misc.c57 hci_route_lookup(bdaddr_t *src, bdaddr_t *dest) in hci_route_lookup()
115 hci_memo_find(struct hci_unit *unit, bdaddr_t *bdaddr) in hci_memo_find()
147 hci_memo_new(struct hci_unit *unit, bdaddr_t *bdaddr) in hci_memo_new()
H A Dsco.h45 bdaddr_t sp_laddr; /* local address */
46 bdaddr_t sp_raddr; /* remote address */
/netbsd/lib/libbluetooth/
H A Dbluetooth.h64 char const * bt_ntoa (bdaddr_t const *, char *);
76 bdaddr_t bdaddr;
119 bdaddr_t bdaddr;
137 int bt_devaddr(const char *, bdaddr_t *);
138 int bt_devname(char *, const bdaddr_t *);
160 bdaddr_t laddr; /* local address */
161 bdaddr_t raddr; /* remote address */
167 bdaddr_t laddr; /* local address */
168 bdaddr_t raddr; /* remote address */
180 #define bacmp(ba1, ba2) memcmp((ba1), (ba2), sizeof(bdaddr_t))
[all …]
H A Dsdp-int.h42 sdp_session_t _sdp_open(const bdaddr_t *, const bdaddr_t *);
H A Dsdp_record.c49 sdp_record_insert(struct sdp_session *ss, bdaddr_t *bdaddr, in sdp_record_insert()
56 bdaddr_t ba; in sdp_record_insert()
64 req[1].iov_len = sizeof(bdaddr_t); in sdp_record_insert()
H A Dbluetooth.c49 static bdaddr_t host_addr;
88 if (type != AF_BLUETOOTH || len != sizeof(bdaddr_t)) { in bt_gethostbyaddr()
277 bt_ntoa(bdaddr_t const *ba, char *str) in bt_ntoa()
291 bt_aton(char const *str, bdaddr_t *ba) in bt_aton()
/netbsd/usr.sbin/btdevctl/
H A Dbtdevctl.h38 prop_dictionary_t db_get(bdaddr_t *, bdaddr_t *, const char *);
39 int db_set(prop_dictionary_t, bdaddr_t *, bdaddr_t *, const char *);
45 prop_dictionary_t cfg_query(bdaddr_t *, bdaddr_t *, const char *);
H A Ddb.c63 db_get(bdaddr_t *laddr, bdaddr_t *raddr, const char *service) in db_get()
111 db_set(prop_dictionary_t dev, bdaddr_t *laddr, bdaddr_t *raddr, const char *service) in db_set()
168 bdaddr_t laddr, raddr; in db_update0()
235 bdaddr_t bdaddr; in db_update1()
/netbsd/usr.bin/btkey/
H A Dbtkey.c48 bdaddr_t laddr;
49 bdaddr_t raddr;
73 bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr); in main()
93 bdaddr_copy(&laddr, (bdaddr_t *)he->h_addr); in main()
288 print_addr(const char *type, const bdaddr_t *addr) in print_addr()
298 sizeof(bdaddr_t), AF_BLUETOOTH)) != NULL) in print_addr()
H A Dbtkey.h31 extern bdaddr_t laddr;
32 extern bdaddr_t raddr;
36 void print_addr(const char *, const bdaddr_t *);
/netbsd/usr.bin/rfcomm_sppd/
H A Drfcomm_sppd.c92 static int open_client(bdaddr_t *, bdaddr_t *, int, uintmax_t, const char *);
93 static int open_server(bdaddr_t *, uint16_t, uint8_t, int, const char *);
95 static int service_search(const bdaddr_t *, const bdaddr_t *, uint16_t,
122 bdaddr_t laddr, raddr; in main()
150 bdaddr_copy(&raddr, (bdaddr_t *)he->h_addr); in main()
336 open_client(bdaddr_t *laddr, bdaddr_t *raddr, int lm, uintmax_t psm, in open_client()
408 open_server(bdaddr_t *laddr, uint16_t psm, uint8_t channel, int lm, in open_server()
567 service_search(bdaddr_t const *laddr, bdaddr_t const *raddr, in service_search()
/netbsd/usr.sbin/sdpd/
H A Dsdpd.h76 bdaddr_t bdaddr; /* restricted device address */
95 bdaddr_t bdaddr; /* clients local device address */
130 bool db_create(server_t *, int, const bdaddr_t *, uint32_t, sdp_data_t *);
H A Drecord.c53 bdaddr_t bdaddr; in record_insert_request()
70 if (seq.next + sizeof(bdaddr_t) > seq.end) in record_insert_request()
73 memcpy(&bdaddr, seq.next, sizeof(bdaddr_t)); in record_insert_request()
74 seq.next += sizeof(bdaddr_t); in record_insert_request()
/netbsd/usr.bin/sdpquery/
H A Dsdpquery.c55 bdaddr_t local_addr;
56 bdaddr_t remote_addr;
95 bdaddr_copy(&remote_addr, (bdaddr_t *)he->h_addr); in main()
H A Dsdpquery.h35 extern bdaddr_t local_addr;
36 extern bdaddr_t remote_addr;
/netbsd/sys/dev/bluetooth/
H A Dbthub.c108 bdaddr_t *addr = aux; in bthub_attach()
187 if (prop_data_size(laddr) != sizeof(bdaddr_t)) in bthub_pioctl()
207 if (prop_data_size(raddr) != sizeof(bdaddr_t) in bthub_pioctl()
267 const bdaddr_t *raddr; in bthub_print()
H A Dbtsco.h50 bdaddr_t laddr; /* controller addr */
51 bdaddr_t raddr; /* remote addr */
/netbsd/usr.sbin/btpand/
H A Dbtpand.h142 extern bdaddr_t local_bdaddr;
143 extern bdaddr_t remote_bdaddr;
154 b2eaddr(void *dst, bdaddr_t *src) in b2eaddr()
H A Dbtpand.c55 bdaddr_t local_bdaddr; /* -d <addr> */
56 bdaddr_t remote_bdaddr; /* -a <addr> */
102 bdaddr_copy(&remote_bdaddr, (bdaddr_t *)he->h_addr); in main()

12