Searched refs:c_idx (Results 1 – 1 of 1) sorted by relevance
160 uint32_t c_idx = SIP_SVC_ID_INVALID; in sip_svc_register() local174 c_idx = sip_svc_id_mgr_alloc(ctrl->client_id_pool); in sip_svc_register()175 if (c_idx != SIP_SVC_ID_INVALID) { in sip_svc_register()176 ctrl->clients[c_idx].id = c_idx; in sip_svc_register()177 ctrl->clients[c_idx].token = sip_svc_generate_c_token(); in sip_svc_register()178 ctrl->clients[c_idx].state = SIP_SVC_CLIENT_ST_IDLE; in sip_svc_register()179 ctrl->clients[c_idx].priv_data = priv_data; in sip_svc_register()181 LOG_INF("Register the client channel 0x%x", ctrl->clients[c_idx].token); in sip_svc_register()182 return ctrl->clients[c_idx].token; in sip_svc_register()192 uint32_t c_idx; in sip_svc_unregister() local[all …]