server 606 daemons/controld/controld_execd_state.c controld_connect_remote_executor(lrm_state_t *lrm_state, const char *server, server 614 daemons/controld/controld_execd_state.c rc = lrmd__new(&api, lrm_state->node_name, server, port); server 617 daemons/controld/controld_execd_state.c CRM_XS " rc=%d", server, port, pcmk_rc_str(rc), rc); server 627 daemons/controld/controld_execd_state.c server, port, timeout_ms); server 131 daemons/controld/controld_lrm.h int controld_connect_remote_executor(lrm_state_t *lrm_state, const char *server, server 862 daemons/controld/controld_remote_ra.c const char *server = NULL; server 872 daemons/controld/controld_remote_ra.c server = tmp->value; server 884 daemons/controld/controld_remote_ra.c rc = controld_connect_remote_executor(lrm_state, server, port, server 39 include/crm/cib.h cib_t *cib_remote_new(const char *server, const char *user, const char *passwd, int port, server 132 include/crm/common/ipc.h int pcmk_new_ipc_api(pcmk_ipc_api_t **api, enum pcmk_ipc_server server); server 131 include/crm/common/mainloop.h void mainloop_del_ipc_server(qb_ipcs_service_t * server); server 109 include/crm/lrmd.h lrmd_t *lrmd_remote_api_new(const char *nodename, const char *server, int port); server 22 include/crm/lrmd_internal.h int lrmd__new(lrmd_t **api, const char *nodename, const char *server, int port); server 31 include/crm/pengine/remote_internal.h const char *server, const char *port); server 615 lib/cib/cib_client.c const char *server = getenv("CIB_server"); server 634 lib/cib/cib_client.c if (pcmk__str_empty(server)) { server 635 lib/cib/cib_client.c server = "localhost"; server 639 lib/cib/cib_client.c (encrypted? "encrypted" : "plain-text"), server, port, user); server 640 lib/cib/cib_client.c return cib_remote_new(server, user, pass, port, encrypted); server 47 lib/cib/cib_remote.c char *server; server 383 lib/cib/cib_remote.c rc = pcmk__connect_remote(private->server, private->port, 0, NULL, server 387 lib/cib/cib_remote.c private->server, private->port, pcmk_rc_str(rc), rc); server 416 lib/cib/cib_remote.c private->server, private->port, server 501 lib/cib/cib_remote.c if (private->server == NULL || private->user == NULL) { server 526 lib/cib/cib_remote.c private->server, private->port, name); server 532 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); server 566 lib/cib/cib_remote.c free(private->server); server 642 lib/cib/cib_remote.c cib_remote_new(const char *server, const char *user, const char *passwd, int port, server 662 lib/cib/cib_remote.c private->server = pcmk__str_copy(server); server 258 lib/common/crmcommon_private.h enum pcmk_ipc_server server; // Daemon this IPC API instance is for server 51 lib/common/ipc_client.c pcmk_new_ipc_api(pcmk_ipc_api_t **api, enum pcmk_ipc_server server) server 62 lib/common/ipc_client.c (*api)->server = server; server 72 lib/common/ipc_client.c switch (server) { server 252 lib/common/ipc_client.c switch (api->server) { server 756 lib/common/ipc_client.c switch (api->server) { server 651 lib/common/mainloop.c qb_ipcs_service_t *server = NULL; server 657 lib/common/mainloop.c server = qb_ipcs_create(name, 0, pick_ipc_type(type), callbacks); server 659 lib/common/mainloop.c if (server == NULL) { server 666 lib/common/mainloop.c qb_ipcs_request_rate_limit(server, conv_libqb_prio2ratelimit(prio)); server 670 lib/common/mainloop.c qb_ipcs_enforce_buffer_size(server, crm_ipc_default_buffer_size()); server 671 lib/common/mainloop.c qb_ipcs_poll_handlers_set(server, &gio_poll_funcs); server 673 lib/common/mainloop.c rc = qb_ipcs_run(server); server 679 lib/common/mainloop.c return server; server 683 lib/common/mainloop.c mainloop_del_ipc_server(qb_ipcs_service_t * server) server 685 lib/common/mainloop.c if (server) { server 686 lib/common/mainloop.c qb_ipcs_destroy(server); server 1104 lib/common/remote.c const char *server = host; server 1116 lib/common/remote.c rc = getaddrinfo(server, NULL, &hints, &res); server 1121 lib/common/remote.c server, pcmk_rc_str(rc)); server 1126 lib/common/remote.c crm_err("Unable to get IP address info for %s: no result", server); server 1140 lib/common/remote.c server = res->ai_canonname; server 1142 lib/common/remote.c crm_debug("Got canonical name %s for %s", server, host); server 1148 lib/common/remote.c "%s " CRM_XS " rc=%d", server, port, pcmk_rc_str(rc), rc); server 88 lib/lrmd/lrmd_client.c char *server; server 1423 lib/lrmd/lrmd_client.c native->server, native->port, server 1440 lib/lrmd/lrmd_client.c native->server, native->port); server 1500 lib/lrmd/lrmd_client.c native->server, native->port); server 1582 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1595 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1651 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, timeout, &timer_id, server 1656 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1674 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, 0, NULL, server 1679 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); server 1706 lib/lrmd/lrmd_client.c crm_info("Client TLS connection established with Pacemaker Remote server %s:%d", native->server, server 2408 lib/lrmd/lrmd_client.c lrmd__new(lrmd_t **api, const char *nodename, const char *server, int port) server 2463 lib/lrmd/lrmd_client.c if ((nodename == NULL) && (server == NULL)) { server 2468 lib/lrmd/lrmd_client.c nodename = server; server 2469 lib/lrmd/lrmd_client.c } else if (server == NULL) { server 2470 lib/lrmd/lrmd_client.c server = nodename; server 2474 lib/lrmd/lrmd_client.c pvt->server = strdup(server); server 2475 lib/lrmd/lrmd_client.c if ((pvt->remote_nodename == NULL) || (pvt->server == NULL)) { server 2505 lib/lrmd/lrmd_client.c lrmd_remote_api_new(const char *nodename, const char *server, int port) server 2509 lib/lrmd/lrmd_client.c pcmk__assert(lrmd__new(&api, nodename, server, port) == pcmk_rc_ok); server 2529 lib/lrmd/lrmd_client.c free(native->server); server 344 lib/pacemaker/pcmk_cluster_queries.c ipc_connect(data_t *data, enum pcmk_ipc_server server, pcmk_ipc_callback_t cb, server 351 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk_new_ipc_api(&api, server); server 128 lib/pengine/remote.c const char *server, const char *port) server 159 lib/pengine/remote.c if (port || server) { server 162 lib/pengine/remote.c if (server) { server 163 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, PCMK_REMOTE_RA_ADDR, server); server 152 maint/gnulib/lib/uname.c #define VERSION2(major, minor, workstation, server) \ server 153 maint/gnulib/lib/uname.c { major, minor, sizeof workstation, workstation "\0" server } server 31 maint/gnulib/tests/socket-server.h int server; server 34 maint/gnulib/tests/socket-server.h server = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP); server 35 maint/gnulib/tests/socket-server.h if (server < 0) server 49 maint/gnulib/tests/socket-server.h if (setsockopt (server, SOL_SOCKET, SO_REUSEADDR, &flag, server 75 maint/gnulib/tests/socket-server.h if (bind (server, (const struct sockaddr *) &addr, sizeof (addr)) < 0) server 88 maint/gnulib/tests/socket-server.h if (getsockname (server, (struct sockaddr *) &addr, &addrlen) < 0) server 97 maint/gnulib/tests/socket-server.h if (listen (server, max_backlog) < 0) server 105 maint/gnulib/tests/socket-server.h return server; server 110 maint/gnulib/tests/socket-server.h create_server_socket (int server) server 114 maint/gnulib/tests/socket-server.h int connected_socket = accept (server, (struct sockaddr *) &addr, &addrlen); server 48 maint/gnulib/tests/test-nonblocking-socket-main.c int server; server 58 maint/gnulib/tests/test-nonblocking-socket-main.c server = create_server (0, 1, &port); server 88 maint/gnulib/tests/test-nonblocking-socket-main.c server_socket = create_server_socket (server); server 624 tools/crm_node.c purge_node_from(enum pcmk_ipc_server server, const char *node_name, server 630 tools/crm_node.c rc = pcmk_new_ipc_api(&api, server);