Home
last modified time | relevance | path

Searched refs:dst_type (Results 1 – 8 of 8) sorted by relevance

/net/bluetooth/
Dhci_conn.c72 bdaddr_type = conn->dst_type; in hci_connect_le_scan_cleanup()
119 hci_conn_params_del(conn->hdev, &conn->dst, conn->dst_type); in hci_conn_cleanup()
326 params = hci_conn_params_lookup(hdev, &conn->dst, conn->dst_type); in hci_le_conn_update()
658 conn->dst_type); in hci_le_conn_failed()
667 mgmt_connect_failed(hdev, &conn->dst, conn->type, conn->dst_type, in hci_le_conn_failed()
745 cp.peer_addr_type = conn->dst_type; in hci_req_add_le_create_conn()
784 cp.direct_addr_type = conn->dst_type; in hci_req_directed_advertising()
797 u8 dst_type, u8 sec_level, u16 conn_timeout, in hci_connect_le() argument
823 conn = hci_conn_hash_lookup_le(hdev, dst, dst_type); in hci_connect_le()
852 irk = hci_find_irk_by_addr(hdev, dst, dst_type); in hci_connect_le()
[all …]
D6lowpan.c122 &peer->chan->dst, peer->chan->dst_type); in peer_lookup_ba()
127 if (type == peer->chan->dst_type) { in peer_lookup_ba()
214 &peer->chan->dst, peer->chan->dst_type, in peer_lookup_dst()
574 &pentry->chan->dst, pentry->chan->dst_type, in send_mcast_pkt()
791 chan->dst_type); in add_peer_chan()
799 set_ip_addr_bits(chan->dst_type, (u8 *)&peer->peer_addr.s6_addr + 8); in add_peer_chan()
853 netdev->ifindex, &chan->dst, chan->dst_type, in setup_netdev()
1038 static int bt_6lowpan_connect(bdaddr_t *addr, u8 dst_type) in bt_6lowpan_connect() argument
1050 addr, dst_type); in bt_6lowpan_connect()
1059 static int bt_6lowpan_disconnect(struct l2cap_conn *conn, u8 dst_type) in bt_6lowpan_disconnect() argument
[all …]
Dsmp.c695 if (hcon->dst_type == ADDR_LE_DEV_PUBLIC) in build_pairing_cmd()
937 hcon->type, hcon->dst_type); in tk_request()
940 hcon->type, hcon->dst_type, in tk_request()
944 hcon->type, hcon->dst_type, in tk_request()
1032 hci_add_ltk(hcon->hdev, &hcon->dst, hcon->dst_type, in smp_random()
1073 hcon->dst_type = smp->remote_irk->addr_type; in smp_notify_keys()
1079 smp->csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1085 smp->slave_csrk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1091 smp->ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
1097 smp->slave_ltk->bdaddr_type = hcon->dst_type; in smp_notify_keys()
[all …]
Dl2cap_core.c85 return bdaddr_type(hcon->type, hcon->dst_type); in bdaddr_dst_type()
666 chan->dst_type = bdaddr_dst_type(hcon); in l2cap_conn_update_id_addr()
3866 chan->dst_type = bdaddr_dst_type(conn->hcon); in l2cap_connect()
5290 mgmt_new_conn_param(hcon->hdev, &hcon->dst, hcon->dst_type, in l2cap_conn_param_update_req()
5537 chan->dst_type = bdaddr_dst_type(conn->hcon); in l2cap_le_connect_req()
7100 static bool is_valid_psm(u16 psm, u8 dst_type) { in is_valid_psm() argument
7104 if (bdaddr_type_is_le(dst_type)) in is_valid_psm()
7112 bdaddr_t *dst, u8 dst_type) in l2cap_chan_connect() argument
7120 dst_type, __le16_to_cpu(psm)); in l2cap_chan_connect()
7128 if (!is_valid_psm(__le16_to_cpu(psm), dst_type) && !cid && in l2cap_chan_connect()
[all …]
Dhci_event.c1911 conn->dst_type, status); in hci_cs_disconnect()
2212 conn->dst_type, ev->status); in hci_conn_complete_evt()
2369 conn->dst_type, ev->status); in hci_disconn_complete_evt()
2376 mgmt_device_disconnected(hdev, &conn->dst, conn->type, conn->dst_type, in hci_disconn_complete_evt()
2386 params = hci_conn_params_lookup(hdev, &conn->dst, conn->dst_type); in hci_disconn_complete_evt()
4171 conn->dst_type, conn->passkey_notify, in hci_user_passkey_notify_evt()
4209 conn->dst_type, conn->passkey_notify, in hci_keypress_notify_evt()
4493 conn->dst_type = ev->bdaddr_type; in hci_le_conn_complete_evt()
4550 irk = hci_get_irk(hdev, &conn->dst, conn->dst_type); in hci_le_conn_complete_evt()
4553 conn->dst_type = irk->addr_type; in hci_le_conn_complete_evt()
[all …]
Dmgmt.c3281 rp->addr[i].type = link_to_bdaddr(c->type, c->dst_type); in get_connections()
3432 rp.addr.type = link_to_bdaddr(conn->type, conn->dst_type); in pairing_complete()
6074 if (conn->dst_type != type) in is_connected()
7936 ev->addr.type = link_to_bdaddr(conn->type, conn->dst_type); in mgmt_device_connected()
8223 ev.addr.type = link_to_bdaddr(conn->type, conn->dst_type); in mgmt_auth_failed()
Dl2cap_sock.c381 la->l2_bdaddr_type = chan->dst_type; in l2cap_sock_getname()
/net/ipv6/
Daddrconf.c1566 int dst_type; in ipv6_dev_get_saddr() local
1570 dst_type = __ipv6_addr_type(daddr); in ipv6_dev_get_saddr()
1573 dst.scope = __ipv6_addr_src_scope(dst_type); in ipv6_dev_get_saddr()
1574 dst.label = ipv6_addr_label(net, daddr, dst_type, dst.ifindex); in ipv6_dev_get_saddr()
1600 if ((dst_type & IPV6_ADDR_MULTICAST) || in ipv6_dev_get_saddr()