ssock 92 daemons/based/based_remote.c int *ssock = NULL; ssock 129 daemons/based/based_remote.c ssock = malloc(sizeof(int)); ssock 130 daemons/based/based_remote.c if(ssock == NULL) { ssock 135 daemons/based/based_remote.c *ssock = socket(AF_INET, SOCK_STREAM, 0); ssock 136 daemons/based/based_remote.c if (*ssock == -1) { ssock 138 daemons/based/based_remote.c free(ssock); ssock 144 daemons/based/based_remote.c rc = setsockopt(*ssock, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)); ssock 155 daemons/based/based_remote.c if (bind(*ssock, (struct sockaddr *)&saddr, sizeof(saddr)) == -1) { ssock 157 daemons/based/based_remote.c close(*ssock); ssock 158 daemons/based/based_remote.c free(ssock); ssock 161 daemons/based/based_remote.c if (listen(*ssock, 10) == -1) { ssock 163 daemons/based/based_remote.c close(*ssock); ssock 164 daemons/based/based_remote.c free(ssock); ssock 168 daemons/based/based_remote.c mainloop_add_fd("cib-remote", G_PRIORITY_DEFAULT, *ssock, ssock, &remote_listen_fd_callbacks); ssock 171 daemons/based/based_remote.c return *ssock; ssock 279 daemons/based/based_remote.c int ssock = *(int *)data; ssock 292 daemons/based/based_remote.c csock = accept(ssock, (struct sockaddr *)&addr, &laddr); ssock 314 daemons/based/based_remote.c if (ssock == remote_tls_fd) { ssock 338 daemons/based/based_remote.c ((ssock == remote_tls_fd)? "Encrypted" : "Clear-text"), ssock 36 daemons/execd/remoted_tls.c static int ssock = -1; ssock 214 daemons/execd/remoted_tls.c CRM_CHECK(ssock >= 0, return TRUE); ssock 216 daemons/execd/remoted_tls.c if (pcmk__accept_remote_connection(ssock, &csock) != pcmk_rc_ok) { ssock 354 daemons/execd/remoted_tls.c CRM_CHECK(ssock == -1, return ssock); ssock 396 daemons/execd/remoted_tls.c ssock = bind_and_listen(iter); ssock 398 daemons/execd/remoted_tls.c if (ssock >= 0) { ssock 409 daemons/execd/remoted_tls.c if (ssock >= 0) { ssock 410 daemons/execd/remoted_tls.c mainloop_add_fd("pacemaker-remote-server", G_PRIORITY_DEFAULT, ssock, ssock 416 daemons/execd/remoted_tls.c return ssock; ssock 427 daemons/execd/remoted_tls.c if (ssock >= 0) { ssock 428 daemons/execd/remoted_tls.c close(ssock); ssock 429 daemons/execd/remoted_tls.c ssock = -1; ssock 30 include/crm/common/remote_internal.h int pcmk__accept_remote_connection(int ssock, int *csock); ssock 1231 lib/common/remote.c pcmk__accept_remote_connection(int ssock, int *csock) ssock 1243 lib/common/remote.c *csock = accept(ssock, (struct sockaddr *)&addr, &laddr);