Lines Matching full:token
50 * @param token sip_svc token
52 static void sip_svc_send_sync_request(uint32_t token) in sip_svc_send_sync_request() argument
64 tot_time = (struct total_time *)sip_svc_get_priv_data(ctrl, token); in sip_svc_send_sync_request()
67 err = sip_svc_open(ctrl, token, K_FOREVER); in sip_svc_send_sync_request()
77 trans_id = sip_svc_send(ctrl, token, &req, get_sync_callback); in sip_svc_send_sync_request()
89 err = sip_svc_close(ctrl, token, NULL); in sip_svc_send_sync_request()
116 * @param token sip_svc token
118 static void sip_svc_send_async_request(uint32_t token) in sip_svc_send_async_request() argument
135 err = sip_svc_open(ctrl, token, K_FOREVER); in sip_svc_send_async_request()
138 tot_time = (struct total_time *)sip_svc_get_priv_data(ctrl, token); in sip_svc_send_async_request()
161 trans_id = sip_svc_send(ctrl, token, &req, get_async_callback); in sip_svc_send_async_request()
173 err = sip_svc_close(ctrl, token, NULL); in sip_svc_send_async_request()
179 int err, token; in sip_svc_register_and_send() local
189 token = sip_svc_register(ctrl, user_data); in sip_svc_register_and_send()
190 if (token == SIP_SVC_ID_INVALID) { in sip_svc_register_and_send()
195 sip_svc_send_sync_request(token); in sip_svc_register_and_send()
196 sip_svc_send_async_request(token); in sip_svc_register_and_send()
199 err = sip_svc_unregister(ctrl, token); in sip_svc_register_and_send()