Searched refs:MSG_PEEK (Results 1 – 16 of 16) sorted by relevance
1238 if (!(flags & MSG_PEEK)) in tcp_recv_urg()1502 if (flags & MSG_PEEK) { in tcp_recvmsg()1545 BUG_TRAP(flags&MSG_PEEK); in tcp_recvmsg()1560 (flags & MSG_PEEK)) in tcp_recvmsg()1600 if (user_recv == NULL && !(flags&(MSG_TRUNC|MSG_PEEK))) { in tcp_recvmsg()1608 BUG_TRAP(tp->copied_seq == tp->rcv_nxt || (flags&(MSG_PEEK|MSG_TRUNC))); in tcp_recvmsg()1673 if ((flags & MSG_PEEK) && peek_seq != tp->copied_seq) { in tcp_recvmsg()1730 if (!(flags & MSG_PEEK)) in tcp_recvmsg()1737 if (!(flags & MSG_PEEK)) in tcp_recvmsg()
765 if (flags&MSG_PEEK) { in udp_recvmsg()
204 len = sock_recvmsg(Request->sock,&msg,4095,MSG_PEEK); in DecodeHeader()
223 #define MSG_PEEK 2 macro
175 int fl = flags & (MSG_OOB|MSG_PEEK|MSG_DONTROUTE); in solaris_to_linux_msgflags()187 int fl = flags & (MSG_OOB|MSG_PEEK|MSG_DONTROUTE); in linux_to_solaris_msgflags()
155 if (flags & MSG_PEEK) in skb_recv_datagram()
1741 if (flags & ~(MSG_PEEK|MSG_OOB|MSG_WAITALL|MSG_DONTWAIT)) { in dn_recvmsg()1809 if (!(flags & MSG_PEEK)) in dn_recvmsg()1850 rv = (flags & MSG_PEEK) ? -sk->err : sock_error(sk); in dn_recvmsg()
192 MSG_PEEK | MSG_DONTWAIT); in do_ncp_rpc_call()
614 if (!(flags & MSG_PEEK)) { in rfcomm_sock_recvmsg()
133 MSG_PEEK | MSG_DONTWAIT); in smb_data_callback()
1436 if (!(flags & MSG_PEEK)) in unix_dgram_recvmsg()1599 if (!(flags & MSG_PEEK)) in unix_stream_recvmsg()
422 if (flags&MSG_PEEK) { in rawv6_recvmsg()
473 if (flags&MSG_PEEK) { in udpv6_recvmsg()
1562 if (flags & MSG_PEEK) in sctp_recvmsg()1580 if (flags & MSG_PEEK) { in sctp_recvmsg()4370 if (flags & MSG_PEEK) { in sctp_skb_recv_datagram()
1462 if (!(flags & MSG_PEEK)) { in irda_recvmsg_stream()
1042 if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC)) in packet_recvmsg()