port 59 cib/main.c extern int init_remote_listener(int port, gboolean encrypted); port 561 cib/main.c int port = 0; port 570 cib/main.c port = crm_parse_int(port_s, "0"); port 571 cib/main.c remote_tls_fd = init_remote_listener(port, TRUE); port 576 cib/main.c port = crm_parse_int(port_s, "0"); port 577 cib/main.c remote_fd = init_remote_listener(port, FALSE); port 66 cib/remote.c int init_remote_listener(int port, gboolean encrypted); port 95 cib/remote.c init_remote_listener(int port, gboolean encrypted) port 107 cib/remote.c if (port <= 0) { port 117 cib/remote.c crm_notice("Starting a tls listener on port %d.", port); port 127 cib/remote.c crm_warn("Starting a plain_text listener on port %d.", port); port 158 cib/remote.c saddr.sin_port = htons(port); port 134 crmd/crmd_lrm.h int lrm_state_remote_connect_async(lrm_state_t * lrm_state, const char *server, int port, port 571 crmd/lrm_state.c lrm_state_remote_connect_async(lrm_state_t * lrm_state, const char *server, int port, port 577 crmd/lrm_state.c lrm_state->conn = lrmd_remote_api_new(lrm_state->node_name, server, port); port 585 crmd/lrm_state.c crm_trace("initiating remote connection to %s at %d with timeout %d", server, port, timeout_ms); port 723 crmd/remote_lrmd_ra.c int port = 0; port 731 crmd/remote_lrmd_ra.c port = atoi(tmp->value); port 735 crmd/remote_lrmd_ra.c return lrm_state_remote_connect_async(lrm_state, server, port, timeout_used); port 168 include/crm/cib.h cib_t *cib_remote_new(const char *server, const char *user, const char *passwd, int port, port 150 include/crm/lrmd.h lrmd_t *lrmd_remote_api_new(const char *nodename, const char *server, int port); port 34 include/crm/pengine/remote.h const char *server, const char *port); port 236 include/crm/stonith-ng.h int (*status)(stonith_t *st, int options, const char *id, const char *port, int timeout); port 202 include/crm_internal.h int crm_remote_tcp_connect(const char *host, int port); port 203 include/crm_internal.h int crm_remote_tcp_connect_async(const char *host, int port, int timeout, /*ms */ port 317 lib/cib/cib_client.c int port = crm_parse_int(value, NULL); port 338 lib/cib/cib_client.c return cib_remote_new(server, user, pass, port, encrypted); port 65 lib/cib/cib_remote.c int port; port 115 lib/cib/cib_remote.c cib_remote_new(const char *server, const char *user, const char *passwd, int port, port 138 lib/cib/cib_remote.c private->port = port; port 222 lib/cib/cib_remote.c sock = crm_remote_tcp_connect(private->server, private->port); port 225 lib/cib/cib_remote.c private->port); port 244 lib/cib/cib_remote.c crm_err("Session creation for %s:%d failed", private->server, private->port); port 431 lib/cib/cib_remote.c crm_notice("%s: Opened connection to %s:%d", name, private->server, private->port); port 437 lib/cib/cib_remote.c name, private->server, private->port, pcmk_strerror(rc)); port 859 lib/common/remote.c crm_remote_tcp_connect_async(const char *host, int port, int timeout, port 911 lib/common/remote.c ((struct sockaddr_in6 *)(void*)addr)->sin6_port = htons(port); port 913 lib/common/remote.c ((struct sockaddr_in *)(void*)addr)->sin_port = htons(port); port 918 lib/common/remote.c crm_info("Attempting TCP connection to %s:%d", buffer, port); port 943 lib/common/remote.c crm_remote_tcp_connect(const char *host, int port) port 945 lib/common/remote.c return crm_remote_tcp_connect_async(host, port, -1, NULL, NULL, NULL); port 1035 lib/common/remote.c static int port = 0; port 1037 lib/common/remote.c if (port == 0) { port 1042 lib/common/remote.c port = strtol(env, NULL, 10); port 1043 lib/common/remote.c if (errno || (port < 1) || (port > 65535)) { port 1046 lib/common/remote.c port = DEFAULT_REMOTE_PORT; port 1049 lib/common/remote.c port = DEFAULT_REMOTE_PORT; port 1052 lib/common/remote.c return port; port 1505 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port, port 1508 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); port 91 lib/lrmd/lrmd_client.c int port; port 1135 lib/lrmd/lrmd_client.c native->server, native->port); port 1149 lib/lrmd/lrmd_client.c native->server, native->port, rc); port 1163 lib/lrmd/lrmd_client.c native->server, native->port); port 1173 lib/lrmd/lrmd_client.c native->server, native->port); port 1175 lib/lrmd/lrmd_client.c name = crm_strdup_printf("remote-lrmd-%s:%d", native->server, native->port); port 1196 lib/lrmd/lrmd_client.c sock = crm_remote_tcp_connect_async(native->server, native->port, timeout, port 1221 lib/lrmd/lrmd_client.c sock = crm_remote_tcp_connect(native->server, native->port); port 1243 lib/lrmd/lrmd_client.c crm_err("Session creation for %s:%d failed", native->server, native->port); port 1252 lib/lrmd/lrmd_client.c native->port); port 1258 lib/lrmd/lrmd_client.c native->server, native->port); port 1855 lib/lrmd/lrmd_client.c lrmd_remote_api_new(const char *nodename, const char *server, int port) port 1869 lib/lrmd/lrmd_client.c native->port = port; port 1870 lib/lrmd/lrmd_client.c if (native->port == 0) { port 1871 lib/lrmd/lrmd_client.c native->port = crm_default_remote_port(); port 256 lib/pengine/container.c container_port_t *port = pIter->data; port 260 lib/pengine/container.c tuple->ipaddr, port->source, port->target); port 263 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " -p %s:%s", port->source, port->target); port 419 lib/pengine/container.c container_port_t *port = pIter->data; port 423 lib/pengine/container.c port->target, tuple->ipaddr, port->source); port 425 lib/pengine/container.c offset += snprintf(buffer+offset, max-offset, " --port=%s:%s", port->target, port->source); port 722 lib/pengine/container.c static void port_free(container_port_t *port) port 724 lib/pengine/container.c free(port->source); port 725 lib/pengine/container.c free(port->target); port 726 lib/pengine/container.c free(port); port 906 lib/pengine/container.c container_port_t *port = calloc(1, sizeof(container_port_t)); port 907 lib/pengine/container.c port->source = crm_element_value_copy(xml_child, "port"); port 909 lib/pengine/container.c if(port->source == NULL) { port 910 lib/pengine/container.c port->source = crm_element_value_copy(xml_child, "range"); port 912 lib/pengine/container.c port->target = crm_element_value_copy(xml_child, "internal-port"); port 915 lib/pengine/container.c if(port->source != NULL && strlen(port->source) > 0) { port 916 lib/pengine/container.c if(port->target == NULL) { port 917 lib/pengine/container.c port->target = strdup(port->source); port 919 lib/pengine/container.c container_data->ports = g_list_append(container_data->ports, port); port 923 lib/pengine/container.c port_free(port); port 1003 lib/pengine/container.c container_port_t *port = NULL; port 1044 lib/pengine/container.c port = calloc(1, sizeof(container_port_t)); port 1046 lib/pengine/container.c port->source = strdup(container_data->control_port); port 1056 lib/pengine/container.c port->source = crm_itoa(DEFAULT_REMOTE_PORT); port 1058 lib/pengine/container.c port->target = strdup(port->source); port 1059 lib/pengine/container.c container_data->ports = g_list_append(container_data->ports, port); port 162 lib/pengine/remote.c const char *server, const char *port) port 193 lib/pengine/remote.c if (port || server) { port 199 lib/pengine/remote.c if (port) { port 200 lib/pengine/remote.c crm_create_nvpair_xml(xml_sub, NULL, "port", port); port 72 lrmd/remote_ctl.c int port; port 348 lrmd/remote_ctl.c options.port = atoi(optarg); port 384 lrmd/remote_ctl.c lrmd_conn = lrmd_remote_api_new(NULL, options.tls_host ? options.tls_host : "localhost", options.port); port 298 lrmd/tls_backend.c int port = crm_default_remote_port(); port 308 lrmd/tls_backend.c crm_notice("Starting TLS listener on port %d", port); port 337 lrmd/tls_backend.c snprintf(port_str, sizeof(port_str), "%d", port);