Searched refs:ZSOCK_MSG_PEEK (Results 1 – 13 of 13) sorted by relevance
/Zephyr-Core-3.7.0/include/zephyr/posix/sys/ |
D | socket.h | 16 #define MSG_PEEK ZSOCK_MSG_PEEK
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | sockets_packet.c | 311 if (flags & ZSOCK_MSG_PEEK) { in zpacket_recvfrom_ctx() 349 !(flags & ZSOCK_MSG_PEEK)) { in zpacket_recvfrom_ctx() 353 if (!(flags & ZSOCK_MSG_PEEK)) { in zpacket_recvfrom_ctx()
|
D | sockets.c | 1457 if (flags & ZSOCK_MSG_PEEK) { in zsock_recv_dgram() 1600 !(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_dgram() 1604 if (!(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_dgram() 1613 if (!(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_dgram() 1631 const bool peek = (flags & ZSOCK_MSG_PEEK) == ZSOCK_MSG_PEEK; in zsock_recv_stream_immediate() 1825 if (!(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_stream()
|
D | sockets_can.c | 291 if (flags & ZSOCK_MSG_PEEK) { in zcan_recvfrom_ctx()
|
D | sockets_tls.c | 2929 if (flags & ZSOCK_MSG_PEEK) { in ztls_recvfrom_ctx()
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | socket.h | 67 #define ZSOCK_MSG_PEEK 0x02 macro 1056 #define MSG_PEEK ZSOCK_MSG_PEEK
|
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/ |
D | main.c | 95 ZSOCK_MSG_PEEK, &addr, &addrlen); in comm_sendto_recvfrom() 310 len = zsock_recv(sock1, buf, sizeof(buf), ZSOCK_MSG_PEEK); in ZTEST() 391 ZSOCK_MSG_PEEK, &addr, &addrlen); in comm_sendmsg_recvfrom() 1152 rv = zsock_recv(sock_s, str_buf, 2, ZSOCK_MSG_TRUNC | ZSOCK_MSG_PEEK); in test_msg_trunc() 1503 recved = zsock_recvmsg(server_sock, msg, ZSOCK_MSG_PEEK); in comm_sendmsg_recvmsg() 1576 recved = zsock_recvmsg(server_sock, msg, ZSOCK_MSG_PEEK); in comm_sendmsg_recvmsg() 1591 recved = zsock_recvmsg(server_sock, msg, ZSOCK_MSG_PEEK); in comm_sendmsg_recvmsg()
|
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/ |
D | main.c | 253 test_recv(new_sock, ZSOCK_MSG_PEEK); in ZTEST_USER() 288 test_recv(new_sock, ZSOCK_MSG_PEEK); in ZTEST_USER() 534 test_recv(new_sock, ZSOCK_MSG_PEEK); in ZTEST() 602 test_recvfrom(new_sock, ZSOCK_MSG_PEEK, &addr, &addrlen); in ZTEST_USER() 639 test_recvfrom(new_sock, ZSOCK_MSG_PEEK, &addr, &addrlen); in ZTEST_USER() 759 test_recvmsg(new_sock, &msg, ZSOCK_MSG_PEEK, strlen(TEST_STR_SMALL), in ZTEST_USER()
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | quectel-bg9x.c | 594 if (flags & ZSOCK_MSG_PEEK) { in offload_recvfrom()
|
D | ublox-sara-r4.c | 1620 if (flags & ZSOCK_MSG_PEEK) { in offload_recvfrom()
|
D | simcom-sim7080.c | 396 if (flags & ZSOCK_MSG_PEEK) { in offload_recvfrom()
|
/Zephyr-Core-3.7.0/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 876 if (flags & ZSOCK_MSG_PEEK) { in handle_recv_flags()
|
/Zephyr-Core-3.7.0/drivers/net/ |
D | nsos_sockets.c | 139 nsos_socket_flag_convert(&flags, ZSOCK_MSG_PEEK, in socket_flags_to_nsos_mid()
|