Home
last modified time | relevance | path

Searched refs:pendings (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.6.0/include/zephyr/net/
Dcoap.h1026 struct coap_pending *pendings, size_t len);
1056 struct coap_pending *pendings, size_t len);
1086 struct coap_pending *pendings, size_t len);
1113 void coap_pendings_clear(struct coap_pending *pendings, size_t len);
1122 size_t coap_pendings_count(struct coap_pending *pendings, size_t len);
Dlwm2m.h164 struct coap_pending pendings[CONFIG_LWM2M_ENGINE_MAX_PENDING + 1]; member
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/
Dlwm2m_engine.c372 for (i = 0, p = client_ctx->pendings; i < ARRAY_SIZE(client_ctx->pendings); i++, p++) { in retransmit_request()
658 size_t pendings = coap_pendings_count(ctx->pendings, ARRAY_SIZE(ctx->pendings)); in hint_socket_state() local
662 if (pendings > 1) { in hint_socket_state()
673 } else if (empty && pendings == 0) { in hint_socket_state()
Dlwm2m_message_handling.c461 coap_pendings_clear(client_ctx->pendings, ARRAY_SIZE(client_ctx->pendings)); in lwm2m_engine_context_close()
650 msg->pending = coap_pending_next_unused(msg->ctx->pendings, ARRAY_SIZE(msg->ctx->pendings)); in lwm2m_init_message()
2606 msg->pending = coap_pending_next_unused(msg->ctx->pendings, ARRAY_SIZE(msg->ctx->pendings)); in lwm2m_response_promote_to_con()
2695 pending = coap_pending_received(&response, client_ctx->pendings, in lwm2m_udp_receive()
2696 ARRAY_SIZE(client_ctx->pendings)); in lwm2m_udp_receive()
/Zephyr-Core-3.6.0/subsys/net/lib/coap/
Dcoap.c1580 struct coap_pending *pendings, size_t len) in coap_pending_next_unused() argument
1585 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pending_next_unused()
1642 struct coap_pending *pendings, size_t len) in coap_pending_received() argument
1648 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pending_received()
1664 struct coap_pending *pendings, size_t len) in coap_pending_next_to_expire() argument
1670 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pending_next_to_expire()
1728 void coap_pendings_clear(struct coap_pending *pendings, size_t len) in coap_pendings_clear() argument
1733 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pendings_clear()
1738 size_t coap_pendings_count(struct coap_pending *pendings, size_t len) in coap_pendings_count() argument
1740 struct coap_pending *p = pendings; in coap_pendings_count()
/Zephyr-Core-3.6.0/tests/net/lib/lwm2m/lwm2m_engine/src/
Dmain.c353 ctx.pendings[0] = pending_1; in ZTEST()
358 ctx.pendings[1] = pending_2; in ZTEST()
/Zephyr-Core-3.6.0/tests/net/lib/coap/src/
Dmain.c33 static struct coap_pending pendings[NUM_PENDINGS]; variable
778 pending = coap_pending_next_unused(pendings, NUM_PENDINGS); in ZTEST()
797 rsp_pending = coap_pending_received(&rsp, pendings, NUM_PENDINGS); in ZTEST()
804 rsp_pending = coap_pending_next_to_expire(pendings, NUM_PENDINGS); in ZTEST()
1750 pending = coap_pending_next_unused(pendings, NUM_PENDINGS); in ZTEST()