MSG_EOR
} while ((msg.msg_flags & MSG_NOTIFICATION) && (msg.msg_flags & MSG_EOR)
if (ret > 0 && !(msg.msg_flags & MSG_EOR)) {
if ((msg.msg_flags & (MSG_EOR | MSG_CTRUNC)) != MSG_EOR) {
#ifdef MSG_EOR
#ifdef MSG_EOR
flags = MSG_EOR;
ret_flags |= MSG_EOR;
flags = *flagsp &~ MSG_EOR;
if (flags & MSG_EOR)
(M_PKTHDR | ((flags & MSG_EOR) ? M_EOR : 0)));
if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) {
if (flags & MSG_EOR)
((flags & MSG_EOR) ? M_EOR : 0));
((flags & MSG_EOR) ? M_EOR : 0));
flags = *flagsp &~ MSG_EOR;
flags |= MSG_EOR;
if (flags & MSG_EOR)
(flags & MSG_EOR) == 0 && (so->so_rcv.sb_state & SBS_CANTRCVMORE) == 0) {
flags = *flagsp & ~MSG_EOR;
flags = *flagsp &~ MSG_EOR;
eor = flags & MSG_EOR;
flags |= MSG_EOR;
if (waitall && !(flags & MSG_EOR) && uio->uio_resid > 0)
if (flags & MSG_EOR) {
if (flags & MSG_EOR) {
out_flags |= MSG_EOR;
if ((control->end_added) && ((out_flags & MSG_EOR) == 0)) {
if ((out_flags & MSG_EOR) || (uio->uio_resid == 0)) {
if ((out_flags & MSG_EOR) && ((in_flags & MSG_PEEK) == 0)) {
out_flags &= ~MSG_EOR;
if (out_flags & MSG_EOR) {
out_flags |= MSG_EOR;
out_flags |= MSG_EOR;
out_flags |= MSG_EOR;
if (out_flags & MSG_EOR) {
if (((out_flags & MSG_EOR) == 0) &&
if (resid < 0 || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) {
if (flags & MSG_EOR)
((flags & MSG_EOR) ? M_EOR : 0));
flags = *flagsp &~ MSG_EOR;
ATF_REQUIRE((msg.msg_flags & (MSG_EOR | MSG_CTRUNC)) == MSG_EOR);
ssize = send(sv[0], sndbuf, pktsize, MSG_EOR);
flags = MSG_EOR;
if (waitall && !(hdr.msg_flags & MSG_EOR))
ATF_REQUIRE_MSG(hdr.msg_flags & MSG_EOR,
ATF_REQUIRE_MSG(!(hdr.msg_flags & MSG_EOR),
(hdr.msg_flags & MSG_EOR) ? " EOR" : "",
send(fd, buf, sizeof(buf), MSG_EOR));
ssize = send(sv[0], sndbuf, pktsize, MSG_EOR);
ssize = send(sv[0], sndbuf, pktsize, MSG_EOR);
ssize = send(sv[0], sndbuf, pktsize, MSG_EOR);
ssize = send(td->so, sndbuf, td->pktsize, MSG_EOR);
ssize = send(sv[0], data, datalen, MSG_EOR);
ssize = sendto(sv[0], data, datalen, MSG_EOR, NULL, 0);
ssize = send(sv[0], data, datalen, MSG_EOR);
ssize = send(s2, data, datalen, MSG_EOR | MSG_NOSIGNAL);
(void)send(s2, data, datalen, MSG_EOR);
ssize = send(sv[0], data, datalen, MSG_EOR);
return (sendmsg(priv->s, &hdr, MSG_EOR));
n = send(priv->sock, buf, len, MSG_EOR);