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 394 daemons/based/based_remote.c if (csock > 0) { csock 395 daemons/based/based_remote.c close(csock); csock 165 daemons/execd/remoted_tls.c int csock; csock 168 daemons/execd/remoted_tls.c csock = GPOINTER_TO_INT(sock_ptr); csock 173 daemons/execd/remoted_tls.c close(csock); csock 202 daemons/execd/remoted_tls.c int csock = -1; csock 214 daemons/execd/remoted_tls.c if (pcmk__accept_remote_connection(ssock, &csock) != pcmk_rc_ok) { csock 218 daemons/execd/remoted_tls.c session = pcmk__new_tls_session(csock, GNUTLS_SERVER, GNUTLS_CRD_PSK, csock 221 daemons/execd/remoted_tls.c close(csock); csock 238 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 1194 lib/common/remote.c pcmk__accept_remote_connection(int ssock, int *csock) csock 1203 lib/common/remote.c *csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 1204 lib/common/remote.c if (*csock == -1) { csock 1213 lib/common/remote.c rc = pcmk__set_nonblocking(*csock); csock 1217 lib/common/remote.c close(*csock); csock 1218 lib/common/remote.c *csock = -1; csock 1227 lib/common/remote.c rc = setsockopt(*csock, SOL_TCP, TCP_USER_TIMEOUT, csock 1233 lib/common/remote.c close(*csock); csock 1234 lib/common/remote.c *csock = -1;