Searched refs:nextpdu (Results 1 – 2 of 2) sorted by relevance
1187 coap_queue_t *nextpdu; local1287 nextpdu = coap_peek_next(ctx);1289 while (nextpdu && now >= ctx->sendqueue_basetime && nextpdu->t <= now - ctx->sendqueue_basetime) {1291 nextpdu = coap_peek_next(ctx);1294 if (nextpdu && (timeout == 0 || nextpdu->t - ( now - ctx->sendqueue_basetime ) < timeout))1295 timeout = nextpdu->t - (now - ctx->sendqueue_basetime);
1006 coap_queue_t *nextpdu; in coap_wait_ack() local1008 nextpdu = coap_peek_next(context); in coap_wait_ack()1009 assert(nextpdu); /* we have just inserted a node */ in coap_wait_ack()1013 etimer_set(&context->retransmit_timer, nextpdu->t); in coap_wait_ack()3550 coap_queue_t *nextpdu; in PROCESS_THREAD() local3561 nextpdu = coap_peek_next(&the_coap_context); in PROCESS_THREAD()3564 while (nextpdu && nextpdu->t <= now) { in PROCESS_THREAD()3566 nextpdu = coap_peek_next(&the_coap_context); in PROCESS_THREAD()3571 nextpdu ? nextpdu->t - now : 0xFFFF); in PROCESS_THREAD()