MSG_PEEK
rlen = recvmsg(xprt->xp_sock, &dummy, MSG_PEEK);
rv = recvfrom(s, buf, plen, MSG_PEEK,
n = recvmsg(b->num, &msg, MSG_PEEK);
n = recvmsg(b->num, &msg, MSG_PEEK);
n = recvmsg(b->num, &msg, MSG_PEEK);
flags = MSG_PEEK;
MSG_PEEK) != sizeof(struct nlmsghdr))
MSG_PEEK | MSG_DONTWAIT) == sizeof(struct nlmsghdr))
while ((len = recv(so, (caddr_t)&buf, sizeof(buf), MSG_PEEK)) < 0) {
if ((l = recv(so, rbuf, sizeof(*base), MSG_PEEK)) < 0) {
ret_flags |= MSG_PEEK;
if (flags & MSG_PEEK)
flags = MSG_DONTWAIT | MSG_PEEK;
error = pr->pr_rcvoob(so, m, flags & MSG_PEEK);
if ((flags & MSG_PEEK) == 0) {
if (flags & MSG_PEEK) {
if (flags & MSG_PEEK) {
if ((flags & MSG_PEEK) == 0)
if ((flags & MSG_PEEK) == 0) {
if ((flags & MSG_PEEK) == 0) {
((flags & MSG_PEEK) == 0))
if (flags & MSG_PEEK) {
if (flags & MSG_PEEK)
if ((flags & MSG_PEEK) == 0) {
if ((flags & MSG_PEEK) == 0)
if ((flags & MSG_PEEK) == 0) {
if (!(flags & MSG_PEEK))
if (!(flags & MSG_PEEK) && len >= sb->sb_mb->m_len) {
if (!(flags & MSG_PEEK)) {
if (mp0 != NULL || (flags & (MSG_PEEK | MSG_OOB | MSG_TRUNC)))
peek = flags & MSG_PEEK;
if (!(flags & MSG_PEEK))
if (__predict_false(flags & MSG_PEEK))
if (in_flags & MSG_PEEK)
if ((in_flags & MSG_PEEK) && (mp != NULL)) {
if ((in_flags & MSG_PEEK) == 0)
if ((in_flags & MSG_PEEK) == 0) {
if (in_flags & MSG_PEEK) {
if ((in_flags & MSG_PEEK) == 0) {
if (((stcb) && (in_flags & MSG_PEEK) == 0) &&
if ((out_flags & MSG_EOR) && ((in_flags & MSG_PEEK) == 0)) {
if (((stcb) && (in_flags & MSG_PEEK) == 0) &&
if ((stcb) && (in_flags & MSG_PEEK) == 0) {
((in_flags & MSG_PEEK) == 0) &&
if ((flags & MSG_PEEK) == 0)
peek = flags & MSG_PEEK;
error = pr->pr_rcvoob(so, m, flags & MSG_PEEK);
if (!(flags & MSG_PEEK))
if (!(flags & MSG_PEEK) && len >= sb->sb_mb->m_len) {
if (!(flags & MSG_PEEK)) {
if ((flags & MSG_PEEK) == 0)
rc = recv(ss, NULL, 0, MSG_PEEK | MSG_TRUNC);
rc = recv(ss, tbuf, sizeof(tbuf), MSG_PEEK | MSG_TRUNC);
ATF_REQUIRE(recv(fd[1], buf, maxdgram, MSG_PEEK) == (ssize_t)maxdgram);
ATF_REQUIRE(recvmsg(fd[1], &msg, MSG_PEEK) == 42);
ATF_REQUIRE(msg.msg_flags == (MSG_PEEK | MSG_TRUNC));
ATF_REQUIRE(recv(one, buf, sizeof(buf), MSG_PEEK) == sizeof(buf));
ATF_REQUIRE(recv(one, buf, sizeof(buf), MSG_PEEK) == sizeof(buf));
ATF_REQUIRE(recv(one, buf, sizeof(buf), MSG_PEEK) == 42);
ATF_REQUIRE(1 == recvmsg(fd[1], &msghdr, MSG_PEEK));
MSG_PEEK | MSG_DONTWAIT)) == -1)
ATF_REQUIRE(recvmsg(s[0], &msg, MSG_PEEK) == (ssize_t)n);
ATF_REQUIRE(msg.msg_flags == (MSG_PEEK | MSG_TRUNC));
ATF_REQUIRE(msg.msg_flags == MSG_PEEK);
ss = recv(fd, buf, 0, MSG_WAITALL | MSG_PEEK | MSG_TRUNC);
ATF_REQUIRE(recv(fd, buf, sizeof(hdr), MSG_WAITALL | MSG_PEEK) ==
ss = recvmsg(fd, &msg, MSG_WAITALL | MSG_PEEK | MSG_TRUNC);
ATF_REQUIRE(recv(fd, buf, sizeof(hdr), MSG_WAITALL | MSG_PEEK) ==
n = recv(priv->s, priv->buf, priv->mtu, MSG_PEEK | MSG_DONTWAIT);
MSG_PEEK,