Home
last modified time | relevance | path

Searched refs:coap_block_context (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/net/
Dcoap.h626 struct coap_block_context { struct
641 int coap_block_transfer_init(struct coap_block_context *ctx, argument
657 int coap_append_descriptive_block_option(struct coap_packet *cpkt, struct coap_block_context *ctx);
694 struct coap_block_context *ctx);
706 struct coap_block_context *ctx);
718 struct coap_block_context *ctx);
730 struct coap_block_context *ctx);
780 struct coap_block_context *ctx);
795 struct coap_block_context *ctx,
810 struct coap_block_context *ctx);
Dcoap_client.h87 struct coap_block_context recv_blk_ctx;
88 struct coap_block_context send_blk_ctx;
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/
Dlwm2m_pull_context.c43 struct coap_block_context block_ctx;
93 static int transfer_request(struct coap_block_context *ctx, uint8_t *token, uint8_t tkl, in transfer_request()
230 struct coap_block_context received_block_ctx; in do_firmware_transfer_reply_cb()
439 (void)memset(&context.block_ctx, 0, sizeof(struct coap_block_context)); in lwm2m_pull_context_start_transfer()
Dlwm2m_engine.c114 static struct coap_block_context output_block_contexts[NUM_OUTPUT_BLOCK_CONTEXT];
123 struct coap_block_context *lwm2m_output_block_context(void) { return output_block_contexts; } in lwm2m_output_block_context()
Dlwm2m_object.h441 struct coap_block_context ctx;
455 struct coap_block_context *block_ctx;
Dlwm2m_message_handling.c105 struct coap_block_context *lwm2m_output_block_context(void);
218 STATIC int request_output_block_ctx(struct coap_block_context **ctx) in request_output_block_ctx()
234 STATIC void release_output_block_ctx(struct coap_block_context **ctx) in release_output_block_ctx()
/Zephyr-Core-3.5.0/tests/net/lib/coap/src/
Dmain.c477 struct coap_block_context *req_ctx, in prepare_block1_request()
526 struct coap_block_context *rsp_ctx, in prepare_block1_response()
557 static void verify_block1_request(struct coap_block_context *req_ctx, in verify_block1_request()
581 static void verify_block1_response(struct coap_block_context *rsp_ctx, in verify_block1_response()
595 struct coap_block_context req_ctx; in ZTEST()
596 struct coap_block_context rsp_ctx; in ZTEST()
621 struct coap_block_context *req_ctx, in prepare_block2_request()
647 struct coap_block_context *rsp_ctx, in prepare_block2_response()
699 static void verify_block2_request(struct coap_block_context *req_ctx, in verify_block2_request()
711 static void verify_block2_response(struct coap_block_context *rsp_ctx, in verify_block2_response()
[all …]
/Zephyr-Core-3.5.0/subsys/net/lib/coap/
Dcoap.c1177 int coap_block_transfer_init(struct coap_block_context *ctx, in coap_block_transfer_init()
1196 int coap_append_descriptive_block_option(struct coap_packet *cpkt, struct coap_block_context *ctx) in coap_append_descriptive_block_option()
1224 struct coap_block_context *ctx) in coap_append_block1_option()
1245 struct coap_block_context *ctx) in coap_append_block2_option()
1265 struct coap_block_context *ctx) in coap_append_size1_option()
1271 struct coap_block_context *ctx) in coap_append_size2_option()
1369 static int update_descriptive_block(struct coap_block_context *ctx, in update_descriptive_block()
1399 static int update_control_block1(struct coap_block_context *ctx, in update_control_block1()
1425 static int update_control_block2(struct coap_block_context *ctx, in update_control_block2()
1449 struct coap_block_context *ctx) in coap_update_from_block()
[all …]
Dcoap_link_format.c440 static struct coap_block_context ctx; in coap_well_known_core_get()
/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c15 int request_output_block_ctx(struct coap_block_context **ctx);
16 void release_output_block_ctx(struct coap_block_context ** const ctx);
383 struct coap_block_context *ctx0, *ctx1, *ctx2, *ctx3, *ctx4; in ZTEST_F()
/Zephyr-Core-3.5.0/samples/net/sockets/coap_server/src/
Dcoap-server.c699 static struct coap_block_context ctx; in large_get()
786 static struct coap_block_context ctx; in large_update_put()
876 static struct coap_block_context ctx; in large_create_post()
/Zephyr-Core-3.5.0/samples/net/sockets/coap_client/src/
Dcoap-client.c41 static struct coap_block_context blk_ctx;
/Zephyr-Core-3.5.0/subsys/mgmt/updatehub/
Dupdatehub.c61 struct coap_block_context block;