Searched refs:sendqueue (Results 1 – 5 of 5) sorted by relevance
/net-tools-3.6.0/libcoap/tests/ |
D | test_sendqueue.c | 16 static coap_queue_t *sendqueue; variable 42 int result = coap_insert_node(&sendqueue, node[1]); in t_sendqueue1() 45 CU_ASSERT_PTR_NOT_NULL(sendqueue); in t_sendqueue1() 46 CU_ASSERT_PTR_EQUAL(sendqueue, node[1]); in t_sendqueue1() 54 result = coap_insert_node(&sendqueue, node[2]); in t_sendqueue2() 57 CU_ASSERT_PTR_EQUAL(sendqueue, node[1]); in t_sendqueue2() 58 CU_ASSERT_PTR_EQUAL(sendqueue->next, node[2]); in t_sendqueue2() 60 CU_ASSERT(sendqueue->t == timestamp[1]); in t_sendqueue2() 68 result = coap_insert_node(&sendqueue, node[3]); in t_sendqueue3() 72 CU_ASSERT_PTR_EQUAL(sendqueue, node[3]); in t_sendqueue3() [all …]
|
/net-tools-3.6.0/libcoap/src/ |
D | net.c | 184 if (ctx->sendqueue) { in coap_adjust_basetime() 187 ctx->sendqueue->t -= delta; in coap_adjust_basetime() 194 coap_queue_t *q = ctx->sendqueue; in coap_adjust_basetime() 291 if ( !context || !context->sendqueue ) in coap_peek_next() 294 return context->sendqueue; in coap_peek_next() 301 if ( !context || !context->sendqueue ) in coap_pop_next() 304 next = context->sendqueue; in coap_pop_next() 305 context->sendqueue = context->sendqueue->next; in coap_pop_next() 306 if (context->sendqueue) { in coap_pop_next() 307 context->sendqueue->t += next->t; in coap_pop_next() [all …]
|
/net-tools-3.6.0/tinydtls-0.8.2/ |
D | dtls.h | 235 LIST_STRUCT(sendqueue); /**< the packets to send */
|
D | dtls.c | 1457 if (!netq_insert_node(ctx->sendqueue, n)) { in dtls_send_multi() 3774 LIST_STRUCT_INIT(c, sendqueue); in dtls_new_context() 3907 netq_insert_node(context->sendqueue, node); in dtls_retransmit() 3943 node = list_head(context->sendqueue); in dtls_stop_retransmission() 3949 list_remove(context->sendqueue, tmp); in dtls_stop_retransmission() 3959 netq_t *node = netq_head(context->sendqueue); in dtls_check_retransmit() 3963 netq_pop_first(context->sendqueue); in dtls_check_retransmit() 3965 node = netq_head(context->sendqueue); in dtls_check_retransmit() 3990 node = list_head(the_dtls_context.sendqueue); in PROCESS_THREAD() 3994 dtls_retransmit(&the_dtls_context, list_pop(the_dtls_context.sendqueue)); in PROCESS_THREAD() [all …]
|
/net-tools-3.6.0/libcoap/include/coap/ |
D | net.h | 90 coap_queue_t *sendqueue; member
|