port 60 daemons/based/based_remote.c int init_remote_listener(int port, gboolean encrypted); port 88 daemons/based/based_remote.c init_remote_listener(int port, gboolean encrypted) port 100 daemons/based/based_remote.c if (port <= 0) { port 110 daemons/based/based_remote.c crm_notice("Starting TLS listener on port %d", port); port 121 daemons/based/based_remote.c crm_warn("Starting plain-text listener on port %d", port); port 153 daemons/based/based_remote.c saddr.sin_port = htons(port); port 168 daemons/based/based_remote.c crm_debug("Started listener on port %d", port); port 30 daemons/based/pacemaker-based.c extern int init_remote_listener(int port, gboolean encrypted); port 355 daemons/based/pacemaker-based.c int port = 0; port 361 daemons/based/pacemaker-based.c pcmk__scan_port(crm_element_value(cib, "remote-tls-port"), &port); port 362 daemons/based/pacemaker-based.c if (port >= 0) { port 363 daemons/based/pacemaker-based.c remote_tls_fd = init_remote_listener(port, TRUE); port 366 daemons/based/pacemaker-based.c pcmk__scan_port(crm_element_value(cib, "remote-clear-port"), &port); port 367 daemons/based/pacemaker-based.c if (port >= 0) { port 368 daemons/based/pacemaker-based.c remote_fd = init_remote_listener(port, FALSE); port 559 daemons/controld/controld_execd_state.c lrm_state_remote_connect_async(lrm_state_t * lrm_state, const char *server, int port, port 565 daemons/controld/controld_execd_state.c lrm_state->conn = lrmd_remote_api_new(lrm_state->node_name, server, port); port 573 daemons/controld/controld_execd_state.c crm_trace("initiating remote connection to %s at %d with timeout %d", server, port, timeout_ms); port 141 daemons/controld/controld_lrm.h int lrm_state_remote_connect_async(lrm_state_t * lrm_state, const char *server, int port, port 734 daemons/controld/controld_remote_ra.c int port = 0; port 743 daemons/controld/controld_remote_ra.c port = atoi(tmp->value); port 749 daemons/controld/controld_remote_ra.c return lrm_state_remote_connect_async(lrm_state, server, port, timeout_used); port 308 daemons/execd/remoted_tls.c get_address_info(const char *bind_name, int port, struct addrinfo **res) port 320 daemons/execd/remoted_tls.c snprintf(port_str, sizeof(port_str), "%d", port); port 334 daemons/execd/remoted_tls.c int port = crm_default_remote_port(); port 347 daemons/execd/remoted_tls.c (bind_name? bind_name : "all addresses on"), port); port 368 daemons/execd/remoted_tls.c if (get_address_info(bind_name, port, &res) != pcmk_ok) { port 403 daemons/execd/remoted_tls.c (bind_name? bind_name : "all addresses on"), port); port 39 include/crm/cib.h cib_t *cib_remote_new(const char *server, const char *user, const char *passwd, int port, port 21 include/crm/common/remote_internal.h int pcmk__connect_remote(const char *host, int port, int timeout_ms, port 46 include/crm/common/strings_internal.h int pcmk__scan_port(const char *text, int *port); port 144 include/crm/lrmd.h lrmd_t *lrmd_remote_api_new(const char *nodename, const char *server, int port); port 35 include/crm/pengine/remote_internal.h const char *server, const char *port); port 249 include/crm/stonith-ng.h int (*status)(stonith_t *st, int options, const char *id, const char *port, int timeout); port 295 lib/cib/cib_client.c int port; port 318 lib/cib/cib_client.c pcmk__scan_port(value, &port); port 336 lib/cib/cib_client.c return cib_remote_new(server, user, pass, port, encrypted); port 55 lib/cib/cib_remote.c int port; port 106 lib/cib/cib_remote.c cib_remote_new(const char *server, const char *user, const char *passwd, int port, port 129 lib/cib/cib_remote.c private->port = port; port 211 lib/cib/cib_remote.c rc = pcmk__connect_remote(private->server, private->port, 0, NULL, port 215 lib/cib/cib_remote.c private->server, private->port, pcmk_rc_str(rc), rc); port 240 lib/cib/cib_remote.c crm_err("Session creation for %s:%d failed", private->server, private->port); port 413 lib/cib/cib_remote.c private->server, private->port, name); port 419 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); port 1063 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id, port 1112 lib/common/remote.c "%s " CRM_XS " rc=%d", server, port, pcmk_rc_str(rc), rc); port 1119 lib/common/remote.c ((struct sockaddr_in6 *)(void*)addr)->sin6_port = htons(port); port 1121 lib/common/remote.c ((struct sockaddr_in *)(void*)addr)->sin_port = htons(port); port 1126 lib/common/remote.c crm_info("Attempting remote connection to %s:%d", buffer, port); port 1251 lib/common/remote.c static int port = 0; port 1253 lib/common/remote.c if (port == 0) { port 1258 lib/common/remote.c port = strtol(env, NULL, 10); port 1259 lib/common/remote.c if (errno || (port < 1) || (port > 65535)) { port 1262 lib/common/remote.c port = DEFAULT_REMOTE_PORT; port 1265 lib/common/remote.c port = DEFAULT_REMOTE_PORT; port 1268 lib/common/remote.c return port; port 161 lib/common/strings.c pcmk__scan_port(const char *text, int *port) port 173 lib/common/strings.c if (port != NULL) { port 174 lib/common/strings.c *port = (int) port_ll; port 1062 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port, port 1065 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); port 83 lib/lrmd/lrmd_client.c int port; port 1344 lib/lrmd/lrmd_client.c native->server, native->port); port 1383 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1398 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1419 lib/lrmd/lrmd_client.c native->server, native->port); port 1429 lib/lrmd/lrmd_client.c native->server, native->port); port 1443 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, timeout, &timer_id, port 1448 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1466 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, 0, NULL, port 1471 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1495 lib/lrmd/lrmd_client.c crm_err("Session creation for %s:%d failed", native->server, native->port); port 1504 lib/lrmd/lrmd_client.c native->port); port 2230 lib/lrmd/lrmd_client.c lrmd_remote_api_new(const char *nodename, const char *server, int port) port 2244 lib/lrmd/lrmd_client.c native->port = port; port 2245 lib/lrmd/lrmd_client.c if (native->port == 0) { port 2246 lib/lrmd/lrmd_client.c native->port = crm_default_remote_port(); port 252 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; port 256 lib/pengine/bundle.c replica->ipaddr, port->source, port 257 lib/pengine/bundle.c port->target); port 260 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); port 418 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; port 422 lib/pengine/bundle.c replica->ipaddr, port->source, port 423 lib/pengine/bundle.c port->target); port 426 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); port 588 lib/pengine/bundle.c pe__bundle_port_t *port = pIter->data; port 592 lib/pengine/bundle.c " --port=%s:%s:%s", port->target, port 593 lib/pengine/bundle.c replica->ipaddr, port->source); port 595 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); port 914 lib/pengine/bundle.c port_free(pe__bundle_port_t *port) port 916 lib/pengine/bundle.c free(port->source); port 917 lib/pengine/bundle.c free(port->target); port 918 lib/pengine/bundle.c free(port); port 1092 lib/pengine/bundle.c pe__bundle_port_t *port = calloc(1, sizeof(pe__bundle_port_t)); port 1093 lib/pengine/bundle.c port->source = crm_element_value_copy(xml_child, "port"); port 1095 lib/pengine/bundle.c if(port->source == NULL) { port 1096 lib/pengine/bundle.c port->source = crm_element_value_copy(xml_child, "range"); port 1098 lib/pengine/bundle.c port->target = crm_element_value_copy(xml_child, "internal-port"); port 1101 lib/pengine/bundle.c if(port->source != NULL && strlen(port->source) > 0) { port 1102 lib/pengine/bundle.c if(port->target == NULL) { port 1103 lib/pengine/bundle.c port->target = strdup(port->source); port 1105 lib/pengine/bundle.c bundle_data->ports = g_list_append(bundle_data->ports, port); port 1109 lib/pengine/bundle.c port_free(port); port 1196 lib/pengine/bundle.c pe__bundle_port_t *port = NULL; port 1240 lib/pengine/bundle.c port = calloc(1, sizeof(pe__bundle_port_t)); port 1242 lib/pengine/bundle.c port->source = strdup(bundle_data->control_port); port 1252 lib/pengine/bundle.c port->source = pcmk__itoa(DEFAULT_REMOTE_PORT); port 1254 lib/pengine/bundle.c port->target = strdup(port->source); port 1255 lib/pengine/bundle.c bundle_data->ports = g_list_append(bundle_data->ports, port); port 159 lib/pengine/remote.c const char *server, const char *port) port 190 lib/pengine/remote.c if (port || server) { port 197 lib/pengine/remote.c if (port) { port 198 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, "port", port);