Home
last modified time | relevance | path

Searched refs:SHUT_RDWR (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-13-stable/contrib/apr/misc/unix/
HDrand.c71 #ifndef SHUT_RDWR
72 #define SHUT_RDWR 2 macro
175 shutdown(egd_socket, SHUT_RDWR); in apr_generate_random_bytes()
181 shutdown(egd_socket, SHUT_RDWR); in apr_generate_random_bytes()
190 shutdown(egd_socket, SHUT_RDWR); in apr_generate_random_bytes()
200 shutdown(egd_socket, SHUT_RDWR); in apr_generate_random_bytes()
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftp/
HDmain.c178 #ifndef SHUT_RDWR
179 #define SHUT_RDWR 2 macro
188 shutdown(fileno(cout), SHUT_RDWR); in lostpeer()
193 shutdown(data, SHUT_RDWR); in lostpeer()
202 shutdown(fileno(cout), SHUT_RDWR); in lostpeer()
/freebsd-13-stable/tools/regression/sockets/shutdown/
HDshutdown.c49 if ((shutdown(listen_sock, SHUT_RDWR) != -1) && (errno != EBADF)) in main()
94 if ((shutdown(connect_sock, SHUT_RDWR + 1) != -1) && (errno != EINVAL)) in main()
/freebsd-13-stable/crypto/heimdal/lib/roken/
HDroken-common.h271 #ifndef SHUT_RDWR
272 #define SHUT_RDWR 2 macro
/freebsd-13-stable/crypto/openssh/
HDdefines.h35 SHUT_RDWR /* No more receptions or transmissions. */ enumerator
39 # define SHUT_RDWR SHUT_RDWR macro
HDsftp.c2685 shutdown(in, SHUT_RDWR); in main()
2686 shutdown(out, SHUT_RDWR); in main()
/freebsd-13-stable/sys/sys/
HDsocket.h632 #define SHUT_RDWR 2 /* shut down both sides */ macro
639 #define PRU_FLUSH_RDWR SHUT_RDWR
/freebsd-13-stable/sys/compat/cloudabi/
HDcloudabi_sock.c63 how = SHUT_RDWR; in cloudabi_sys_sock_shutdown()
/freebsd-13-stable/tools/regression/netinet/tcpsocktimewait/
HDtcpsocktimewait.c96 if (shutdown(sock, SHUT_RDWR) < 0) { in tcp_client()
/freebsd-13-stable/contrib/ofed/librdmacm/examples/
HDrcopy.c386 rshutdown(rs, SHUT_RDWR); in server_run()
551 rshutdown(rs, SHUT_RDWR); in client_run()
HDrstream.c532 rs_shutdown(rs, SHUT_RDWR); in run()
560 rs_shutdown(rs, SHUT_RDWR); in run()
HDriostream.c530 rshutdown(rs, SHUT_RDWR); in run()
551 rshutdown(rs, SHUT_RDWR); in run()
/freebsd-13-stable/contrib/libder/tests/
HDfuzz_stream.c42 shutdown(sdata->socket, SHUT_RDWR); in supply_thread()
/freebsd-13-stable/tests/sys/netinet/
HDsocket_afinet.c258 rc = shutdown(cs, SHUT_RDWR); in ATF_TC_BODY()
/freebsd-13-stable/contrib/ofed/librdmacm/
HDacm.c167 shutdown(sock, SHUT_RDWR); in ucma_ib_cleanup()
HDpreload.c659 real.shutdown(sfd, SHUT_RDWR); in fork_active()
732 real.shutdown(sfd, SHUT_RDWR); in fork_passive()
/freebsd-13-stable/tests/sys/audit/
HDnetwork.c997 ATF_REQUIRE_EQ(0, shutdown(connectfd, SHUT_RDWR)); in ATF_TC_BODY()
1025 ATF_REQUIRE_EQ(-1, shutdown(-1, SHUT_RDWR)); in ATF_TC_BODY()
/freebsd-13-stable/libexec/phttpget/
HDphttpget.c708 shutdown(sd, SHUT_RDWR); in main()
/freebsd-13-stable/usr.sbin/rpc.statd/
HDstatd.c618 shutdown(sock_fd[i], SHUT_RDWR); in clearout_service()
/freebsd-13-stable/tests/sys/kern/
HDunix_seqpacket_test.c786 ATF_CHECK_EQ(0, shutdown(s2, SHUT_RDWR)); in ATF_TC_BODY()
827 ATF_CHECK_EQ(0, shutdown(s2, SHUT_RDWR)); in ATF_TC_BODY()
/freebsd-13-stable/sbin/iscontrol/
HDfsm.c86 shutdown(sess->soc, SHUT_RDWR); in tcpConnect()
/freebsd-13-stable/usr.sbin/rpc.lockd/
HDlockd.c834 shutdown(sock_fd[i], SHUT_RDWR); in clearout_service()
/freebsd-13-stable/contrib/telnet/telnetd/
HDsys_term.c1250 (void) shutdown(net, SHUT_RDWR); in cleanup()
/freebsd-13-stable/contrib/bsnmp/snmp_mibII/
HDmibII.c1782 (void)shutdown(mib_netsock, SHUT_RDWR); in mibII_init()
/freebsd-13-stable/contrib/lib9p/pytest/
HDp9conn.py203 self.channel.shutdown(socket.SHUT_RDWR)

12