csock 282 daemons/based/based_remote.c int csock = 0; csock 299 daemons/based/based_remote.c csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 300 daemons/based/based_remote.c if (csock == -1) { csock 309 daemons/based/based_remote.c rc = pcmk__set_nonblocking(csock); csock 313 daemons/based/based_remote.c close(csock); csock 327 daemons/based/based_remote.c new_client->remote->tls_session = pcmk__new_tls_session(csock, csock 332 daemons/based/based_remote.c close(csock); csock 338 daemons/based/based_remote.c new_client->remote->tcp_socket = csock; csock 349 daemons/based/based_remote.c mainloop_add_fd("cib-remote-client", G_PRIORITY_DEFAULT, csock, new_client, csock 359 daemons/based/based_remote.c int csock = 0; csock 373 daemons/based/based_remote.c csock = client->remote->tcp_socket; csock 380 daemons/based/based_remote.c csock = GPOINTER_TO_INT(sock_ptr); csock 397 daemons/based/based_remote.c if (csock > 0) { csock 398 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 220 lib/common/remote.c pcmk__new_tls_session(int csock, unsigned int conn_type, csock 266 lib/common/remote.c (gnutls_transport_ptr_t) GINT_TO_POINTER(csock)); csock 1203 lib/common/remote.c pcmk__accept_remote_connection(int ssock, int *csock) csock 1212 lib/common/remote.c *csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 1213 lib/common/remote.c if (*csock == -1) { csock 1222 lib/common/remote.c rc = pcmk__set_nonblocking(*csock); csock 1226 lib/common/remote.c close(*csock); csock 1227 lib/common/remote.c *csock = -1; csock 1236 lib/common/remote.c rc = setsockopt(*csock, SOL_TCP, TCP_USER_TIMEOUT, csock 1242 lib/common/remote.c close(*csock); csock 1243 lib/common/remote.c *csock = -1;