ssock 78 daemons/based/based_remote.c int *ssock = NULL; ssock 110 daemons/based/based_remote.c ssock = pcmk__assert_alloc(1, sizeof(int)); ssock 111 daemons/based/based_remote.c *ssock = socket(AF_INET, SOCK_STREAM, 0); ssock 112 daemons/based/based_remote.c if (*ssock == -1) { ssock 114 daemons/based/based_remote.c free(ssock); ssock 120 daemons/based/based_remote.c rc = setsockopt(*ssock, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)); ssock 131 daemons/based/based_remote.c if (bind(*ssock, (struct sockaddr *)&saddr, sizeof(saddr)) == -1) { ssock 133 daemons/based/based_remote.c close(*ssock); ssock 134 daemons/based/based_remote.c free(ssock); ssock 137 daemons/based/based_remote.c if (listen(*ssock, 10) == -1) { ssock 139 daemons/based/based_remote.c close(*ssock); ssock 140 daemons/based/based_remote.c free(ssock); ssock 144 daemons/based/based_remote.c mainloop_add_fd("cib-remote", G_PRIORITY_DEFAULT, *ssock, ssock, &remote_listen_fd_callbacks); ssock 147 daemons/based/based_remote.c return *ssock; ssock 255 daemons/based/based_remote.c int ssock = *(int *)data; ssock 268 daemons/based/based_remote.c csock = accept(ssock, (struct sockaddr *)&addr, &laddr); ssock 290 daemons/based/based_remote.c if (ssock == remote_tls_fd) { ssock 309 daemons/based/based_remote.c ((ssock == remote_tls_fd)? "Encrypted" : "Clear-text"), ssock 35 daemons/execd/remoted_tls.c static int ssock = -1; ssock 220 daemons/execd/remoted_tls.c CRM_CHECK(ssock >= 0, return TRUE); ssock 222 daemons/execd/remoted_tls.c if (pcmk__accept_remote_connection(ssock, &csock) != pcmk_rc_ok) { ssock 360 daemons/execd/remoted_tls.c CRM_CHECK(ssock == -1, return ssock); ssock 405 daemons/execd/remoted_tls.c ssock = bind_and_listen(iter); ssock 407 daemons/execd/remoted_tls.c if (ssock >= 0) { ssock 418 daemons/execd/remoted_tls.c if (ssock >= 0) { ssock 419 daemons/execd/remoted_tls.c mainloop_add_fd("pacemaker-remote-server", G_PRIORITY_DEFAULT, ssock, ssock 425 daemons/execd/remoted_tls.c return ssock; ssock 436 daemons/execd/remoted_tls.c if (ssock >= 0) { ssock 437 daemons/execd/remoted_tls.c close(ssock); ssock 438 daemons/execd/remoted_tls.c ssock = -1; ssock 38 include/crm/common/remote_internal.h int pcmk__accept_remote_connection(int ssock, int *csock); ssock 940 lib/common/remote.c pcmk__accept_remote_connection(int ssock, int *csock) ssock 952 lib/common/remote.c *csock = accept(ssock, (struct sockaddr *)&addr, &laddr);