Home
last modified time | relevance | path

Searched refs:sendqueue (Results 1 – 4 of 4) sorted by relevance

/third_party/libcoap/tests/
Dtest_sendqueue.c43 int result = coap_insert_node(&ctx->sendqueue, node[1]); in t_sendqueue1()
46 CU_ASSERT_PTR_NOT_NULL(ctx->sendqueue); in t_sendqueue1()
47 CU_ASSERT_PTR_EQUAL(ctx->sendqueue, node[1]); in t_sendqueue1()
55 result = coap_insert_node(&ctx->sendqueue, node[2]); in t_sendqueue2()
58 CU_ASSERT_PTR_EQUAL(ctx->sendqueue, node[1]); in t_sendqueue2()
59 CU_ASSERT_PTR_EQUAL(ctx->sendqueue->next, node[2]); in t_sendqueue2()
61 CU_ASSERT(ctx->sendqueue->t == timestamp[1]); in t_sendqueue2()
69 result = coap_insert_node(&ctx->sendqueue, node[3]); in t_sendqueue3()
73 CU_ASSERT_PTR_EQUAL(ctx->sendqueue, node[3]); in t_sendqueue3()
76 CU_ASSERT_PTR_NOT_NULL(ctx->sendqueue->next); in t_sendqueue3()
[all …]
/third_party/libcoap/src/
Dnet.c161 if (ctx->sendqueue) { in coap_adjust_basetime()
164 ctx->sendqueue->t -= delta; in coap_adjust_basetime()
171 coap_queue_t *q = ctx->sendqueue; in coap_adjust_basetime()
240 if (node->session->context->sendqueue) { in coap_delete_node()
241 LL_DELETE(node->session->context->sendqueue, node); in coap_delete_node()
275 if (!context || !context->sendqueue) in coap_peek_next()
278 return context->sendqueue; in coap_peek_next()
285 if (!context || !context->sendqueue) in coap_pop_next()
288 next = context->sendqueue; in coap_pop_next()
289 context->sendqueue = context->sendqueue->next; in coap_pop_next()
[all …]
Dcoap_session.c180 coap_queue_t *queue = session->context->sendqueue; in coap_session_mfree()
325 coap_remove_from_queue(&session->context->sendqueue, session, node->id, &removed); in coap_session_delay_pdu()
526 coap_queue_t *q = session->context->sendqueue; in coap_session_disconnected()
/third_party/libcoap/include/coap3/
Dcoap_net_internal.h67 coap_queue_t *sendqueue; member