Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/
Dtcp.c1238 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()
Dudp.c765 if (flags&MSG_PEEK) { in udp_recvmsg()
/linux-2.4.37.9/net/khttpd/
Dwaitheaders.c204 len = sock_recvmsg(Request->sock,&msg,4095,MSG_PEEK); in DecodeHeader()
/linux-2.4.37.9/include/linux/
Dsocket.h223 #define MSG_PEEK 2 macro
/linux-2.4.37.9/arch/sparc64/solaris/
Dsocket.c175 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()
/linux-2.4.37.9/net/core/
Ddatagram.c155 if (flags & MSG_PEEK) in skb_recv_datagram()
/linux-2.4.37.9/net/decnet/
Daf_decnet.c1741 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()
/linux-2.4.37.9/fs/ncpfs/
Dsock.c192 MSG_PEEK | MSG_DONTWAIT); in do_ncp_rpc_call()
/linux-2.4.37.9/net/bluetooth/rfcomm/
Dsock.c614 if (!(flags & MSG_PEEK)) { in rfcomm_sock_recvmsg()
/linux-2.4.37.9/fs/smbfs/
Dsock.c133 MSG_PEEK | MSG_DONTWAIT); in smb_data_callback()
/linux-2.4.37.9/net/unix/
Daf_unix.c1436 if (!(flags & MSG_PEEK)) in unix_dgram_recvmsg()
1599 if (!(flags & MSG_PEEK)) in unix_stream_recvmsg()
/linux-2.4.37.9/net/ipv6/
Draw.c422 if (flags&MSG_PEEK) { in rawv6_recvmsg()
Dudp.c473 if (flags&MSG_PEEK) { in udpv6_recvmsg()
/linux-2.4.37.9/net/sctp/
Dsocket.c1562 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()
/linux-2.4.37.9/net/irda/
Daf_irda.c1462 if (!(flags & MSG_PEEK)) { in irda_recvmsg_stream()
/linux-2.4.37.9/net/packet/
Daf_packet.c1042 if (flags & ~(MSG_PEEK|MSG_DONTWAIT|MSG_TRUNC)) in packet_recvmsg()