| /freebsd-11-stable/lib/libc/net/ |
| HD | nscachedcli.c | 59 safe_write(struct cached_connection_ *connection, const void *data, in safe_write() argument 75 nevents = _kevent(connection->write_queue, NULL, 0, &eventlist, in safe_write() 78 s_result = _sendto(connection->sockfd, data + result, in safe_write() 103 safe_read(struct cached_connection_ *connection, void *data, size_t data_size) in safe_read() argument 118 nevents = _kevent(connection->read_queue, NULL, 0, &eventlist, in safe_read() 121 s_result = _read(connection->sockfd, data + result, in safe_read() 143 send_credentials(struct cached_connection_ *connection, int type) in send_credentials() argument 172 EV_SET(&eventlist, connection->sockfd, EVFILT_WRITE, EV_ADD, in send_credentials() 174 res = _kevent(connection->write_queue, &eventlist, 1, NULL, 0, NULL); in send_credentials() 176 nevents = _kevent(connection->write_queue, NULL, 0, &eventlist, 1, in send_credentials() [all …]
|
| HD | nscache.c | 58 cached_connection connection; in __nss_common_cache_read() local 109 connection = __open_cached_connection(¶ms); in __nss_common_cache_read() 110 if (connection == NULL) { in __nss_common_cache_read() 114 res = __cached_read(connection, cache_info->entry_name, in __nss_common_cache_read() 117 __close_cached_connection(connection); in __nss_common_cache_read() 162 cached_connection connection; in __nss_common_cache_write() local 181 connection = __open_cached_connection(¶ms); in __nss_common_cache_write() 182 if (connection == NULL) { in __nss_common_cache_write() 211 __close_cached_connection(connection); in __nss_common_cache_write() 217 res = __cached_write(connection, cache_info->entry_name, in __nss_common_cache_write() [all …]
|
| /freebsd-11-stable/usr.sbin/nscd/ |
| HD | nscdcli.c | 56 safe_write(struct nscd_connection_ *connection, const void *data, in safe_write() argument 72 nevents = kevent(connection->write_queue, NULL, 0, &eventlist, in safe_write() 75 s_result = write(connection->sockfd, in safe_write() 94 safe_read(struct nscd_connection_ *connection, void *data, size_t data_size) in safe_read() argument 109 nevents = kevent(connection->read_queue, NULL, 0, &eventlist, 1, in safe_read() 112 s_result = read(connection->sockfd, in safe_read() 131 send_credentials(struct nscd_connection_ *connection, int type) in send_credentials() argument 161 EV_SET(&eventlist, connection->sockfd, EVFILT_WRITE, EV_ADD, in send_credentials() 163 res = kevent(connection->write_queue, &eventlist, 1, NULL, 0, NULL); in send_credentials() 165 nevents = kevent(connection->write_queue, NULL, 0, &eventlist, 1, NULL); in send_credentials() [all …]
|
| /freebsd-11-stable/contrib/subversion/subversion/svnserve/ |
| HD | svnserve.c | 523 accept_connection(connection_t **connection, in accept_connection() argument 536 *connection = apr_pcalloc(connection_pool, sizeof(**connection)); in accept_connection() 537 (*connection)->pool = connection_pool; in accept_connection() 538 (*connection)->params = params; in accept_connection() 539 (*connection)->ref_count = 1; in accept_connection() 548 status = apr_socket_accept(&(*connection)->usock, sock, in accept_connection() 573 attach_connection(connection_t *connection) in attach_connection() argument 575 svn_atomic_inc(&connection->ref_count); in attach_connection() 582 close_connection(connection_t *connection) in close_connection() argument 585 if (svn_atomic_dec(&connection->ref_count) == 0) in close_connection() [all …]
|
| /freebsd-11-stable/crypto/openssl/doc/crypto/ |
| HD | BIO_s_accept.pod | 42 on the underlying connection. If no connection is established 44 waits for an incoming connection. 49 connection on that chain is shutdown and the socket closed when 53 connection and reset the BIO into a state where it awaits another 54 incoming connection. 77 connection is received. This is useful if, for example, a 78 buffering or SSL BIO is required for each connection. The 95 connection, or request a retry in non blocking mode. 100 incoming connection before processing I/O calls. When an accept 104 When a connection is established a new socket BIO is created for [all …]
|
| HD | BIO_s_connect.pod | 34 round the platform's TCP/IP socket connection routines. 41 on the underlying connection. If no connection is established 43 a connection is established first. 48 connection is shutdown and the socket closed when the BIO 52 connection and reset the BIO into a state where it can connect 89 should be made before the connection is established because 96 if the connection was established successfully. A zero or negative 97 value is returned if the connection could not be established, the 105 will normally mean that the connection was closed. 109 if the application does not wish to allow connection to arbitrary [all …]
|
| HD | BIO_f_ssl.pod | 42 the SSLs read and write BIOs. If an SSL connection is not established 48 Calling BIO_reset() on an SSL BIO closes down any current SSL connection 92 BIO_ssl_shutdown() closes down an SSL connection on BIO 98 supplied BIO and establish the SSL connection. It returns 1 99 if the connection was established successfully. A zero or negative 100 value is returned if the connection could not be established, the 102 to determine if the call should be retried. If an SSL connection has 182 fprintf(stderr, "Error establishing SSL connection\n"); 187 /* Could examine ssl here to get connection info */ 252 /* By doing this when a new connection is established [all …]
|
| /freebsd-11-stable/crypto/openssl/doc/ssl/ |
| HD | SSL_get_version.pod | 5 SSL_get_version - get the protocol version of a connection. 16 connection B<ssl>. It should only be called after the initial handshake has been 28 The connection uses the SSLv2 protocol. 32 The connection uses the SSLv3 protocol. 36 The connection uses the TLSv1.0 protocol. 40 The connection uses the TLSv1.1 protocol. 44 The connection uses the TLSv1.2 protocol.
|
| HD | SSL_clear.pod | 5 SSL_clear - reset SSL object to allow another connection 15 Reset B<ssl> to allow another connection. All settings (method, ciphers, 20 SSL_clear is used to prepare an SSL object for a new connection. While all 24 if L<SSL_shutdown(3)|SSL_shutdown(3)> was not called for the connection 34 will might lead to connection failures (see L<SSL_new(3)|SSL_new(3)>) 39 SSL_clear() resets the SSL object to allow for another connection. The 42 handshake). It only makes sense for a new connection with the exact
|
| HD | SSL_shutdown.pod | 5 SSL_shutdown - shut down a TLS/SSL connection 15 SSL_shutdown() shuts down an active TLS/SSL connection. It sends the 26 occurred on a connection i.e. if SSL_get_error() has returned SSL_ERROR_SYSCALL 32 to only send its shutdown alert and then close the underlying connection 34 as the process can already terminate or serve another connection). 35 When the underlying connection shall be used for more communications, the 48 shutdown is enough (the underlying connection shall be closed anyway), this 87 SSL_shutdown() can be modified to only set the connection to "shutdown" 114 at the protocol level or a connection failure occurred. It can also occur if
|
| HD | SSL_set_shutdown.pod | 5 SSL_set_shutdown, SSL_get_shutdown - manipulate shutdown state of an SSL connection 23 The shutdown state of an ssl connection is a bitmask of: 33 A "close notify" shutdown alert was sent to the peer, the connection is being 45 The shutdown state of the connection is used to determine the state of 51 alert but to not wait for the peer's answer, when the underlying connection
|
| HD | SSL_new.pod | 5 SSL_new - create a new SSL structure for a connection 16 data for a TLS/SSL connection. The new structure inherits the settings 17 of the underlying context B<ctx>: connection method (SSLv2/v3/TLSv1),
|
| HD | SSL_get_session.pod | 29 connection without a new handshake. 32 non-resumable if the connection is not closed down cleanly, e.g. if a fatal 33 error occurs on the connection or L<SSL_shutdown(3)> is not called prior to 38 the connection is in use. If L<SSL_clear(3)|SSL_clear(3)> or
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| HD | tsan_interceptors_mac.cpp | 299 xpc_connection_t connection, xpc_handler_t handler) { in TSAN_INTERCEPTOR() argument 300 SCOPED_TSAN_INTERCEPTOR(xpc_connection_set_event_handler, connection, in TSAN_INTERCEPTOR() 302 Release(thr, pc, (uptr)connection); in TSAN_INTERCEPTOR() 306 Acquire(thr, pc, (uptr)connection); in TSAN_INTERCEPTOR() 310 REAL(xpc_connection_set_event_handler)(connection, new_handler); in TSAN_INTERCEPTOR() 313 TSAN_INTERCEPTOR(void, xpc_connection_send_barrier, xpc_connection_t connection, in TSAN_INTERCEPTOR() argument 315 SCOPED_TSAN_INTERCEPTOR(xpc_connection_send_barrier, connection, barrier); in TSAN_INTERCEPTOR() 316 Release(thr, pc, (uptr)connection); in TSAN_INTERCEPTOR() 320 Acquire(thr, pc, (uptr)connection); in TSAN_INTERCEPTOR() 324 REAL(xpc_connection_send_barrier)(connection, new_barrier); in TSAN_INTERCEPTOR() [all …]
|
| /freebsd-11-stable/usr.sbin/iscsid/ |
| HD | iscsid.h | 52 struct connection { struct 73 struct connection *pdu_connection; argument 128 struct pdu *pdu_new(struct connection *ic); 134 void login(struct connection *ic); 136 void discovery(struct connection *ic); 151 void fail(const struct connection *, const char *);
|
| HD | discovery.c | 46 text_receive(struct connection *conn) in text_receive() 77 text_new_request(struct connection *conn) in text_new_request() 98 logout_receive(struct connection *conn) in logout_receive() 123 logout_new_request(struct connection *conn) in logout_new_request() 142 kernel_add(const struct connection *conn, const char *target) in kernel_add() 158 kernel_remove(const struct connection *conn) in kernel_remove() 171 discovery(struct connection *conn) in discovery()
|
| HD | login.c | 164 kernel_modify(const struct connection *conn, const char *target_address) in kernel_modify() 192 login_handle_redirection(struct connection *conn, struct pdu *response) in login_handle_redirection() 219 login_receive(struct connection *conn) in login_receive() 274 login_new_request(struct connection *conn, int csg) in login_new_request() 332 login_negotiate_key(struct connection *conn, const char *name, in login_negotiate_key() 473 login_negotiate(struct connection *conn) in login_negotiate() 582 login_send_chap_a(struct connection *conn) in login_send_chap_a() 599 struct connection *conn; in login_send_chap_r() 684 struct connection *conn; in login_verify_mutual() 725 login_chap(struct connection *conn) in login_chap() [all …]
|
| HD | iscsid.c | 83 resolve_addr(const struct connection *conn, const char *address, in resolve_addr() 154 static struct connection * 157 struct connection *conn; in connection_new() 264 handoff(struct connection *conn) in handoff() 292 fail(const struct connection *conn, const char *reason) in fail() 314 capsicate(struct connection *conn) in capsicate() 436 struct connection *conn; in handle_request()
|
| /freebsd-11-stable/contrib/ntp/sntp/libevent/ |
| HD | evrpc.c | 503 static int evrpc_schedule_request(struct evhttp_connection *connection, 539 struct evhttp_connection *connection; in evrpc_pool_free() local 555 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) { in evrpc_pool_free() 556 TAILQ_REMOVE(&pool->connections, connection, next); in evrpc_pool_free() 557 evhttp_connection_free(connection); in evrpc_pool_free() 580 struct evhttp_connection *connection) in evrpc_pool_add_connection() argument 582 EVUTIL_ASSERT(connection->http_server == NULL); in evrpc_pool_add_connection() 583 TAILQ_INSERT_TAIL(&pool->connections, connection, next); in evrpc_pool_add_connection() 589 evhttp_connection_set_base(connection, pool->base); in evrpc_pool_add_connection() 595 if (!evutil_timerisset(&connection->timeout)) in evrpc_pool_add_connection() [all …]
|
| /freebsd-11-stable/contrib/sendmail/contrib/ |
| HD | socketmapClient.pl | 11 my $connection = shift @ARGV; 16 if ($connection =~ /tcp:(.+):([0-9]*)/) { 22 } elsif ($connection =~ /((unix)|(local)):(.+)/) { 28 die "unrecognized connection specification $connection";
|
| HD | socketmapServer.pl | 10 my $connection = shift @ARGV; 13 if ($connection =~ /tcp:(.+):([0-9]*)/) { 21 } elsif ($connection =~ /((unix)|(local)):(.+)/) { 29 die "unrecognized connection specification $connection";
|
| /freebsd-11-stable/lib/libfetch/ |
| HD | ftp.errors | 8 125 OK Data connection already open; transfer starting 9 150 OK File status okay; about to open data connection 18 221 OK Service closing control connection 19 225 OK Data connection open; no transfer in progress 29 421 DOWN Service not available, closing control connection 30 425 NETWORK Can't open data connection
|
| /freebsd-11-stable/usr.sbin/ctld/ |
| HD | discovery.c | 48 text_receive(struct connection *conn) in text_receive() 89 struct connection *conn; in text_new_response() 111 logout_receive(struct connection *conn) in logout_receive() 147 struct connection *conn; in logout_new_response() 215 discovery_target_filtered_out(const struct connection *conn, in discovery_target_filtered_out() 278 discovery(struct connection *conn) in discovery()
|
| HD | login.c | 91 login_receive(struct connection *conn, bool initial) in login_receive() 154 struct connection *conn; in login_new_response() 232 login_receive_chap_a(struct connection *conn) in login_receive_chap_a() 281 login_receive_chap_r(struct connection *conn, struct auth_group *ag, in login_receive_chap_r() 405 login_chap(struct connection *conn, struct auth_group *ag) in login_chap() 457 struct connection *conn; in login_negotiate_key() 639 login_portal_redirect(struct connection *conn, struct pdu *request) in login_portal_redirect() 655 login_target_redirect(struct connection *conn, struct pdu *request) in login_target_redirect() 676 login_negotiate(struct connection *conn, struct pdu *request) in login_negotiate() 756 login_wait_transition(struct connection *conn) in login_wait_transition() [all …]
|
| /freebsd-11-stable/tools/tools/netrate/tcpp/ |
| HD | tcpp_server.c | 64 struct connection { struct 76 static struct connection * argument 79 struct connection *conn; in tcpp_server_newconn() 111 tcpp_server_closeconn(struct connection *conn) in tcpp_server_closeconn() 130 struct connection *conn; in tcpp_server_handleconn()
|