Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/net/
Dcoap.h789 struct coap_block_context { struct
807 int coap_block_transfer_init(struct coap_block_context *ctx, argument
823 int coap_append_descriptive_block_option(struct coap_packet *cpkt, struct coap_block_context *ctx);
869 struct coap_block_context *ctx);
881 struct coap_block_context *ctx);
893 struct coap_block_context *ctx);
905 struct coap_block_context *ctx);
956 struct coap_block_context *ctx);
971 struct coap_block_context *ctx,
986 struct coap_block_context *ctx);
Dcoap_client.h95 struct coap_block_context recv_blk_ctx;
96 struct coap_block_context send_blk_ctx;
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dlarge.c22 static struct coap_block_context ctx; in large_get()
100 static struct coap_block_context ctx; in large_update_put()
180 static struct coap_block_context ctx; in large_create_post()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_pull_context.c44 struct coap_block_context block_ctx;
94 static int transfer_request(struct coap_block_context *ctx, uint8_t *token, uint8_t tkl, in transfer_request()
231 struct coap_block_context received_block_ctx; in do_firmware_transfer_reply_cb()
449 (void)memset(&context.block_ctx, 0, sizeof(struct coap_block_context)); in lwm2m_pull_context_start_transfer()
Dlwm2m_object.h441 struct coap_block_context ctx;
455 struct coap_block_context *block_ctx;
Dlwm2m_engine.c112 static struct coap_block_context output_block_contexts[NUM_OUTPUT_BLOCK_CONTEXT];
121 struct coap_block_context *lwm2m_output_block_context(void) { return output_block_contexts; } in lwm2m_output_block_context()
Dlwm2m_message_handling.c108 struct coap_block_context *lwm2m_output_block_context(void);
216 STATIC int request_output_block_ctx(struct coap_block_context **ctx) in request_output_block_ctx()
237 STATIC void release_output_block_ctx(struct coap_block_context **ctx) in release_output_block_ctx()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c1230 int coap_block_transfer_init(struct coap_block_context *ctx, in coap_block_transfer_init()
1249 int coap_append_descriptive_block_option(struct coap_packet *cpkt, struct coap_block_context *ctx) in coap_append_descriptive_block_option()
1293 struct coap_block_context *ctx) in coap_append_block1_option()
1314 struct coap_block_context *ctx) in coap_append_block2_option()
1334 struct coap_block_context *ctx) in coap_append_size1_option()
1340 struct coap_block_context *ctx) in coap_append_size2_option()
1440 static int update_descriptive_block(struct coap_block_context *ctx, in update_descriptive_block()
1470 static int update_control_block1(struct coap_block_context *ctx, in update_control_block1()
1496 static int update_control_block2(struct coap_block_context *ctx, in update_control_block2()
1520 struct coap_block_context *ctx) in coap_update_from_block()
[all …]
Dcoap_link_format.c441 static struct coap_block_context ctx; in coap_well_known_core_get_len()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c490 struct coap_block_context *req_ctx, in prepare_block1_request()
539 struct coap_block_context *rsp_ctx, in prepare_block1_response()
570 static void verify_block1_request(struct coap_block_context *req_ctx, in verify_block1_request()
594 static void verify_block1_response(struct coap_block_context *rsp_ctx, in verify_block1_response()
608 struct coap_block_context req_ctx; in ZTEST()
609 struct coap_block_context rsp_ctx; in ZTEST()
634 struct coap_block_context *req_ctx, in prepare_block2_request()
660 struct coap_block_context *rsp_ctx, in prepare_block2_response()
712 static void verify_block2_request(struct coap_block_context *req_ctx, in verify_block2_request()
724 static void verify_block2_response(struct coap_block_context *rsp_ctx, in verify_block2_response()
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/
Dmain.c16 int request_output_block_ctx(struct coap_block_context **ctx);
17 void release_output_block_ctx(struct coap_block_context ** const ctx);
384 struct coap_block_context *ctx0, *ctx1, *ctx2, *ctx3, *ctx4; in ZTEST_F()
/Zephyr-latest/samples/net/sockets/coap_client/src/
Dcoap-client.c41 static struct coap_block_context blk_ctx;
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c61 struct coap_block_context block;