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() 165 if (chan->psm && bdaddr_type_is_le(chan->src_type)) in l2cap_sock_bind() 213 if (chan->src_type == BDADDR_BREDR && bacmp(&chan->src, BDADDR_ANY) && in l2cap_sock_connect() 231 chan->src_type = BDADDR_LE_PUBLIC; in l2cap_sock_connect() 234 if (chan->src_type != BDADDR_BREDR && la.l2_bdaddr_type == BDADDR_BREDR) in l2cap_sock_connect() 244 if (chan->psm && bdaddr_type_is_le(chan->src_type)) in l2cap_sock_connect() 395 la->l2_bdaddr_type = chan->src_type; in l2cap_sock_getname() 424 if (bdaddr_type_is_le(chan->src_type) && in l2cap_sock_getsockopt_old() 605 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt() 620 if (!bdaddr_type_is_le(chan->src_type)) { in l2cap_sock_getsockopt() [all …]
|
D | l2cap_core.c | 81 return bdaddr_type(hcon->type, hcon->src_type); in bdaddr_src_type() 188 u8 src_type) in __l2cap_global_chan_by_addr() argument 193 if (src_type == BDADDR_BREDR && c->src_type != BDADDR_BREDR) in __l2cap_global_chan_by_addr() 196 if (src_type != BDADDR_BREDR && c->src_type == BDADDR_BREDR) in __l2cap_global_chan_by_addr() 211 if (psm && __l2cap_global_chan_by_addr(psm, src, chan->src_type)) { in l2cap_add_psm() 223 if (chan->src_type == BDADDR_BREDR) { in l2cap_add_psm() 236 chan->src_type)) { in l2cap_add_psm() 1830 if (link_type == ACL_LINK && c->src_type != BDADDR_BREDR) in l2cap_global_chan_by_psm() 1833 if (link_type == LE_LINK && c->src_type == BDADDR_BREDR) in l2cap_global_chan_by_psm() 3907 chan->src_type = bdaddr_src_type(conn->hcon); in l2cap_connect() [all …]
|
D | 6lowpan.c | 724 &chan->src, chan->src_type); in setup_netdev() 966 chan->src_type = BDADDR_LE_PUBLIC; in bt_6lowpan_listen() 970 BT_DBG("chan %p src type %d", chan, chan->src_type); in bt_6lowpan_listen()
|
D | hci_conn.c | 533 hci_copy_identity_address(hdev, &conn->src, &conn->src_type); in hci_conn_add() 617 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src, uint8_t src_type) in hci_get_route() argument 641 if (src_type == BDADDR_BREDR) { in hci_get_route() 660 if (!bacmp(&id_addr, src) && id_addr_type == src_type) { in hci_get_route()
|
D | smp.c | 1321 addrinfo.addr_type = hcon->src_type; in smp_distribute_keys() 3281 chan->src_type = BDADDR_LE_PUBLIC; in smp_add_cid() 3283 chan->src_type = BDADDR_LE_RANDOM; in smp_add_cid() 3286 chan->src_type = BDADDR_BREDR; in smp_add_cid()
|