Searched refs:body_len (Results 1 – 11 of 11) 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 | 876 size_t body_len; in response_json_cb() local 886 body_len = rsp->body_frag_len; in response_json_cb() 888 if ((hb_context->dl.downloaded_size + body_len) > in response_json_cb() 891 hb_context->dl.downloaded_size + body_len; in response_json_cb() 903 body_data, body_len); in response_json_cb() 904 hb_context->dl.downloaded_size += body_len; in response_json_cb() 943 size_t body_len; in response_download_cb() local 961 body_len = rsp->body_frag_len; in response_download_cb() 963 ret = flash_img_buffered_write(&hb_context->flash_ctx, body_data, body_len, in response_download_cb()
|
/Zephyr-latest/include/zephyr/net/http/ |
D | server.h | 211 size_t body_len; /**< Length of body data */ member
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | ethernet.c | 258 size_t body_len; in ethernet_recv() local 382 body_len = net_pkt_get_len(pkt); in ethernet_recv() 425 ethernet_update_rx_stats(iface, body_len + hdr_len, dst_broadcast, dst_eth_multicast); in ethernet_recv()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_http1.c | 322 if (rsp->body != NULL && rsp->body_len > 0) { in http1_dynamic_response() 323 ret = snprintk(tmp, sizeof(tmp), "%zx\r\n", rsp->body_len); in http1_dynamic_response() 329 ret = http_server_sendall(client, rsp->body, rsp->body_len); in http1_dynamic_response()
|
D | http_server_core.c | 896 (rsp->status == 0 && rsp->header_count == 0 && rsp->body_len == 0)) { in http_response_is_final() 905 if (rsp->status != 0 || rsp->header_count > 0 || rsp->body_len > 0) { in http_response_is_provided()
|
D | http_server_http2.c | 589 if (final_response && rsp->body_len == 0) { in http2_dynamic_response() 603 if (rsp->body != NULL && rsp->body_len > 0) { in http2_dynamic_response() 609 ret = send_data_frame(client, rsp->body, rsp->body_len, frame->stream_identifier, in http2_dynamic_response()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | http_server.rst | 147 response_ctx->body_len = sizeof(response_404) - 1; 306 response_ctx->body_len = request_ctx->data_len; 361 * The ``body`` and ``body_len`` fields are used to send body data.
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 275 response_ctx->body_len = dynamic_payload_len; in dynamic_cb() 280 response_ctx->body_len = 0; in dynamic_cb() 482 response_ctx->body_len = strlen(response_ctx->body); in dynamic_response_headers_cb() 492 response_ctx->body_len = strlen(response_ctx->body); in dynamic_response_headers_cb() 503 response_ctx->body_len = send_len; in dynamic_response_headers_cb()
|