Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/net/
Dcoap.h1130 struct coap_pending *pendings, size_t len);
1160 struct coap_pending *pendings, size_t len);
1190 struct coap_pending *pendings, size_t len);
1217 void coap_pendings_clear(struct coap_pending *pendings, size_t len);
1226 size_t coap_pendings_count(struct coap_pending *pendings, size_t len);
Dlwm2m.h214 struct coap_pending pendings[CONFIG_LWM2M_ENGINE_MAX_PENDING + 1]; member
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_engine.c374 for (i = 0, p = client_ctx->pendings; i < ARRAY_SIZE(client_ctx->pendings); i++, p++) { in retransmit_request()
653 size_t pendings; in hint_socket_state() local
666 pendings = coap_pendings_count(ctx->pendings, ARRAY_SIZE(ctx->pendings)); in hint_socket_state()
671 if (pendings > 1) { in hint_socket_state()
684 } else if (empty && pendings == 0) { in hint_socket_state()
Dlwm2m_message_handling.c468 coap_pendings_clear(client_ctx->pendings, ARRAY_SIZE(client_ctx->pendings)); in lwm2m_engine_context_close()
670 msg->pending = coap_pending_next_unused(msg->ctx->pendings, ARRAY_SIZE(msg->ctx->pendings)); in lwm2m_init_message()
2662 msg->pending = coap_pending_next_unused(msg->ctx->pendings, ARRAY_SIZE(msg->ctx->pendings)); in lwm2m_response_promote_to_con()
2760 pending = coap_pending_received(&response, client_ctx->pendings, in lwm2m_udp_receive()
2761 ARRAY_SIZE(client_ctx->pendings)); in lwm2m_udp_receive()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c1616 struct coap_pending *pendings, size_t len) in coap_pending_next_unused() argument
1621 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pending_next_unused()
1678 struct coap_pending *pendings, size_t len) in coap_pending_received() argument
1684 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pending_received()
1700 struct coap_pending *pendings, size_t len) in coap_pending_next_to_expire() argument
1706 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pending_next_to_expire()
1765 void coap_pendings_clear(struct coap_pending *pendings, size_t len) in coap_pendings_clear() argument
1770 for (i = 0, p = pendings; i < len; i++, p++) { in coap_pendings_clear()
1775 size_t coap_pendings_count(struct coap_pending *pendings, size_t len) in coap_pendings_count() argument
1777 struct coap_pending *p = pendings; in coap_pendings_count()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/
Dmain.c355 ctx.pendings[0] = pending_1; in ZTEST()
360 ctx.pendings[1] = pending_2; in ZTEST()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c33 static struct coap_pending pendings[NUM_PENDINGS]; variable
791 pending = coap_pending_next_unused(pendings, NUM_PENDINGS); in ZTEST()
810 rsp_pending = coap_pending_received(&rsp, pendings, NUM_PENDINGS); in ZTEST()
817 rsp_pending = coap_pending_next_to_expire(pendings, NUM_PENDINGS); in ZTEST()
1774 pending = coap_pending_next_unused(pendings, NUM_PENDINGS); in ZTEST()