Lines Matching refs:srv_rs

234 static rfc_slot_t *create_srv_accept_rfc_slot(rfc_slot_t *srv_rs, const bt_bdaddr_t *addr, int open…  in create_srv_accept_rfc_slot()  argument
235 …rfc_slot_t *accept_rs = alloc_rfc_slot(addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->s… in create_srv_accept_rfc_slot()
243 accept_rs->security = srv_rs->security; in create_srv_accept_rfc_slot()
244 accept_rs->mtu = srv_rs->mtu; in create_srv_accept_rfc_slot()
245 accept_rs->role = srv_rs->role; in create_srv_accept_rfc_slot()
248 accept_rs->app_uid = srv_rs->app_uid; in create_srv_accept_rfc_slot()
250 srv_rs->rfc_handle = new_listen_handle; in create_srv_accept_rfc_slot()
251 srv_rs->rfc_port_handle = BTA_JvRfcommGetPortHdl(new_listen_handle); in create_srv_accept_rfc_slot()
253 assert(accept_rs->rfc_port_handle != srv_rs->rfc_port_handle); in create_srv_accept_rfc_slot()
257 accept_rs->id = srv_rs->id; in create_srv_accept_rfc_slot()
258 srv_rs->id = new_listen_id; in create_srv_accept_rfc_slot()
490 rfc_slot_t *srv_rs = find_rfc_slot_by_id(id); in on_srv_rfc_connect() local
491 if (!srv_rs) in on_srv_rfc_connect()
494 …rfc_slot_t *accept_rs = create_srv_accept_rfc_slot(srv_rs, (const bt_bdaddr_t *)p_open->rem_bda, p… in on_srv_rfc_connect()
499 btsock_thread_add_fd(pth, srv_rs->fd, BTSOCK_RFCOMM, SOCK_THREAD_FD_EXCEPTION, srv_rs->id); in on_srv_rfc_connect()
501 send_app_connect_signal(srv_rs->fd, &accept_rs->addr, srv_rs->scn, 0, accept_rs->app_fd); in on_srv_rfc_connect()
503 new_listen_slot_id = srv_rs->id; in on_srv_rfc_connect()