Lines Matching refs:scid

91 		if (l2cap_pi(s)->scid == cid)  in __l2cap_get_chan_by_scid()
187 l2cap_pi(sk)->scid = L2CAP_CID_LE_DATA; in __l2cap_chan_add()
191 l2cap_pi(sk)->scid = l2cap_alloc_cid(l); in __l2cap_chan_add()
196 l2cap_pi(sk)->scid = L2CAP_CID_CONN_LESS; in __l2cap_chan_add()
201 l2cap_pi(sk)->scid = L2CAP_CID_SIGNALING; in __l2cap_chan_add()
424 req.scid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_do_start()
480 req.scid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_send_disconn_req()
531 req.scid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_conn_start()
543 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_conn_start()
544 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_conn_start()
606 if (l2cap_pi(sk)->scid == cid) { in l2cap_get_sock_by_scid()
1831 rsp->scid = cpu_to_le16(pi->dcid); in l2cap_parse_conf_req()
1914 rsp->scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_build_conf_rsp()
1984 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect_req() local
1987 BT_DBG("psm 0x%2.2x scid 0x%4.4x", psm, scid); in l2cap_connect_req()
2021 if (__l2cap_get_chan_by_dcid(list, scid)) { in l2cap_connect_req()
2034 l2cap_pi(sk)->dcid = scid; in l2cap_connect_req()
2037 dcid = l2cap_pi(sk)->scid; in l2cap_connect_req()
2072 rsp.scid = cpu_to_le16(scid); in l2cap_connect_req()
2107 u16 scid, dcid, result, status; in l2cap_connect_rsp() local
2111 scid = __le16_to_cpu(rsp->scid); in l2cap_connect_rsp()
2116 BT_DBG("dcid 0x%4.4x scid 0x%4.4x result 0x%2.2x status 0x%2.2x", dcid, scid, result, status); in l2cap_connect_rsp()
2118 if (scid) { in l2cap_connect_rsp()
2119 sk = l2cap_get_chan_by_scid(&conn->chan_list, scid); in l2cap_connect_rsp()
2271 u16 scid, flags, result; in l2cap_config_rsp() local
2275 scid = __le16_to_cpu(rsp->scid); in l2cap_config_rsp()
2280 scid, flags, result); in l2cap_config_rsp()
2282 sk = l2cap_get_chan_by_scid(&conn->chan_list, scid); in l2cap_config_rsp()
2351 u16 dcid, scid; in l2cap_disconnect_req() local
2354 scid = __le16_to_cpu(req->scid); in l2cap_disconnect_req()
2357 BT_DBG("scid 0x%4.4x dcid 0x%4.4x", scid, dcid); in l2cap_disconnect_req()
2363 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_disconnect_req()
2364 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_disconnect_req()
2388 u16 dcid, scid; in l2cap_disconnect_rsp() local
2391 scid = __le16_to_cpu(rsp->scid); in l2cap_disconnect_rsp()
2394 BT_DBG("dcid 0x%4.4x scid 0x%4.4x", dcid, scid); in l2cap_disconnect_rsp()
2396 sk = l2cap_get_chan_by_scid(&conn->chan_list, scid); in l2cap_disconnect_rsp()
3814 req.scid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_security_cfm()
3839 rsp.scid = cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_security_cfm()
3840 rsp.dcid = cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_security_cfm()
3977 pi->scid, pi->dcid, in l2cap_debugfs_show()