ssock 98 cib/remote.c int *ssock = NULL; ssock 134 cib/remote.c ssock = malloc(sizeof(int)); ssock 135 cib/remote.c if(ssock == NULL) { ssock 140 cib/remote.c *ssock = socket(AF_INET, SOCK_STREAM, 0); ssock 141 cib/remote.c if (*ssock == -1) { ssock 143 cib/remote.c free(ssock); ssock 149 cib/remote.c rc = setsockopt(*ssock, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof(optval)); ssock 159 cib/remote.c if (bind(*ssock, (struct sockaddr *)&saddr, sizeof(saddr)) == -1) { ssock 161 cib/remote.c close(*ssock); ssock 162 cib/remote.c free(ssock); ssock 165 cib/remote.c if (listen(*ssock, 10) == -1) { ssock 167 cib/remote.c close(*ssock); ssock 168 cib/remote.c free(ssock); ssock 172 cib/remote.c mainloop_add_fd("cib-remote", G_PRIORITY_DEFAULT, *ssock, ssock, &remote_listen_fd_callbacks); ssock 174 cib/remote.c return *ssock; ssock 289 cib/remote.c int ssock = *(int *)data; ssock 302 cib/remote.c csock = accept(ssock, (struct sockaddr *)&addr, &laddr); ssock 310 cib/remote.c ((ssock == remote_tls_fd)? "secure" : "clear-text"), ipstr); ssock 326 cib/remote.c if (ssock == remote_tls_fd) { ssock 205 include/crm_internal.h int crm_remote_accept(int ssock); ssock 978 lib/common/remote.c crm_remote_accept(int ssock) ssock 993 lib/common/remote.c csock = accept(ssock, (struct sockaddr *)&addr, &laddr); ssock 43 lrmd/tls_backend.c static int ssock = -1; ssock 203 lrmd/tls_backend.c csock = crm_remote_accept(ssock); ssock 350 lrmd/tls_backend.c ssock = bind_and_listen(iter); ssock 352 lrmd/tls_backend.c if (ssock != -1) { ssock 363 lrmd/tls_backend.c if (ssock < 0) { ssock 368 lrmd/tls_backend.c mainloop_add_fd("lrmd-remote", G_PRIORITY_DEFAULT, ssock, NULL, &remote_listen_fd_callbacks); ssock 370 lrmd/tls_backend.c rc = ssock; ssock 373 lrmd/tls_backend.c close(ssock); ssock 374 lrmd/tls_backend.c ssock = 0; ssock 389 lrmd/tls_backend.c if (ssock > 0) { ssock 390 lrmd/tls_backend.c close(ssock); ssock 391 lrmd/tls_backend.c ssock = 0;