Home
last modified time | relevance | path

Searched refs:bacmp (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/net/bluetooth/
Dsco.c286 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()
Dhci_sock.c192 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()
Dhci_conn.c383 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()
Dl2cap_core.c608 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()
Dhci_core.c365 if (!bacmp(&e->data.bdaddr, bdaddr)) in hci_inquiry_cache_lookup()
1017 if (bacmp(bdaddr, &k->bdaddr) == 0) in hci_find_link_key()
Dl2cap_sock.c84 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/
Dbluetooth.h98 static inline int bacmp(bdaddr_t *ba1, bdaddr_t *ba2) in bacmp() function
Dhci_core.h377 if (c->type == type && !bacmp(&c->dst, ba)) in hci_conn_hash_lookup_ba()
/linux-2.6.39/net/bluetooth/rfcomm/
Dsock.c133 !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()
Dcore.c657 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/
Dcore.c87 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/
Dcore.c61 if (!bacmp(bdaddr, &session->bdaddr)) in __cmtp_get_session()