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 370 daemons/based/based_remote.c csock = client->remote->tcp_socket; csock 377 daemons/based/based_remote.c csock = GPOINTER_TO_INT(sock_ptr); csock 393 daemons/based/based_remote.c if (csock > 0) { csock 394 daemons/based/based_remote.c close(csock); csock 168 daemons/execd/remoted_tls.c int csock; csock 171 daemons/execd/remoted_tls.c csock = GPOINTER_TO_INT(sock_ptr); csock 176 daemons/execd/remoted_tls.c close(csock); csock 205 daemons/execd/remoted_tls.c int csock = -1; csock 217 daemons/execd/remoted_tls.c if (pcmk__accept_remote_connection(ssock, &csock) != pcmk_rc_ok) { csock 221 daemons/execd/remoted_tls.c session = pcmk__new_tls_session(csock, GNUTLS_SERVER, GNUTLS_CRD_PSK, csock 224 daemons/execd/remoted_tls.c close(csock); csock 241 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 225 lib/common/remote.c pcmk__new_tls_session(int csock, unsigned int conn_type, csock 271 lib/common/remote.c (gnutls_transport_ptr_t) GINT_TO_POINTER(csock)); csock 1207 lib/common/remote.c pcmk__accept_remote_connection(int ssock, int *csock) csock 1216 lib/common/remote.c *csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 1217 lib/common/remote.c if (*csock == -1) { csock 1226 lib/common/remote.c rc = pcmk__set_nonblocking(*csock); csock 1230 lib/common/remote.c close(*csock); csock 1231 lib/common/remote.c *csock = -1; csock 1240 lib/common/remote.c rc = setsockopt(*csock, SOL_TCP, TCP_USER_TIMEOUT, csock 1246 lib/common/remote.c close(*csock); csock 1247 lib/common/remote.c *csock = -1;