MSG_EOR
struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_EOR };
rv = siw_sendmsg(s, MSG_DONTWAIT | MSG_EOR, &iov[seg],
rv = siw_sendmsg(s, MSG_DONTWAIT | MSG_EOR, iov, seg + 1,
msg.msg_flags |= MSG_EOR;
msg.msg_flags |= MSG_EOR;
msg.msg_flags |= MSG_EOR;
msg.msg_flags |= MSG_EOR;
msg.msg_flags |= MSG_EOR;
msg.msg_flags |= MSG_EOR;
if (flags & (MSG_CONFIRM|MSG_DONTROUTE|MSG_EOR|MSG_OOB))
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT))
msg.msg_flags |= MSG_EOR; /* superfluous, but what the hell */
if (unlikely(flags & MSG_EOR))
msg->msg_flags |= MSG_EOR;
if (sk->sk_type == SOCK_SEQPACKET && !(msg->msg_flags & MSG_EOR))
msg->msg_flags |= MSG_EOR;
!(msg->msg_flags & MSG_MORE) : !!(msg->msg_flags & MSG_EOR);
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT))
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|
if ((msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_NOSIGNAL|
!(msg->msg_flags & MSG_EOR))
msg->msg_flags |= MSG_EOR;
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_EOR|MSG_CMSG_COMPAT))
msg->msg_flags |= MSG_EOR;
msg->msg_flags &= ~MSG_EOR;
(event->msg_flags & MSG_EOR))
msg->msg_flags |= MSG_EOR;
msg->msg_flags &= ~MSG_EOR;
retval->msg_flags |= MSG_EOR;
retval->msg_flags |= MSG_EOR;
event->msg_flags |= MSG_EOR;
retval->msg_flags |= MSG_EOR;
retval->msg_flags |= MSG_EOR;
event->msg_flags |= MSG_EOR;
if (event->msg_flags & MSG_EOR)
event_eor = (event->msg_flags & MSG_EOR) ? 1 : 0;
if (event->msg_flags & MSG_EOR)
event_eor = (event->msg_flags & MSG_EOR) ? 1 : 0;
clear_pd = event->msg_flags & MSG_EOR;
retval->msg_flags |= MSG_EOR;
retval->msg_flags |= MSG_EOR;
event->msg_flags |= MSG_EOR;
if (event->msg_flags & MSG_EOR)
msg.msg_flags |= MSG_EOR;
&msg_sys, flags, &used_address, MSG_EOR);
&msg_sys, flags, &used_address, MSG_EOR);
msg->msg_flags &= ~MSG_EOR;
msg->msg_flags &= ~(MSG_CTRUNC | MSG_EOR);
*msg_flags &= ~MSG_EOR;
msg->msg_flags &= ~(MSG_CTRUNC | MSG_EOR);
if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC))
if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC))
if (offset == count || msg->msg_flags & (MSG_EOR|MSG_TRUNC))
msg->msg_flags |= MSG_EOR;
if (msg->msg_flags & (MSG_EOR|MSG_TRUNC))
if (msg->msg_flags & (MSG_EOR|MSG_TRUNC))
if (flags & MSG_EOR) {
if (flags & MSG_EOR)
m->msg_flags |= MSG_EOR;
m->msg_flags |= MSG_EOR;
MSG_SPLICE_PAGES | MSG_EOR))
if ((flags & (MSG_MORE | MSG_EOR)) == (MSG_MORE | MSG_EOR))
if (!eor && (msg->msg_flags & MSG_EOR))
MSG_CMSG_COMPAT | MSG_SPLICE_PAGES | MSG_EOR |
msg->msg_flags |= MSG_EOR;
msg->msg_flags |= MSG_EOR;
if (info->msg->msg_flags & MSG_EOR)
msg->msg_flags |= MSG_EOR;
msg->msg_flags |= MSG_EOR;
if (msg->msg_flags & ~(MSG_DONTWAIT|MSG_OOB|MSG_EOR|MSG_CMSG_COMPAT))
if (!(msg->msg_flags & (MSG_EOR|MSG_OOB)))
msg->msg_flags |= MSG_EOR;
err = send(accept_fd, DATA, DATA_LEN, MSG_EOR);
MSG_EOR);
ASSERT_EQ(send(cfd, tx + tx_partial, sizeof(tx) - tx_partial, MSG_EOR),
EXPECT_EQ(send(self->fd, test_str, send_len, MSG_EOR), send_len);
flags = MSG_EOR;
if (msg.msg_flags & MSG_EOR)