Searched refs:SHUT_WR (Results 1 - 20 of 20) sorted by relevance

/freebsd-10.0-release/tools/regression/poll/
H A Dsockpoll.c132 /* With shutdown(SHUT_WR) */
134 if (shutdown(fd[0], SHUT_WR) == -1)
138 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents);
141 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents);
162 if (shutdown(fd[1], SHUT_WR) == -1)
178 * Note that shutdown(SHUT_WR) is passed to the peer, but
190 if (shutdown(fd[0], SHUT_WR) == -1)
194 report(num++, "after shutdown(SHUT_WR)", POLLHUP, pfd0.revents);
197 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents);
/freebsd-10.0-release/tools/regression/sockets/sigpipe/
H A Dsigpipe.c123 if (shutdown(sock2, SHUT_WR) < 0)
142 if (shutdown(sock2, SHUT_WR) < 0)
157 if (shutdown(sock2, SHUT_WR) < 0)
176 if (shutdown(sock2, SHUT_WR) < 0)
/freebsd-10.0-release/tools/regression/sockets/shutdown/
H A Dshutdown.c100 if (shutdown(connect_sock, SHUT_WR) < 0)
101 errx(-1, "shutdown(SHUT_WR) for connect socket: %s",
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Droken-common.h267 #ifndef SHUT_WR
268 #define SHUT_WR 1 macro
/freebsd-10.0-release/usr.bin/rsh/
H A Drsh.c225 (void)shutdown(rem, SHUT_WR);
280 (void)shutdown(rem, SHUT_WR);
/freebsd-10.0-release/crypto/openssh/
H A Ddefines.h37 SHUT_WR, /* No more transmissions. */ enumerator in enum:__anon4935
41 # define SHUT_WR SHUT_WR macro
H A Dnchan.c496 if (shutdown(c->sock, SHUT_WR) < 0)
H A Dserverloop.c491 shutdown(fdin, SHUT_WR); /* We will no longer send. */
651 shutdown(fdin, SHUT_WR); /* We will no longer send. */
/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/
H A Dproto_common.c206 if (shutdown(sock, SHUT_WR) == -1)
/freebsd-10.0-release/sbin/hastd/
H A Dproto_common.c205 if (shutdown(sock, SHUT_WR) == -1)
/freebsd-10.0-release/sys/sys/
H A Dsocket.h556 #define SHUT_WR 1 /* shut down the writing side */ macro
563 #define PRU_FLUSH_WR SHUT_WR
/freebsd-10.0-release/bin/cat/
H A Dcat.c336 if (shutdown(fd, SHUT_WR) == -1)
/freebsd-10.0-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_cm.c301 soshutdown(epc->so, SHUT_WR|SHUT_RD);
309 soshutdown(epc->so, SHUT_WR);
/freebsd-10.0-release/contrib/netcat/
H A Dnetcat.c842 shutdown(nfd, SHUT_WR);
/freebsd-10.0-release/crypto/heimdal/appl/rsh/
H A Drsh.c145 shutdown (s, SHUT_WR);
/freebsd-10.0-release/sys/rpc/
H A Dclnt_vc.c820 soshutdown(so, SHUT_WR);
/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c240 rc = soshutdown(so, SHUT_WR | SHUT_RD);
253 return (soshutdown(epc->so, SHUT_WR));
/freebsd-10.0-release/usr.bin/truss/
H A Dsyscalls.c367 X(SHUT_RD) X(SHUT_WR) X(SHUT_RDWR) XEND
/freebsd-10.0-release/sys/kern/
H A Duipc_socket.c2255 if (!(how == SHUT_RD || how == SHUT_WR || how == SHUT_RDWR))
2261 if (how != SHUT_WR)
/freebsd-10.0-release/sbin/dhclient/
H A Ddhclient.c495 if (shutdown(routefd, SHUT_WR) < 0)

Completed in 216 milliseconds