/linux-2.6.39/include/net/bluetooth/ |
D | mgmt.h | 52 bdaddr_t bdaddr; 95 bdaddr_t bdaddr; 110 bdaddr_t bdaddr; 116 bdaddr_t bdaddr; 119 bdaddr_t bdaddr; 125 bdaddr_t conn[0]; 130 bdaddr_t bdaddr; 135 bdaddr_t bdaddr; 141 bdaddr_t bdaddr; 151 bdaddr_t bdaddr; [all …]
|
D | bluetooth.h | 92 } __packed bdaddr_t; typedef 94 #define BDADDR_ANY (&(bdaddr_t) {{0, 0, 0, 0, 0, 0}}) 95 #define BDADDR_LOCAL (&(bdaddr_t) {{0, 0, 0, 0xff, 0xff, 0xff}}) 98 static inline int bacmp(bdaddr_t *ba1, bdaddr_t *ba2) in bacmp() 100 return memcmp(ba1, ba2, sizeof(bdaddr_t)); in bacmp() 102 static inline void bacpy(bdaddr_t *dst, bdaddr_t *src) in bacpy() 104 memcpy(dst, src, sizeof(bdaddr_t)); in bacpy() 107 void baswap(bdaddr_t *dst, bdaddr_t *src); 108 char *batostr(bdaddr_t *ba); 109 bdaddr_t *strtoba(char *str); [all …]
|
D | hci.h | 265 bdaddr_t bdaddr; 287 bdaddr_t bdaddr; 292 bdaddr_t bdaddr; 298 bdaddr_t bdaddr; 304 bdaddr_t bdaddr; 310 bdaddr_t bdaddr; 315 bdaddr_t bdaddr; 321 bdaddr_t bdaddr; 326 bdaddr_t bdaddr; 330 bdaddr_t bdaddr; [all …]
|
D | hci_core.h | 36 bdaddr_t bdaddr; 68 bdaddr_t bdaddr; 79 bdaddr_t bdaddr; 96 bdaddr_t bdaddr; 205 bdaddr_t dst; 296 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr); 369 __u8 type, bdaddr_t *ba) in hci_conn_hash_lookup_ba() 404 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst); 409 struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8 sec_level, __u8 au… 477 struct hci_dev *hci_get_route(bdaddr_t *src, bdaddr_t *dst); [all …]
|
D | rfcomm.h | 237 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel); 274 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst); 284 bdaddr_t rc_bdaddr; 335 bdaddr_t src; 336 bdaddr_t dst; 344 bdaddr_t src; 345 bdaddr_t dst;
|
D | sco.h | 39 bdaddr_t sco_bdaddr; 58 bdaddr_t *dst; 59 bdaddr_t *src;
|
D | l2cap.h | 50 bdaddr_t l2_bdaddr; 289 bdaddr_t *dst; 290 bdaddr_t *src;
|
D | smp.h | 53 bdaddr_t bdaddr;
|
/linux-2.6.39/net/bluetooth/ |
D | lib.c | 36 void baswap(bdaddr_t *dst, bdaddr_t *src) in baswap() 47 char *batostr(bdaddr_t *ba) in batostr()
|
D | mgmt.c | 924 rp_len = sizeof(*rp) + (count * sizeof(bdaddr_t)); in get_connections() 1473 int mgmt_connected(u16 index, bdaddr_t *bdaddr) in mgmt_connected() 1498 int mgmt_disconnected(u16 index, bdaddr_t *bdaddr) in mgmt_disconnected() 1532 int mgmt_connect_failed(u16 index, bdaddr_t *bdaddr, u8 status) in mgmt_connect_failed() 1542 int mgmt_pin_code_request(u16 index, bdaddr_t *bdaddr) in mgmt_pin_code_request() 1552 int mgmt_pin_code_reply_complete(u16 index, bdaddr_t *bdaddr, u8 status) in mgmt_pin_code_reply_complete() 1573 int mgmt_pin_code_neg_reply_complete(u16 index, bdaddr_t *bdaddr, u8 status) in mgmt_pin_code_neg_reply_complete() 1594 int mgmt_user_confirm_request(u16 index, bdaddr_t *bdaddr, __le32 value) in mgmt_user_confirm_request() 1607 static int confirm_reply_complete(u16 index, bdaddr_t *bdaddr, u8 status, in confirm_reply_complete() 1627 int mgmt_user_confirm_reply_complete(u16 index, bdaddr_t *bdaddr, u8 status) in mgmt_user_confirm_reply_complete() [all …]
|
D | sco.c | 178 bdaddr_t *src = &bt_sk(sk)->src; in sco_connect() 179 bdaddr_t *dst = &bt_sk(sk)->dst; in sco_connect() 280 static struct sock *__sco_get_sock_by_addr(bdaddr_t *ba) in __sco_get_sock_by_addr() 296 static struct sock *sco_get_sock_listen(bdaddr_t *src) in sco_get_sock_listen() 458 bdaddr_t *src = &sa->sco_bdaddr; in sco_sock_bind() 882 static int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type) in sco_connect_ind()
|
D | hci_conn.c | 272 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst) in hci_conn_add() 381 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src) in hci_get_route() 423 struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8 sec_level, __u8 au… in hci_connect()
|
D | hci_sock.c | 183 struct bdaddr_list *hci_blacklist_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_blacklist_lookup() 201 bdaddr_t bdaddr; in hci_blacklist_add() 242 bdaddr_t bdaddr; in hci_blacklist_del()
|
D | hci_core.c | 357 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_inquiry_cache_lookup() 1008 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key() 1024 int hci_add_link_key(struct hci_dev *hdev, int new_key, bdaddr_t *bdaddr, in hci_add_link_key() 1058 int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_remove_link_key()
|
D | l2cap_sock.c | 79 static struct sock *__l2cap_get_sock_by_addr(__le16 psm, bdaddr_t *src) in __l2cap_get_sock_by_addr() 273 bdaddr_t *src = &bt_sk(sk)->src; in l2cap_sock_listen()
|
D | l2cap_core.c | 595 static struct sock *l2cap_get_sock_by_scid(int state, __le16 cid, bdaddr_t *src) in l2cap_get_sock_by_scid() 809 static struct sock *l2cap_get_sock_by_psm(int state, __le16 psm, bdaddr_t *src) in l2cap_get_sock_by_psm() 838 bdaddr_t *src = &bt_sk(sk)->src; in l2cap_do_connect() 839 bdaddr_t *dst = &bt_sk(sk)->dst; in l2cap_do_connect() 3688 static int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) in l2cap_connect_ind()
|
/linux-2.6.39/net/bluetooth/cmtp/ |
D | cmtp.h | 45 bdaddr_t bdaddr; 50 bdaddr_t bdaddr; 75 bdaddr_t bdaddr;
|
D | core.c | 52 static struct cmtp_session *__cmtp_get_session(bdaddr_t *bdaddr) in __cmtp_get_session()
|
/linux-2.6.39/net/bluetooth/hidp/ |
D | hidp.h | 103 bdaddr_t bdaddr; 108 bdaddr_t bdaddr; 136 bdaddr_t bdaddr;
|
D | core.c | 78 static struct hidp_session *__hidp_get_session(bdaddr_t *bdaddr) in __hidp_get_session() 782 bdaddr_t *src = &bt_sk(session->ctrl_sock->sk)->src; in hidp_get_device() 783 bdaddr_t *dst = &bt_sk(session->ctrl_sock->sk)->dst; in hidp_get_device()
|
/linux-2.6.39/net/bluetooth/rfcomm/ |
D | core.c | 82 static struct rfcomm_session *rfcomm_session_create(bdaddr_t *src, 83 bdaddr_t *dst, 86 static struct rfcomm_session *rfcomm_session_get(bdaddr_t *src, bdaddr_t *dst); 391 static int __rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) in __rfcomm_dlc_open() 445 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) in rfcomm_dlc_open() 648 static struct rfcomm_session *rfcomm_session_get(bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_get() 686 static struct rfcomm_session *rfcomm_session_create(bdaddr_t *src, in rfcomm_session_create() 687 bdaddr_t *dst, in rfcomm_session_create() 743 void rfcomm_session_getaddr(struct rfcomm_session *s, bdaddr_t *src, bdaddr_t *dst) in rfcomm_session_getaddr() 1966 static int rfcomm_add_listener(bdaddr_t *ba) in rfcomm_add_listener()
|
D | sock.c | 126 static struct sock *__rfcomm_get_sock_by_addr(u8 channel, bdaddr_t *src) in __rfcomm_get_sock_by_addr() 143 static struct sock *rfcomm_get_sock_by_channel(int state, u8 channel, bdaddr_t *src) in rfcomm_get_sock_by_channel() 450 bdaddr_t *src = &bt_sk(sk)->src; in rfcomm_sock_listen() 930 bdaddr_t src, dst; in rfcomm_connect_ind()
|
D | tty.c | 59 bdaddr_t src; 60 bdaddr_t dst;
|
/linux-2.6.39/net/bluetooth/bnep/ |
D | core.c | 524 bdaddr_t *src = &bt_sk(session->sock->sk)->src; in bnep_get_device() 525 bdaddr_t *dst = &bt_sk(session->sock->sk)->dst; in bnep_get_device()
|