Home
last modified time | relevance | path

Searched refs:ZSOCK_MSG_PEEK (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/posix/sys/
Dsocket.h16 #define MSG_PEEK ZSOCK_MSG_PEEK
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/
Dsockets_packet.c311 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()
Dsockets.c1457 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()
Dsockets_can.c291 if (flags & ZSOCK_MSG_PEEK) { in zcan_recvfrom_ctx()
Dsockets_tls.c2929 if (flags & ZSOCK_MSG_PEEK) { in ztls_recvfrom_ctx()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dsocket.h67 #define ZSOCK_MSG_PEEK 0x02 macro
1056 #define MSG_PEEK ZSOCK_MSG_PEEK
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/
Dmain.c95 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/
Dmain.c253 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/
Dquectel-bg9x.c594 if (flags & ZSOCK_MSG_PEEK) { in offload_recvfrom()
Dublox-sara-r4.c1620 if (flags & ZSOCK_MSG_PEEK) { in offload_recvfrom()
Dsimcom-sim7080.c396 if (flags & ZSOCK_MSG_PEEK) { in offload_recvfrom()
/Zephyr-Core-3.7.0/drivers/wifi/simplelink/
Dsimplelink_sockets.c876 if (flags & ZSOCK_MSG_PEEK) { in handle_recv_flags()
/Zephyr-Core-3.7.0/drivers/net/
Dnsos_sockets.c139 nsos_socket_flag_convert(&flags, ZSOCK_MSG_PEEK, in socket_flags_to_nsos_mid()