Searched refs:recv_buffer (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/samples/net/sockets/packet/src/ |
D | packet.c | 35 char recv_buffer[RECV_BUFFER_SIZE]; member 102 received = recv(packet->recv_sock, packet->recv_buffer, in recv_packet_socket() 103 sizeof(packet->recv_buffer), 0); in recv_packet_socket() 198 static char recv_buffer[RECV_BUFFER_SIZE]; in send_packet_socket() local 200 ret = recv(packet->send_sock, recv_buffer, in send_packet_socket() 201 sizeof(recv_buffer), MSG_DONTWAIT); in send_packet_socket()
|
/Zephyr-latest/samples/net/sockets/http_server/src/ |
D | ws.c | 67 char recv_buffer[RECV_BUFFER_SIZE]; member 149 cfg->recv_buffer + offset, in ws_echo_handler() 150 sizeof(cfg->recv_buffer) - offset, in ws_echo_handler() 170 if (offset == sizeof(cfg->recv_buffer) || in ws_echo_handler() 171 (recv(client, cfg->recv_buffer + offset, in ws_echo_handler() 172 sizeof(cfg->recv_buffer) - offset, in ws_echo_handler() 176 ret = sendall(client, cfg->recv_buffer, offset); in ws_echo_handler()
|
/Zephyr-latest/samples/net/sockets/echo_server/src/ |
D | common.h | 42 char recv_buffer[RECV_BUFFER_SIZE]; member 55 char recv_buffer[RECV_BUFFER_SIZE]; member
|
D | tcp.c | 151 data->tcp.accepted[slot].recv_buffer + offset, in handle_data() 152 sizeof(data->tcp.accepted[slot].recv_buffer) - offset, in handle_data() 174 if (offset == sizeof(data->tcp.accepted[slot].recv_buffer) || in handle_data() 176 data->tcp.accepted[slot].recv_buffer + offset, in handle_data() 177 sizeof(data->tcp.accepted[slot].recv_buffer) - in handle_data() 183 data->tcp.accepted[slot].recv_buffer, in handle_data()
|
D | udp.c | 119 received = recvfrom(data->udp.sock, data->udp.recv_buffer, in process_udp() 120 sizeof(data->udp.recv_buffer), 0, in process_udp() 133 ret = sendto(data->udp.sock, data->udp.recv_buffer, received, 0, in process_udp()
|
/Zephyr-latest/samples/net/dsa/src/ |
D | dsa_lldp.c | 155 (struct net_eth_hdr *) pd->recv_buffer; in dsa_lldp_recv() 156 uint8_t *lldp_p = &pd->recv_buffer[sizeof(struct net_eth_hdr)]; in dsa_lldp_recv() 162 received = recv(pd->sock, pd->recv_buffer, in dsa_lldp_recv() 163 sizeof(pd->recv_buffer), 0); in dsa_lldp_recv()
|
D | main.h | 39 char recv_buffer[RECV_BUFFER_SIZE]; member
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp_udp.c | 54 char recv_buffer[CONFIG_MCUMGR_TRANSPORT_UDP_MTU]; member 245 int len = zsock_recvfrom(conf->sock, conf->recv_buffer, in smp_udp_receive_thread() 259 net_buf_add_mem(nb, conf->recv_buffer, len); in smp_udp_receive_thread()
|
/Zephyr-latest/tests/net/socket/websocket/src/ |
D | main.c | 51 uint8_t *recv_buffer, size_t recv_len) in test_recv_buf() argument 63 ret = websocket_recv_msg(fd, recv_buffer, recv_len, in test_recv_buf()
|