Searched refs:body_len (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/samples/net/prometheus/src/ |
D | stats.c | 58 response_ctx->body_len = strlen(prom_buffer); in stats_handler()
|
D | main.c | 69 response_ctx->body_len = strlen(prom_buffer); in dyn_handler()
|
/Zephyr-latest/samples/net/sockets/http_server/src/ |
D | main.c | 100 response_ctx->body_len = request_ctx->data_len; in echo_handler() 135 response_ctx->body_len = ret; in uptime_handler()
|
/Zephyr-latest/subsys/mgmt/hawkbit/ |
D | hawkbit.c | 870 size_t body_len; in response_cb() local 893 body_len = rsp->body_frag_len; in response_cb() 895 if ((hb_context->dl.downloaded_size + body_len) > in response_cb() 898 hb_context->dl.downloaded_size + body_len; in response_cb() 910 body_data, body_len); in response_cb() 911 hb_context->dl.downloaded_size += body_len; in response_cb() 955 body_len = rsp->body_frag_len; in response_cb() 957 ret = flash_img_buffered_write(&hb_context->flash_ctx, body_data, body_len, in response_cb()
|
/Zephyr-latest/include/zephyr/net/http/ |
D | server.h | 201 size_t body_len; /**< Length of body data */ member
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_http1.c | 239 if (rsp->body != NULL && rsp->body_len > 0) { in http1_dynamic_response() 240 ret = snprintk(tmp, sizeof(tmp), "%zx\r\n", rsp->body_len); in http1_dynamic_response() 246 ret = http_server_sendall(client, rsp->body, rsp->body_len); in http1_dynamic_response()
|
D | http_server_core.c | 819 (rsp->status == 0 && rsp->header_count == 0 && rsp->body_len == 0)) { in http_response_is_final() 828 if (rsp->status != 0 || rsp->header_count > 0 || rsp->body_len > 0) { in http_response_is_provided()
|
D | http_server_http2.c | 527 if (final_response && rsp->body_len == 0) { in http2_dynamic_response() 543 if (rsp->body != NULL && rsp->body_len > 0) { in http2_dynamic_response() 549 ret = send_data_frame(client, rsp->body, rsp->body_len, frame->stream_identifier, in http2_dynamic_response()
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 263 response_ctx->body_len = dynamic_payload_len; in dynamic_cb() 268 response_ctx->body_len = 0; in dynamic_cb() 470 response_ctx->body_len = strlen(response_ctx->body); in dynamic_response_headers_cb() 480 response_ctx->body_len = strlen(response_ctx->body); in dynamic_response_headers_cb() 491 response_ctx->body_len = send_len; in dynamic_response_headers_cb()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | http_server.rst | 263 response_ctx->body_len = request_ctx->data_len; 318 * The ``body`` and ``body_len`` fields are used to send body data.
|