Searched refs:bacmp (Results 1 – 12 of 12) sorted by relevance
/linux-2.6.39/net/bluetooth/ |
D | sco.c | 286 if (!bacmp(&bt_sk(sk)->src, ba)) in __sco_get_sock_by_addr() 308 if (!bacmp(&bt_sk(sk)->src, src)) in sco_get_sock_listen() 312 if (!bacmp(&bt_sk(sk)->src, BDADDR_ANY)) in sco_get_sock_listen() 475 if (bacmp(src, BDADDR_ANY) && __sco_get_sock_by_addr(src)) { in sco_sock_bind() 899 if (!bacmp(&bt_sk(sk)->src, &hdev->bdaddr) || in sco_connect_ind() 900 !bacmp(&bt_sk(sk)->src, BDADDR_ANY)) { in sco_connect_ind()
|
D | hci_sock.c | 192 if (bacmp(bdaddr, &b->bdaddr) == 0) in hci_blacklist_lookup() 207 if (bacmp(&bdaddr, BDADDR_ANY) == 0) in hci_blacklist_add() 248 if (bacmp(&bdaddr, BDADDR_ANY) == 0) in hci_blacklist_del()
|
D | hci_conn.c | 383 int use_src = bacmp(src, BDADDR_ANY); in hci_get_route() 403 if (!bacmp(&d->bdaddr, src)) { in hci_get_route() 407 if (bacmp(&d->bdaddr, dst)) { in hci_get_route()
|
D | l2cap_core.c | 608 if (!bacmp(&bt_sk(sk)->src, src)) in l2cap_get_sock_by_scid() 612 if (!bacmp(&bt_sk(sk)->src, BDADDR_ANY)) in l2cap_get_sock_by_scid() 822 if (!bacmp(&bt_sk(sk)->src, src)) in l2cap_get_sock_by_psm() 826 if (!bacmp(&bt_sk(sk)->src, BDADDR_ANY)) in l2cap_get_sock_by_psm() 3705 if (!bacmp(&bt_sk(sk)->src, &hdev->bdaddr)) { in l2cap_connect_ind() 3710 } else if (!bacmp(&bt_sk(sk)->src, BDADDR_ANY)) { in l2cap_connect_ind()
|
D | hci_core.c | 365 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup() 1017 if (bacmp(bdaddr, &k->bdaddr) == 0) in hci_find_link_key()
|
D | l2cap_sock.c | 84 if (l2cap_pi(sk)->sport == psm && !bacmp(&bt_sk(sk)->src, src)) in __l2cap_get_sock_by_addr()
|
/linux-2.6.39/include/net/bluetooth/ |
D | bluetooth.h | 98 static inline int bacmp(bdaddr_t *ba1, bdaddr_t *ba2) in bacmp() function
|
D | hci_core.h | 377 if (c->type == type && !bacmp(&c->dst, ba)) in hci_conn_hash_lookup_ba()
|
/linux-2.6.39/net/bluetooth/rfcomm/ |
D | sock.c | 133 !bacmp(&bt_sk(sk)->src, src)) in __rfcomm_get_sock_by_addr() 156 if (!bacmp(&bt_sk(sk)->src, src)) in rfcomm_get_sock_by_channel() 160 if (!bacmp(&bt_sk(sk)->src, BDADDR_ANY)) in rfcomm_get_sock_by_channel()
|
D | core.c | 657 if ((!bacmp(src, BDADDR_ANY) || !bacmp(&sk->src, src)) && in rfcomm_session_get() 658 !bacmp(&sk->dst, dst)) in rfcomm_session_get()
|
/linux-2.6.39/net/bluetooth/hidp/ |
D | core.c | 87 if (!bacmp(bdaddr, &session->bdaddr)) in __hidp_get_session() 972 if (bacmp(&bt_sk(ctrl_sock->sk)->src, &bt_sk(intr_sock->sk)->src) || in hidp_add_connection() 973 bacmp(&bt_sk(ctrl_sock->sk)->dst, &bt_sk(intr_sock->sk)->dst)) in hidp_add_connection()
|
/linux-2.6.39/net/bluetooth/cmtp/ |
D | core.c | 61 if (!bacmp(bdaddr, &session->bdaddr)) in __cmtp_get_session()
|