Home
last modified time | relevance | path

Searched refs:MSG_PEEK (Results 1 – 25 of 47) sorted by relevance

12

/kernel/linux/linux-5.10/net/rxrpc/
Drecvmsg.c399 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg_data()
453 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg_data()
468 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg_data()
549 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg()
624 if (!(flags & MSG_PEEK)) in rxrpc_recvmsg()
643 if (!(flags & MSG_PEEK)) { in rxrpc_recvmsg()
/kernel/linux/linux-5.10/net/smc/
Dsmc_rx.c231 if (!(flags & MSG_PEEK)) in smc_rx_recv_urg()
245 if (!(flags & MSG_PEEK)) in smc_rx_recv_urg()
424 if (!(flags & MSG_PEEK)) { in smc_rx_recvmsg()
/kernel/linux/linux-5.10/net/core/
Ddatagram.c177 if (unlikely(flags & MSG_PEEK && *off >= 0)) { in __skb_try_recv_from_queue()
184 if (flags & MSG_PEEK) { in __skb_try_recv_from_queue()
357 if (flags & MSG_PEEK) { in __sk_queue_drop_skb()
/kernel/linux/linux-5.10/net/llc/
Daf_llc.c778 if (flags & MSG_PEEK) { in llc_ui_recvmsg()
818 (flags & MSG_PEEK)) in llc_ui_recvmsg()
854 if ((flags & MSG_PEEK) && peek_seq != llc->copied_seq) { in llc_ui_recvmsg()
886 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg()
908 if (!(flags & MSG_PEEK)) { in llc_ui_recvmsg()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtls.c682 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F()
699 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F()
723 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F()
750 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F()
773 MSG_PEEK | MSG_WAITALL)), -1); in TEST_F()
1145 EXPECT_EQ(recvmsg(self->cfd, &msg, MSG_WAITALL | MSG_PEEK), send_len); in TEST_F()
/kernel/linux/linux-5.10/net/phonet/
Ddatagram.c122 if (flags & ~(MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_NOSIGNAL| in pn_recvmsg()
Dpep.c1246 if (flags & ~(MSG_OOB|MSG_PEEK|MSG_TRUNC|MSG_DONTWAIT|MSG_WAITALL| in pep_recvmsg()
1257 if (flags & MSG_PEEK) in pep_recvmsg()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dsocket.h184 #define MSG_PEEK 0x0002 macro
/kernel/linux/linux-5.10/tools/testing/vsock/
Dvsock_test.c277 recv_byte(fd, 1, MSG_PEEK); in test_stream_msg_peek_server()
/kernel/linux/linux-5.10/include/linux/
Dsocket.h288 #define MSG_PEEK 2 macro
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h287 #define MSG_PEEK 2 macro
/kernel/linux/linux-5.10/net/atm/
Dcommon.c534 if (flags & ~(MSG_DONTWAIT | MSG_PEEK)) in vcc_recvmsg()
558 if (!(flags & MSG_PEEK)) { in vcc_recvmsg()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp.c1476 if (!(flags & MSG_PEEK)) in tcp_recv_urg()
2132 if (!(flags & MSG_PEEK)) in tcp_recvmsg()
2146 if (flags & MSG_PEEK) { in tcp_recvmsg()
2189 WARN(!(flags & MSG_PEEK), in tcp_recvmsg()
2247 if ((flags & MSG_PEEK) && in tcp_recvmsg()
2312 if (!(flags & MSG_PEEK)) in tcp_recvmsg()
2319 if (!(flags & MSG_PEEK)) in tcp_recvmsg()
Dtcp_bpf.c17 int peek = flags & MSG_PEEK; in __tcp_bpf_recvmsg()
/kernel/linux/linux-5.10/net/dccp/
Dproto.c835 if (!(flags & MSG_PEEK)) in dccp_recvmsg()
902 if (!(flags & MSG_PEEK)) in dccp_recvmsg()
/kernel/linux/linux-5.10/net/nfc/
Dllcp_sock.c862 if (!(flags & MSG_PEEK)) in llcp_sock_recvmsg()
886 if (!(flags & MSG_PEEK)) { in llcp_sock_recvmsg()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip.c1705 WARN(!(flags & MSG_PEEK), in tcp_nip_recvmsg()
1790 if (!(flags & MSG_PEEK)) in tcp_nip_recvmsg()
1797 if (!(flags & MSG_PEEK)) in tcp_nip_recvmsg()
/kernel/linux/linux-5.10/net/decnet/
Daf_decnet.c1700 if (flags & ~(MSG_CMSG_COMPAT|MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT|MSG_NOSIGNAL)) { in dn_recvmsg()
1767 if (!(flags & MSG_PEEK)) in dn_recvmsg()
1807 rv = (flags & MSG_PEEK) ? -sk->sk_err : sock_error(sk); in dn_recvmsg()
/kernel/linux/linux-5.10/net/bluetooth/
Daf_bluetooth.c395 if (!(flags & MSG_PEEK)) { in bt_sock_stream_recvmsg()
/kernel/linux/linux-5.10/net/vmw_vsock/
Dhyperv_transport.c595 if (flags & MSG_PEEK) in hvs_stream_dequeue()
Daf_vsock.c1980 !(flags & MSG_PEEK), &recv_data); in vsock_stream_recvmsg()
1984 if (read >= target || flags & MSG_PEEK) in vsock_stream_recvmsg()
/kernel/linux/linux-5.10/net/iucv/
Daf_iucv.c1276 if (!(flags & MSG_PEEK)) in iucv_sock_recvmsg()
1296 if (!(flags & MSG_PEEK)) in iucv_sock_recvmsg()
1302 if (!(flags & MSG_PEEK)) { in iucv_sock_recvmsg()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c2171 if (!(flags & MSG_PEEK)) in unix_dgram_recvmsg()
2219 if (!(flags & MSG_PEEK)) { in unix_dgram_recvmsg()
2462 if (!(flags & MSG_PEEK)) { in unix_stream_read_generic()
/kernel/linux/linux-5.10/net/rds/
Drecv.c701 if (!rds_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) { in rds_recvmsg()
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dsocket.c148 if (flags & MSG_PEEK) in mISDN_sock_recvmsg()

12