Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/posix/sys/
Dsocket.h16 #define MSG_PEEK ZSOCK_MSG_PEEK
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_packet.c311 if (flags & ZSOCK_MSG_PEEK) { in zpacket_recvfrom_ctx()
350 !(flags & ZSOCK_MSG_PEEK)) { in zpacket_recvfrom_ctx()
354 if (!(flags & ZSOCK_MSG_PEEK)) { in zpacket_recvfrom_ctx()
Dsockets_inet.c1078 if (flags & ZSOCK_MSG_PEEK) { in zsock_recv_dgram()
1222 !(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_dgram()
1226 if (!(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_dgram()
1235 if (!(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_dgram()
1253 const bool peek = (flags & ZSOCK_MSG_PEEK) == ZSOCK_MSG_PEEK; in zsock_recv_stream_immediate()
1448 if (!(flags & ZSOCK_MSG_PEEK)) { in zsock_recv_stream()
Dsockets_can.c291 if (flags & ZSOCK_MSG_PEEK) { in zcan_recvfrom_ctx()
Dsockets_tls.c2949 if (flags & ZSOCK_MSG_PEEK) { in ztls_recvfrom_ctx()
/Zephyr-latest/include/zephyr/net/
Dsocket.h67 #define ZSOCK_MSG_PEEK 0x02 macro
/Zephyr-latest/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-latest/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()
1157 rv = zsock_recv(sock_s, str_buf, 2, ZSOCK_MSG_TRUNC | ZSOCK_MSG_PEEK); in test_msg_trunc()
1509 recved = zsock_recvmsg(server_sock, msg, ZSOCK_MSG_PEEK); in comm_sendmsg_recvmsg()
1583 recved = zsock_recvmsg(server_sock, msg, ZSOCK_MSG_PEEK); in comm_sendmsg_recvmsg()
1598 recved = zsock_recvmsg(server_sock, msg, ZSOCK_MSG_PEEK); in comm_sendmsg_recvmsg()
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_sockets.c876 if (flags & ZSOCK_MSG_PEEK) { in handle_recv_flags()
/Zephyr-latest/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-latest/drivers/net/
Dnsos_sockets.c148 nsos_socket_flag_convert(&flags, ZSOCK_MSG_PEEK, in socket_flags_to_nsos_mid()