port 56 daemons/based/based_remote.c int init_remote_listener(int port, gboolean encrypted); port 75 daemons/based/based_remote.c init_remote_listener(int port, gboolean encrypted) port 87 daemons/based/based_remote.c if (port <= 0) { port 95 daemons/based/based_remote.c crm_notice("Starting TLS listener on port %d", port); port 102 daemons/based/based_remote.c crm_warn("Starting plain-text listener on port %d", port); port 135 daemons/based/based_remote.c saddr.sin_port = htons(port); port 150 daemons/based/based_remote.c crm_debug("Started listener on port %d", port); port 34 daemons/based/pacemaker-based.c extern int init_remote_listener(int port, gboolean encrypted); port 418 daemons/based/pacemaker-based.c int port = 0; port 424 daemons/based/pacemaker-based.c pcmk__scan_port(crm_element_value(cib, PCMK_XA_REMOTE_TLS_PORT), &port); port 425 daemons/based/pacemaker-based.c if (port >= 0) { port 426 daemons/based/pacemaker-based.c remote_tls_fd = init_remote_listener(port, TRUE); port 430 daemons/based/pacemaker-based.c &port); port 431 daemons/based/pacemaker-based.c if (port >= 0) { port 432 daemons/based/pacemaker-based.c remote_fd = init_remote_listener(port, FALSE); port 607 daemons/controld/controld_execd_state.c int port, int timeout_ms) port 614 daemons/controld/controld_execd_state.c rc = lrmd__new(&api, lrm_state->node_name, server, port); port 617 daemons/controld/controld_execd_state.c QB_XS " rc=%d", server, port, pcmk_rc_str(rc), rc); port 627 daemons/controld/controld_execd_state.c server, port, timeout_ms); port 124 daemons/controld/controld_lrm.h int port, int timeout); port 858 daemons/controld/controld_remote_ra.c int port = 0; port 870 daemons/controld/controld_remote_ra.c port = atoi(tmp->value); port 878 daemons/controld/controld_remote_ra.c rc = controld_connect_remote_executor(lrm_state, server, port, port 48 daemons/execd/pacemaker-execd.c gchar *port; port 392 daemons/execd/pacemaker-execd.c { "port", 'p', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.port, port 503 daemons/execd/pacemaker-execd.c if (options.port != NULL) { port 504 daemons/execd/pacemaker-execd.c pcmk__set_env_option(PCMK__ENV_REMOTE_PORT, options.port, false); port 557 daemons/execd/pacemaker-execd.c g_free(options.port); port 324 daemons/execd/remoted_tls.c get_address_info(const char *bind_name, int port, struct addrinfo **res) port 336 daemons/execd/remoted_tls.c snprintf(port_str, sizeof(port_str), "%d", port); port 354 daemons/execd/remoted_tls.c int port = crm_default_remote_port(); port 367 daemons/execd/remoted_tls.c (bind_name? bind_name : "all addresses on"), port); port 391 daemons/execd/remoted_tls.c if (get_address_info(bind_name, port, &res) != pcmk_rc_ok) { port 426 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 35 include/crm/common/remote_internal.h int pcmk__connect_remote(const char *host, int port, int timeout_ms, port 55 include/crm/common/strings_internal.h int pcmk__scan_port(const char *text, int *port); port 98 include/crm/lrmd.h lrmd_t *lrmd_remote_api_new(const char *nodename, const char *server, int port); port 27 include/crm/lrmd_internal.h int lrmd__new(lrmd_t **api, const char *nodename, const char *server, int port); port 31 include/crm/pengine/remote_internal.h const char *server, const char *port); port 346 include/crm/stonith-ng.h const char *port, int timeout); port 569 lib/cib/cib_client.c int port; port 589 lib/cib/cib_client.c pcmk__scan_port(value, &port); port 608 lib/cib/cib_client.c (encrypted? "encrypted" : "plain-text"), server, port, user); port 609 lib/cib/cib_client.c return cib_remote_new(server, user, pass, port, encrypted); port 42 lib/cib/cib_remote.c int port; port 369 lib/cib/cib_remote.c rc = pcmk__connect_remote(private->server, private->port, 0, NULL, port 373 lib/cib/cib_remote.c private->server, private->port, pcmk_rc_str(rc), rc); port 397 lib/cib/cib_remote.c private->server, private->port, port 517 lib/cib/cib_remote.c private->server, private->port, name); port 523 lib/cib/cib_remote.c private->server, private->port, name, pcmk_strerror(rc)); port 623 lib/cib/cib_remote.c cib_remote_new(const char *server, const char *user, const char *passwd, int port, port 646 lib/cib/cib_remote.c private->port = port; port 813 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id, port 865 lib/common/remote.c "%s " QB_XS " rc=%d", server, port, pcmk_rc_str(rc), rc); port 872 lib/common/remote.c ((struct sockaddr_in6 *)(void*)addr)->sin6_port = htons(port); port 874 lib/common/remote.c ((struct sockaddr_in *)(void*)addr)->sin_port = htons(port); port 879 lib/common/remote.c crm_info("Attempting remote connection to %s:%d", buffer, port); port 1010 lib/common/remote.c static int port = 0; port 1012 lib/common/remote.c if (port == 0) { port 1017 lib/common/remote.c port = strtol(env, NULL, 10); port 1018 lib/common/remote.c if (errno || (port < 1) || (port > 65535)) { port 1022 lib/common/remote.c port = DEFAULT_REMOTE_PORT; port 1025 lib/common/remote.c port = DEFAULT_REMOTE_PORT; port 1028 lib/common/remote.c return port; port 150 lib/common/strings.c pcmk__scan_port(const char *text, int *port) port 165 lib/common/strings.c if (port != NULL) { port 166 lib/common/strings.c *port = (int) port_ll; port 659 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port, port 662 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, PCMK_ACTION_STATUS, port, port 81 lib/lrmd/lrmd_client.c int port; port 1379 lib/lrmd/lrmd_client.c native->server, native->port, port 1402 lib/lrmd/lrmd_client.c native->server, native->port); port 1452 lib/lrmd/lrmd_client.c native->server, native->port); port 1533 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1559 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1612 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, timeout, &timer_id, port 1617 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1632 lib/lrmd/lrmd_client.c rc = pcmk__connect_remote(native->server, native->port, 0, NULL, port 1637 lib/lrmd/lrmd_client.c native->server, native->port, pcmk_rc_str(rc), rc); port 1675 lib/lrmd/lrmd_client.c native->port); port 2368 lib/lrmd/lrmd_client.c lrmd__new(lrmd_t **api, const char *nodename, const char *server, int port) port 2439 lib/lrmd/lrmd_client.c pvt->port = port; port 2440 lib/lrmd/lrmd_client.c if (pvt->port == 0) { port 2441 lib/lrmd/lrmd_client.c pvt->port = crm_default_remote_port(); port 2457 lib/lrmd/lrmd_client.c lrmd_remote_api_new(const char *nodename, const char *server, int port) port 2461 lib/lrmd/lrmd_client.c pcmk__assert(lrmd__new(&api, nodename, server, port) == pcmk_rc_ok); port 514 lib/pengine/bundle.c pe__bundle_port_t *port = (pe__bundle_port_t *) iter->data; port 521 lib/pengine/bundle.c " -p ", replica->ipaddr, ":", port->source, port 522 lib/pengine/bundle.c ":", port->target, NULL); port 528 lib/pengine/bundle.c " -p ", port->source, ":", port->target, port 856 lib/pengine/bundle.c port_free(pe__bundle_port_t *port) port 858 lib/pengine/bundle.c free(port->source); port 859 lib/pengine/bundle.c free(port->target); port 860 lib/pengine/bundle.c free(port); port 1042 lib/pengine/bundle.c pe__bundle_port_t *port = port 1045 lib/pengine/bundle.c port->source = crm_element_value_copy(xml_child, PCMK_XA_PORT); port 1047 lib/pengine/bundle.c if(port->source == NULL) { port 1048 lib/pengine/bundle.c port->source = crm_element_value_copy(xml_child, PCMK_XA_RANGE); port 1050 lib/pengine/bundle.c port->target = crm_element_value_copy(xml_child, port 1054 lib/pengine/bundle.c if(port->source != NULL && strlen(port->source) > 0) { port 1055 lib/pengine/bundle.c if(port->target == NULL) { port 1056 lib/pengine/bundle.c port->target = strdup(port->source); port 1058 lib/pengine/bundle.c bundle_data->ports = g_list_append(bundle_data->ports, port); port 1063 lib/pengine/bundle.c port_free(port); port 1157 lib/pengine/bundle.c pe__bundle_port_t *port = NULL; port 1194 lib/pengine/bundle.c port = pcmk__assert_alloc(1, sizeof(pe__bundle_port_t)); port 1196 lib/pengine/bundle.c port->source = strdup(bundle_data->control_port); port 1207 lib/pengine/bundle.c port->source = pcmk__itoa(DEFAULT_REMOTE_PORT); port 1209 lib/pengine/bundle.c port->target = strdup(port->source); port 1210 lib/pengine/bundle.c bundle_data->ports = g_list_append(bundle_data->ports, port); port 131 lib/pengine/remote.c const char *server, const char *port) port 162 lib/pengine/remote.c if (port || server) { port 168 lib/pengine/remote.c if (port) { port 169 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, PCMK_REMOTE_RA_PORT, port);