Home
last modified time | relevance | path

Searched refs:req_ctx (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c490 struct coap_block_context *req_ctx, in prepare_block1_request() argument
502 if (req_ctx->total_size == 0) { in prepare_block1_request()
504 coap_block_transfer_init(req_ctx, COAP_BLOCK_32, in prepare_block1_request()
516 r = coap_append_block1_option(req, req_ctx); in prepare_block1_request()
520 r = coap_append_size1_option(req, req_ctx); in prepare_block1_request()
527 payload_len = req_ctx->total_size - req_ctx->current; in prepare_block1_request()
535 *more = coap_next_block(req, req_ctx); in prepare_block1_request()
570 static void verify_block1_request(struct coap_block_context *req_ctx, in verify_block1_request() argument
576 zassert_equal(req_ctx->block_size, COAP_BLOCK_32, in verify_block1_request()
582 req_ctx->current, block_size * iter, in verify_block1_request()
[all …]
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_core.c835 void populate_request_ctx(struct http_request_ctx *req_ctx, uint8_t *data, size_t len, in populate_request_ctx() argument
838 req_ctx->data = data; in populate_request_ctx()
839 req_ctx->data_len = len; in populate_request_ctx()
842 req_ctx->headers = NULL; in populate_request_ctx()
843 req_ctx->header_count = 0; in populate_request_ctx()
844 req_ctx->headers_status = HTTP_HEADER_STATUS_NONE; in populate_request_ctx()
846 req_ctx->headers = header_ctx->headers; in populate_request_ctx()
847 req_ctx->header_count = header_ctx->count; in populate_request_ctx()
848 req_ctx->headers_status = header_ctx->status; in populate_request_ctx()
/Zephyr-latest/subsys/net/lib/http/headers/
Dserver_internal.h54 void populate_request_ctx(struct http_request_ctx *req_ctx, uint8_t *data, size_t len,