csock 281 daemons/based/based_remote.c int csock = 0; csock 298 daemons/based/based_remote.c csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 299 daemons/based/based_remote.c if (csock == -1) { csock 308 daemons/based/based_remote.c rc = pcmk__set_nonblocking(csock); csock 312 daemons/based/based_remote.c close(csock); csock 326 daemons/based/based_remote.c new_client->remote->tls_session = pcmk__new_tls_session(csock, csock 331 daemons/based/based_remote.c close(csock); csock 337 daemons/based/based_remote.c new_client->remote->tcp_socket = csock; csock 348 daemons/based/based_remote.c mainloop_add_fd("cib-remote-client", G_PRIORITY_DEFAULT, csock, new_client, csock 358 daemons/based/based_remote.c int csock = 0; csock 372 daemons/based/based_remote.c csock = client->remote->tcp_socket; csock 379 daemons/based/based_remote.c csock = GPOINTER_TO_INT(sock_ptr); csock 396 daemons/based/based_remote.c if (csock > 0) { csock 397 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 174 daemons/execd/remoted_tls.c close(csock); csock 204 daemons/execd/remoted_tls.c int csock = -1; csock 216 daemons/execd/remoted_tls.c if (pcmk__accept_remote_connection(ssock, &csock) != pcmk_rc_ok) { csock 220 daemons/execd/remoted_tls.c session = pcmk__new_tls_session(csock, GNUTLS_SERVER, GNUTLS_CRD_PSK, csock 223 daemons/execd/remoted_tls.c close(csock); csock 240 daemons/execd/remoted_tls.c mainloop_add_fd("pacemaker-remote-client", G_PRIORITY_DEFAULT, csock, csock 29 include/crm/common/remote_internal.h int pcmk__accept_remote_connection(int ssock, int *csock); csock 81 include/crm/common/remote_internal.h gnutls_session_t *pcmk__new_tls_session(int csock, unsigned int conn_type, csock 229 lib/common/remote.c pcmk__new_tls_session(int csock, unsigned int conn_type, csock 275 lib/common/remote.c (gnutls_transport_ptr_t) GINT_TO_POINTER(csock)); csock 1214 lib/common/remote.c pcmk__accept_remote_connection(int ssock, int *csock) csock 1226 lib/common/remote.c *csock = accept(ssock, (struct sockaddr *)&addr, &laddr); csock 1227 lib/common/remote.c if (*csock == -1) { csock 1236 lib/common/remote.c rc = pcmk__set_nonblocking(*csock); csock 1240 lib/common/remote.c close(*csock); csock 1241 lib/common/remote.c *csock = -1; csock 1252 lib/common/remote.c rc = setsockopt(*csock, SOL_TCP, TCP_USER_TIMEOUT, csock 1258 lib/common/remote.c close(*csock); csock 1259 lib/common/remote.c *csock = -1;