Searched refs:recv_buffer (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.5.0/samples/net/sockets/packet/src/ |
D | packet.c | 34 char recv_buffer[RECV_BUFFER_SIZE]; member 124 received = recv(packet->recv_sock, packet->recv_buffer, in recv_packet_socket() 125 sizeof(packet->recv_buffer), 0); in recv_packet_socket() 220 static char recv_buffer[RECV_BUFFER_SIZE]; in send_packet_socket() local 222 ret = recv(packet->send_sock, recv_buffer, in send_packet_socket() 223 sizeof(recv_buffer), MSG_DONTWAIT); in send_packet_socket()
|
/Zephyr-Core-3.5.0/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 | 134 data->tcp.accepted[slot].recv_buffer + offset, in handle_data() 135 sizeof(data->tcp.accepted[slot].recv_buffer) - offset, in handle_data() 157 if (offset == sizeof(data->tcp.accepted[slot].recv_buffer) || in handle_data() 159 data->tcp.accepted[slot].recv_buffer + offset, in handle_data() 160 sizeof(data->tcp.accepted[slot].recv_buffer) - in handle_data() 166 data->tcp.accepted[slot].recv_buffer, in handle_data()
|
D | udp.c | 102 received = recvfrom(data->udp.sock, data->udp.recv_buffer, in process_udp() 103 sizeof(data->udp.recv_buffer), 0, in process_udp() 116 ret = sendto(data->udp.sock, data->udp.recv_buffer, received, 0, in process_udp()
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/subsys/mgmt/mcumgr/transport/src/ |
D | smp_udp.c | 61 char recv_buffer[CONFIG_MCUMGR_TRANSPORT_UDP_MTU]; member 252 int len = recvfrom(conf->sock, conf->recv_buffer, in smp_udp_receive_thread() 267 net_buf_add_mem(nb, conf->recv_buffer, len); in smp_udp_receive_thread()
|
/Zephyr-Core-3.5.0/tests/net/socket/websocket/src/ |
D | main.c | 70 uint8_t *recv_buffer, size_t recv_len) in test_recv_buf() argument 82 ret = websocket_recv_msg(fd, recv_buffer, recv_len, in test_recv_buf()
|