Searched refs:SHUT_RD (Results 1 - 22 of 22) sorted by relevance

/freebsd-10.0-release/tools/regression/sockets/unix_sorflush/
H A Dunix_sorflush.c65 if (shutdown(s, SHUT_RD) < 0)
/freebsd-10.0-release/tools/regression/sockets/shutdown/
H A Dshutdown.c92 if ((shutdown(connect_sock, SHUT_RD - 1) != -1) && (errno != EINVAL))
93 errx(-1, "shutdown(SHUT_RD - 1) does not return EINVAL");
97 if (shutdown(connect_sock, SHUT_RD) < 0)
98 errx(-1, "shutdown(SHUT_RD) for connect socket: %s",
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Droken-common.h263 #ifndef SHUT_RD
264 #define SHUT_RD 0 macro
/freebsd-10.0-release/crypto/openssh/
H A Ddefines.h36 SHUT_RD = 0, /* No more receptions. */ enumerator in enum:__anon4935
40 # define SHUT_RD SHUT_RD macro
H A Dnchan.c519 if (shutdown(c->sock, SHUT_RD) < 0
/freebsd-10.0-release/contrib/openbsm/bin/auditdistd/
H A Dproto_common.c107 if (shutdown(sock, SHUT_RD) == -1)
/freebsd-10.0-release/sbin/hastd/
H A Dproto_common.c106 if (shutdown(sock, SHUT_RD) == -1)
/freebsd-10.0-release/tools/regression/poll/
H A Dsockpoll.c177 * With shutdown(SHUT_RD)
179 * shutdown(SHUT_RD) is not.
182 if (shutdown(fd[0], SHUT_RD) == -1)
186 report(num++, "after shutdown(SHUT_RD)", POLLIN | POLLOUT, pfd0.revents);
189 report(num++, "other side after shutdown(SHUT_RD)", POLLOUT, pfd1.revents);
/freebsd-10.0-release/sys/sys/
H A Dsocket.h555 #define SHUT_RD 0 /* shut down the reading side */ macro
562 #define PRU_FLUSH_RD SHUT_RD
/freebsd-10.0-release/bin/cat/
H A Dcat.c340 if (shutdown(fd, SHUT_RD) == -1)
/freebsd-10.0-release/usr.sbin/IPXrouted/
H A Dmain.c177 shutdown(r, SHUT_RD); /* for now, don't want reponses */
/freebsd-10.0-release/contrib/bsnmp/snmpd/
H A Dtrap.c119 (void)shutdown(t->socket, SHUT_RD);
727 (void)shutdown(addrs->socket, SHUT_RD);
/freebsd-10.0-release/sbin/route/
H A Droute.c361 shutdown(s, SHUT_RD); /* Don't want to read back our messages */
774 shutdown(s, SHUT_RD); /* Don't want to read back our messages */
/freebsd-10.0-release/contrib/netcat/
H A Dnetcat.c826 shutdown(nfd, SHUT_RD);
/freebsd-10.0-release/sbin/devd/
H A Ddevd.cc904 shutdown(s, SHUT_RD);
/freebsd-10.0-release/sys/dev/iscsi_initiator/
H A Disc_soc.c669 soshutdown(sp->soc, SHUT_RD);
/freebsd-10.0-release/sbin/natd/
H A Dnatd.c351 shutdown(icmpSock, SHUT_RD);
/freebsd-10.0-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_cm.c301 soshutdown(epc->so, SHUT_WR|SHUT_RD);
/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))
2263 if (how != SHUT_RD) {
/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c240 rc = soshutdown(so, SHUT_WR | SHUT_RD);
/freebsd-10.0-release/usr.sbin/syslogd/
H A Dsyslogd.c559 if (shutdown(finet[i+1], SHUT_RD) < 0) {

Completed in 304 milliseconds