Searched refs:src_type (Results 1 – 5 of 5) sorted by relevance
/net/bluetooth/ |
D | l2cap_sock.c | 132 chan->src_type = la.l2_bdaddr_type; in l2cap_sock_bind() 168 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_bind() 232 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect() 250 chan->src_type = BDADDR_LE_PUBLIC; in l2cap_sock_connect() 253 if (chan->src_type != BDADDR_BREDR && la.l2_bdaddr_type == BDADDR_BREDR) in l2cap_sock_connect() 266 if (chan->psm && bdaddr_type_is_le(chan->src_type) && in l2cap_sock_connect() 428 la->l2_bdaddr_type = chan->src_type; in l2cap_sock_getname() 475 if (bdaddr_type_is_le(chan->src_type) && in l2cap_sock_getsockopt_old() 659 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt() 674 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt() [all …]
|
D | l2cap_core.c | 82 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type() 189 u8 src_type) in __l2cap_global_chan_by_addr() argument 194 if (src_type == BDADDR_BREDR && c->src_type != BDADDR_BREDR) in __l2cap_global_chan_by_addr() 197 if (src_type != BDADDR_BREDR && c->src_type == BDADDR_BREDR) in __l2cap_global_chan_by_addr() 212 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm() 224 if (chan->src_type == BDADDR_BREDR) { in l2cap_add_psm() 237 chan->src_type)) { in l2cap_add_psm() 1980 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_global_chan_by_psm() 1983 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_global_chan_by_psm() 4186 chan->src_type = bdaddr_src_type(conn->hcon); in l2cap_connect() [all …]
|
D | 6lowpan.c | 732 &chan->src, chan->src_type); in setup_netdev() 974 chan->src_type = BDADDR_LE_PUBLIC; in bt_6lowpan_listen() 978 BT_DBG("chan %p src type %d", chan, chan->src_type); in bt_6lowpan_listen()
|
D | hci_conn.c | 559 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add() 650 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, uint8_t src_type) in hci_get_route() argument 674 if (src_type == BDADDR_BREDR) { in hci_get_route() 693 if (!bacmp(&id_addr, src) && id_addr_type == src_type) { in hci_get_route()
|
D | smp.c | 1332 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys() 3344 chan->src_type = BDADDR_LE_PUBLIC; in smp_add_cid() 3346 chan->src_type = BDADDR_LE_RANDOM; in smp_add_cid() 3349 chan->src_type = BDADDR_BREDR; in smp_add_cid()
|