Lines Matching defs:async
2786 coap_async_t *async;
2796 async = coap_find_async(session, pdu->actual_token);
2797 if (async) {
2801 if (async->delay == 0 || async->delay > now) {
2803 coap_log_info("Retransmit async response\n");
3061 if (async && pdu->type == COAP_MESSAGE_CON)
3974 coap_async_t *async, *tmp;
3976 LL_FOREACH_SAFE(context->async_state, async, tmp) {
3977 if (async->delay != 0 && async->delay <= now) {
3979 handle_request(context, async->session, async->pdu);
3981 /* Remove this async entry as it has now fired */
3982 coap_free_async(async->session, async);
3984 if (next_due == 0 || next_due > async->delay - now)
3985 next_due = async->delay - now;