/Zephyr-Core-3.4.0/tests/net/socket/websocket/src/ |
D | main.c | 45 static uint8_t recv_buf[MAX(sizeof(lorem_ipsum), MAX_RECV_BUF_LEN)]; variable 70 uint8_t *recv_buf, size_t recv_len) in test_recv_buf() argument 82 ret = websocket_recv_msg(fd, recv_buf, recv_len, in test_recv_buf() 132 ctx.recv_buf.buf = temp_recv_buf; in test_recv() 133 ctx.recv_buf.size = sizeof(temp_recv_buf); in test_recv() 134 ctx.recv_buf.count = 0; in test_recv() 145 recv_buf + total_read, in test_recv() 146 sizeof(recv_buf) - total_read); in test_recv() 162 recv_buf + total_read, in test_recv() 163 sizeof(recv_buf) - total_read); in test_recv() [all …]
|
/Zephyr-Core-3.4.0/drivers/serial/ |
D | uart_pipe.c | 27 static uint8_t *recv_buf; variable 41 got = uart_fifo_read(uart_pipe_dev, recv_buf + recv_off, avail); in uart_pipe_rx() 46 LOG_HEXDUMP_DBG(recv_buf + recv_off, got, "RX"); in uart_pipe_rx() 53 recv_buf = app_cb(recv_buf, &recv_off); in uart_pipe_rx() 98 recv_buf = buf; in uart_pipe_register()
|
/Zephyr-Core-3.4.0/subsys/net/lib/websocket/ |
D | websocket.c | 277 ctx->recv_buf.buf = wreq->tmp_buf; in websocket_connect() 278 ctx->recv_buf.size = wreq->tmp_buf_len; in websocket_connect() 320 req.recv_buf = wreq->tmp_buf; in websocket_connect() 391 ctx->recv_buf.count = 0; in websocket_connect() 761 if (parsed_count >= ctx->recv_buf.count) { in websocket_parse() 765 data = ctx->recv_buf.buf[parsed_count++]; in websocket_parse() 839 size_t remaining_in_recv_buf = ctx->recv_buf.count - parsed_count; in websocket_parse() 849 memcpy(&payload->buf[payload->count], &ctx->recv_buf.buf[parsed_count], in websocket_parse() 963 if (ctx->recv_buf.count == 0) { in websocket_recv_msg() 965 size_t input_len = MIN(ctx->recv_buf.size, in websocket_recv_msg() [all …]
|
D | websocket_internal.h | 90 struct websocket_buffer recv_buf; member
|
/Zephyr-Core-3.4.0/doc/connectivity/networking/api/ |
D | http.rst | 31 static uint8_t recv_buf[512]; 38 req.recv_buf = recv_buf; 39 req.recv_buf_len = sizeof(recv_buf);
|
/Zephyr-Core-3.4.0/include/zephyr/net/http/ |
D | client.h | 146 uint8_t *recv_buf; member 245 uint8_t *recv_buf; member
|
/Zephyr-Core-3.4.0/samples/net/sockets/http_client/src/ |
D | main.c | 200 req.recv_buf = recv_buf_ipv4; in run_queries() 218 req.recv_buf = recv_buf_ipv6; in run_queries() 258 req.recv_buf = recv_buf_ipv4; in run_queries() 278 req.recv_buf = recv_buf_ipv6; in run_queries() 324 req.recv_buf = recv_buf_ipv4; in run_queries() 348 req.recv_buf = recv_buf_ipv6; in run_queries()
|
/Zephyr-Core-3.4.0/tests/net/socket/misc/src/ |
D | main.c | 171 uint8_t recv_buf[sizeof(send_buf)] = { 0 }; in test_so_bindtodevice() local 231 ret = recv(sock_s, recv_buf, sizeof(recv_buf), MSG_DONTWAIT); in test_so_bindtodevice() 233 zassert_mem_equal(recv_buf, DEV2_NAME, strlen(DEV2_NAME), in test_so_bindtodevice() 266 ret = recv(sock_s, recv_buf, sizeof(recv_buf), MSG_DONTWAIT); in test_so_bindtodevice() 268 zassert_mem_equal(recv_buf, DEV1_NAME, strlen(DEV1_NAME), in test_so_bindtodevice()
|
/Zephyr-Core-3.4.0/tests/bluetooth/tester/src/ |
D | btp.c | 182 static uint8_t *recv_buf; variable 192 recv_buf[recv_off++] = c; in timer_expiry_cb() 193 recv_buf = recv_cb(recv_buf, &recv_off); in timer_expiry_cb() 204 recv_buf = data; in uart_init()
|
/Zephyr-Core-3.4.0/samples/net/sockets/echo_client/src/ |
D | udp.c | 28 static APP_BMEM char recv_buf[RECV_BUF_SIZE]; variable 243 received = recv(data->udp.sock, recv_buf, sizeof(recv_buf), in process_udp_proto() 258 ret = compare_udp_data(data, recv_buf, received); in process_udp_proto()
|
/Zephyr-Core-3.4.0/include/zephyr/net/ |
D | coap_client.h | 85 uint8_t recv_buf[MAX_COAP_MSG_LEN]; member
|
/Zephyr-Core-3.4.0/drivers/sensor/veml7700/ |
D | veml7700.c | 211 uint8_t recv_buf[2]; in veml7700_read() local 215 &recv_buf, in veml7700_read() 216 ARRAY_SIZE(recv_buf)); in veml7700_read() 221 *data = sys_get_le16(recv_buf); in veml7700_read()
|
/Zephyr-Core-3.4.0/subsys/net/lib/http/ |
D | http_client.c | 282 (req->internal.response.body_frag_start - req->internal.response.recv_buf); in on_body() 452 received = zsock_recv(sock, req->internal.response.recv_buf + offset, in http_wait_data() 465 req->internal.response.recv_buf + offset, received); in http_wait_data() 538 req->recv_buf == NULL || req->recv_buf_len == 0) { in http_client_req() 546 req->internal.response.recv_buf = req->recv_buf; in http_client_req()
|
/Zephyr-Core-3.4.0/drivers/modem/ |
D | quectel-bg9x.h | 124 char *recv_buf; member
|
D | simcom-sim7080.h | 174 char *recv_buf; member
|
D | quectel-bg9x.c | 175 ret = net_buf_linearize(sock_data->recv_buf, sock_data->recv_buf_len, in on_cmd_sockread_common() 603 sock_data.recv_buf = buf; in offload_recvfrom()
|
D | ublox-sara-r4.c | 105 char *recv_buf; member 831 ret = net_buf_linearize(sock_data->recv_buf, sock_data->recv_buf_len, in on_cmd_sockread_common() 1653 sock_data.recv_buf = buf; in offload_recvfrom()
|
/Zephyr-Core-3.4.0/subsys/canbus/isotp/ |
D | isotp.c | 693 if (!ctx->recv_buf) { in isotp_recv() 694 ctx->recv_buf = net_buf_get(&ctx->fifo, timeout); in isotp_recv() 695 if (!ctx->recv_buf) { in isotp_recv() 705 while (ctx->recv_buf && copied < len) { in isotp_recv() 706 to_copy = MIN(len - copied, ctx->recv_buf->len); in isotp_recv() 707 memcpy((uint8_t *)data + copied, ctx->recv_buf->data, to_copy); in isotp_recv() 709 if (ctx->recv_buf->len == to_copy) { in isotp_recv() 711 ctx->recv_buf = net_buf_frag_del(NULL, ctx->recv_buf); in isotp_recv() 714 net_buf_pull(ctx->recv_buf, to_copy); in isotp_recv()
|
/Zephyr-Core-3.4.0/subsys/net/lib/coap/ |
D | coap_client.c | 457 memset(client->recv_buf, 0, sizeof(client->recv_buf)); in recv_response() 458 len = receive(client->fd, client->recv_buf, sizeof(client->recv_buf), MSG_DONTWAIT, in recv_response() 471 ret = coap_packet_parse(response, client->recv_buf, len, NULL, 0); in recv_response()
|
/Zephyr-Core-3.4.0/samples/net/cloud/tagoio_http_post/src/ |
D | sockets.c | 117 req.recv_buf = ctx->resp; in tagoio_http_push()
|
/Zephyr-Core-3.4.0/tests/net/socket/getaddrinfo/src/ |
D | main.c | 29 static uint8_t recv_buf[MAX_BUF_SIZE]; variable 141 recv_buf, sizeof(recv_buf), 0, in process_dns() 152 ret = check_dns_query(recv_buf, in process_dns() 153 sizeof(recv_buf)); in process_dns()
|
/Zephyr-Core-3.4.0/samples/net/sockets/txtime/src/ |
D | main.c | 132 static uint8_t recv_buf[sizeof(txtime_str)]; in rx() local 138 len += recvfrom(data->sock, recv_buf, sizeof(recv_buf), 0, in rx()
|
/Zephyr-Core-3.4.0/include/zephyr/canbus/ |
D | isotp.h | 411 struct net_buf *recv_buf; member
|
/Zephyr-Core-3.4.0/drivers/smbus/ |
D | intel_pch_smbus.c | 869 uint8_t *recv_count, uint8_t *recv_buf) in pch_smbus_block_pcall() argument 906 recv_buf[i] = pch_reg_read(dev, PCH_SMBUS_HBD); in pch_smbus_block_pcall()
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/ |
D | smbus.h | 367 uint8_t *recv_count, uint8_t *recv_buf);
|