csock 280 daemons/based/based_remote.c int csock = 0; csock 297 daemons/based/based_remote.c csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 298 daemons/based/based_remote.c if (csock == -1) { csock 307 daemons/based/based_remote.c rc = pcmk__set_nonblocking(csock); csock 311 daemons/based/based_remote.c close(csock); csock 325 daemons/based/based_remote.c new_client->remote->tls_session = pcmk__new_tls_session(csock, csock 330 daemons/based/based_remote.c close(csock); csock 336 daemons/based/based_remote.c new_client->remote->tcp_socket = csock; csock 347 daemons/based/based_remote.c mainloop_add_fd("cib-remote-client", G_PRIORITY_DEFAULT, csock, new_client, csock 357 daemons/based/based_remote.c int csock = 0; csock 371 daemons/based/based_remote.c csock = client->remote->tcp_socket; csock 378 daemons/based/based_remote.c csock = GPOINTER_TO_INT(sock_ptr); csock 395 daemons/based/based_remote.c if (csock > 0) { csock 396 daemons/based/based_remote.c close(csock); csock 170 daemons/execd/remoted_tls.c int csock; csock 173 daemons/execd/remoted_tls.c csock = GPOINTER_TO_INT(sock_ptr); csock 178 daemons/execd/remoted_tls.c close(csock); csock 208 daemons/execd/remoted_tls.c int csock = -1; csock 220 daemons/execd/remoted_tls.c if (pcmk__accept_remote_connection(ssock, &csock) != pcmk_rc_ok) { csock 224 daemons/execd/remoted_tls.c session = pcmk__new_tls_session(csock, GNUTLS_SERVER, GNUTLS_CRD_PSK, csock 227 daemons/execd/remoted_tls.c close(csock); csock 244 daemons/execd/remoted_tls.c mainloop_add_fd("pacemaker-remote-client", G_PRIORITY_DEFAULT, csock, csock 24 include/crm/common/remote_internal.h int pcmk__accept_remote_connection(int ssock, int *csock); csock 30 include/crm/common/remote_internal.h gnutls_session_t *pcmk__new_tls_session(int csock, unsigned int conn_type, csock 216 lib/common/remote.c pcmk__new_tls_session(int csock, unsigned int conn_type, csock 262 lib/common/remote.c (gnutls_transport_ptr_t) GINT_TO_POINTER(csock)); csock 1195 lib/common/remote.c pcmk__accept_remote_connection(int ssock, int *csock) csock 1204 lib/common/remote.c *csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 1205 lib/common/remote.c if (*csock == -1) { csock 1214 lib/common/remote.c rc = pcmk__set_nonblocking(*csock); csock 1218 lib/common/remote.c close(*csock); csock 1219 lib/common/remote.c *csock = -1; csock 1228 lib/common/remote.c rc = setsockopt(*csock, SOL_TCP, TCP_USER_TIMEOUT, csock 1234 lib/common/remote.c close(*csock); csock 1235 lib/common/remote.c *csock = -1;