Home
last modified time | relevance | path

Searched refs:SHUT_WR (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-13.1/contrib/ntp/sntp/libevent/test/
H A Dtest-closed.c74 #ifndef SHUT_WR
75 #define SHUT_WR 1 macro
106 shutdown(pair[0], SHUT_WR); in main()
H A Dtest-eof.c84 #ifndef SHUT_WR
85 #define SHUT_WR 1 macro
110 shutdown(pair[0], SHUT_WR); in main()
H A Dregress_et.c70 #ifndef SHUT_WR
71 #define SHUT_WR 1 macro
108 shutdown(pair[0], SHUT_WR); in test_edgetriggered()
H A Dregress.c92 #ifndef SHUT_WR
93 #define SHUT_WR 1 macro
199 shutdown(fd, SHUT_WR); in multiple_write_cb()
279 shutdown(fd, SHUT_WR); in combined_write_cb()
309 shutdown(pair[0], SHUT_WR); in test_simpleread()
354 shutdown(pair[0], SHUT_WR); in test_simpleread_multiple()
916 shutdown(pair[0], SHUT_WR); in test_fork()
1823 if (shutdown(data->pair[0], SHUT_WR)) in test_event_base_new()
2652 shutdown(data->pair[1], SHUT_WR); in test_event_once()
H A Dregress_http.c536 #ifndef SHUT_WR
538 #define SHUT_WR SD_SEND macro
540 #define SHUT_WR 1 macro
580 shutdown(bufferevent_getfd(bev), SHUT_WR); in http_badreq_readcb()
624 shutdown(fd, SHUT_WR); in http_bad_request_test()
2770 shutdown(fd, SHUT_WR); in http_incomplete_writecb()
/freebsd-13.1/tools/regression/sockets/sigpipe/
H A Dsigpipe.c123 if (shutdown(sock2, SHUT_WR) < 0) in test_send_wantsignal()
142 if (shutdown(sock2, SHUT_WR) < 0) in test_send_dontsignal()
157 if (shutdown(sock2, SHUT_WR) < 0) in test_write_wantsignal()
176 if (shutdown(sock2, SHUT_WR) < 0) in test_write_dontsignal()
/freebsd-13.1/tools/regression/poll/
H A Dsockpoll.c134 if (shutdown(fd[0], SHUT_WR) == -1) in main()
162 if (shutdown(fd[1], SHUT_WR) == -1) in main()
190 if (shutdown(fd[0], SHUT_WR) == -1) in main()
/freebsd-13.1/crypto/heimdal/lib/roken/
H A Droken-common.h267 #ifndef SHUT_WR
268 #define SHUT_WR 1 macro
/freebsd-13.1/crypto/openssh/
H A Ddefines.h34 SHUT_WR, /* No more transmissions. */ enumerator
38 # define SHUT_WR SHUT_WR macro
H A Dnchan.c381 if (shutdown(c->sock, SHUT_WR) == -1) { in chan_shutdown_write()
/freebsd-13.1/tools/regression/sockets/shutdown/
H A Dshutdown.c102 if (shutdown(connect_sock, SHUT_WR) < 0) in main()
/freebsd-13.1/contrib/ntp/sntp/libevent/
H A Dutil-internal.h134 #ifdef SHUT_WR
135 #define EVUTIL_SHUT_WR SHUT_WR
/freebsd-13.1/contrib/libevent/
H A Dutil-internal.h134 #ifdef SHUT_WR
135 #define EVUTIL_SHUT_WR SHUT_WR
/freebsd-13.1/sys/sys/
H A Dsocket.h630 #define SHUT_WR 1 /* shut down the writing side */ macro
637 #define PRU_FLUSH_WR SHUT_WR
/freebsd-13.1/sbin/hastd/
H A Dproto_common.c207 if (shutdown(sock, SHUT_WR) == -1) in proto_common_recv()
/freebsd-13.1/contrib/openbsm/bin/auditdistd/
H A Dproto_common.c204 if (shutdown(sock, SHUT_WR) == -1) in proto_common_recv()
/freebsd-13.1/sys/compat/cloudabi/
H A Dcloudabi_sock.c62 how = SHUT_WR; in cloudabi_sys_sock_shutdown()
/freebsd-13.1/usr.sbin/rpc.tlsservd/
H A Drpc.tlscommon.c227 shutdown(slp->s, SHUT_WR); in rpctls_checkcrl()
/freebsd-13.1/contrib/libpcap/
H A Dsockutils.c84 #define SHUT_WR SD_SEND /* The control code for shutdown() is different in Win32 */ macro
496 if (shutdown(sock, SHUT_WR)) in sock_close()
/freebsd-13.1/bin/cat/
H A Dcat.c486 if (shutdown(fd, SHUT_WR) == -1) in udom_open()
/freebsd-13.1/sys/rpc/
H A Dsvc.c207 soshutdown(xprt->xp_socket, SHUT_WR); in svcpool_cleanup()
394 soshutdown(xprt->xp_socket, SHUT_WR); in xprt_unregister()
1085 soshutdown(xprt->xp_socket, SHUT_WR); in svc_checkidle()
/freebsd-13.1/contrib/netcat/
H A Dnetcat.c924 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()
1010 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()
/freebsd-13.1/usr.sbin/rpc.tlsclntd/
H A Drpc.tlsclntd.c436 shutdown(slp->s, SHUT_WR); in rpctlscd_disconnect_1_svc()
/freebsd-13.1/crypto/openssh/regress/
H A Dnetcat.c871 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()
953 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()
/freebsd-13.1/usr.sbin/prometheus_sysctl_exporter/
H A Dprometheus_sysctl_exporter.c687 if (shutdown(STDIN_FILENO, SHUT_WR) == 0) { in main()

12