Searched refs:ZSOCK_MSG_PEEK (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/include/zephyr/posix/sys/ |
D | socket.h | 16 #define MSG_PEEK ZSOCK_MSG_PEEK
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_packet.c | 311 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()
|
D | sockets_inet.c | 1078 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()
|
D | sockets_can.c | 291 if (flags & ZSOCK_MSG_PEEK) { in zcan_recvfrom_ctx()
|
D | sockets_tls.c | 2949 if (flags & ZSOCK_MSG_PEEK) { in ztls_recvfrom_ctx()
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 67 #define ZSOCK_MSG_PEEK 0x02 macro
|
/Zephyr-latest/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-latest/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() 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/ |
D | simplelink_sockets.c | 876 if (flags & ZSOCK_MSG_PEEK) { in handle_recv_flags()
|
/Zephyr-latest/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-latest/drivers/net/ |
D | nsos_sockets.c | 148 nsos_socket_flag_convert(&flags, ZSOCK_MSG_PEEK, in socket_flags_to_nsos_mid()
|