port               61 daemons/based/based_remote.c int init_remote_listener(int port, gboolean encrypted);
port               89 daemons/based/based_remote.c init_remote_listener(int port, gboolean encrypted)
port              101 daemons/based/based_remote.c     if (port <= 0) {
port              111 daemons/based/based_remote.c         crm_notice("Starting TLS listener on port %d", port);
port              122 daemons/based/based_remote.c         crm_warn("Starting plain-text listener on port %d", port);
port              154 daemons/based/based_remote.c     saddr.sin_port = htons(port);
port              169 daemons/based/based_remote.c     crm_debug("Started listener on port %d", port);
port               35 daemons/based/pacemaker-based.c extern int init_remote_listener(int port, gboolean encrypted);
port              416 daemons/based/pacemaker-based.c         int port = 0;
port              422 daemons/based/pacemaker-based.c         pcmk__scan_port(crm_element_value(cib, "remote-tls-port"), &port);
port              423 daemons/based/pacemaker-based.c         if (port >= 0) {
port              424 daemons/based/pacemaker-based.c             remote_tls_fd = init_remote_listener(port, TRUE);
port              427 daemons/based/pacemaker-based.c         pcmk__scan_port(crm_element_value(cib, "remote-clear-port"), &port);
port              428 daemons/based/pacemaker-based.c         if (port >= 0) {
port              429 daemons/based/pacemaker-based.c             remote_fd = init_remote_listener(port, FALSE);
port              595 daemons/controld/controld_execd_state.c                                  int port, int timeout_ms)
port              602 daemons/controld/controld_execd_state.c         rc = lrmd__new(&api, lrm_state->node_name, server, port);
port              605 daemons/controld/controld_execd_state.c                      CRM_XS " rc=%d", server, port, pcmk_rc_str(rc), rc);
port              615 daemons/controld/controld_execd_state.c               server, port, timeout_ms);
port              132 daemons/controld/controld_lrm.h                                      int port, int timeout);
port              859 daemons/controld/controld_remote_ra.c     int port = 0;
port              868 daemons/controld/controld_remote_ra.c             port = atoi(tmp->value);
port              874 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              409 daemons/execd/pacemaker-execd.c     { "port", 'p', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.port,
port              516 daemons/execd/pacemaker-execd.c     if (options.port != NULL) {
port              517 daemons/execd/pacemaker-execd.c         pcmk__set_env_option(PCMK__ENV_REMOTE_PORT, options.port, false);
port              570 daemons/execd/pacemaker-execd.c     g_free(options.port);
port              319 daemons/execd/remoted_tls.c get_address_info(const char *bind_name, int port, struct addrinfo **res)
port              331 daemons/execd/remoted_tls.c     snprintf(port_str, sizeof(port_str), "%d", port);
port              348 daemons/execd/remoted_tls.c     int port = crm_default_remote_port();
port              361 daemons/execd/remoted_tls.c               (bind_name? bind_name : "all addresses on"), port);
port              382 daemons/execd/remoted_tls.c     if (get_address_info(bind_name, port, &res) != pcmk_rc_ok) {
port              417 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               47 include/crm/common/strings_internal.h int pcmk__scan_port(const char *text, int *port);
port              149 include/crm/lrmd.h lrmd_t *lrmd_remote_api_new(const char *nodename, const char *server, int port);
port               22 include/crm/lrmd_internal.h int lrmd__new(lrmd_t **api, const char *nodename, const char *server, int port);
port               36 include/crm/pengine/remote_internal.h                               const char *server, const char *port);
port              325 include/crm/stonith-ng.h                   const char *port, int timeout);
port              608 lib/cib/cib_client.c     int port;
port              631 lib/cib/cib_client.c         pcmk__scan_port(value, &port);
port              649 lib/cib/cib_client.c         return cib_remote_new(server, user, pass, port, encrypted);
port               45 lib/cib/cib_remote.c     int port;
port              340 lib/cib/cib_remote.c     rc = pcmk__connect_remote(private->server, private->port, 0, NULL,
port              344 lib/cib/cib_remote.c                  private->server, private->port, pcmk_rc_str(rc), rc);
port              369 lib/cib/cib_remote.c             crm_err("Session creation for %s:%d failed", private->server, private->port);
port              477 lib/cib/cib_remote.c                  private->server, private->port, name);
port              483 lib/cib/cib_remote.c                  private->server, private->port, name, pcmk_strerror(rc));
port              593 lib/cib/cib_remote.c cib_remote_new(const char *server, const char *user, const char *passwd, int port,
port              617 lib/cib/cib_remote.c     private->port = port;
port             1068 lib/common/remote.c pcmk__connect_remote(const char *host, int port, int timeout, int *timer_id,
port             1120 lib/common/remote.c                      "%s " CRM_XS " rc=%d", server, port, pcmk_rc_str(rc), rc);
port             1127 lib/common/remote.c             ((struct sockaddr_in6 *)(void*)addr)->sin6_port = htons(port);
port             1129 lib/common/remote.c             ((struct sockaddr_in *)(void*)addr)->sin_port = htons(port);
port             1134 lib/common/remote.c         crm_info("Attempting remote connection to %s:%d", buffer, port);
port             1260 lib/common/remote.c     static int port = 0;
port             1262 lib/common/remote.c     if (port == 0) {
port             1267 lib/common/remote.c             port = strtol(env, NULL, 10);
port             1268 lib/common/remote.c             if (errno || (port < 1) || (port > 65535)) {
port             1272 lib/common/remote.c                 port = DEFAULT_REMOTE_PORT;
port             1275 lib/common/remote.c             port = DEFAULT_REMOTE_PORT;
port             1278 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              656 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port,
port              659 lib/fencing/st_client.c     return stonith_api_call(stonith, call_options, id, PCMK_ACTION_STATUS, port,
port               84 lib/lrmd/lrmd_client.c     int port;
port             1388 lib/lrmd/lrmd_client.c                                    native->server, native->port);
port             1427 lib/lrmd/lrmd_client.c                  native->server, native->port, pcmk_rc_str(rc), rc);
port             1442 lib/lrmd/lrmd_client.c                  native->server, native->port, pcmk_rc_str(rc), rc);
port             1463 lib/lrmd/lrmd_client.c                  native->server, native->port);
port             1473 lib/lrmd/lrmd_client.c              native->server, native->port);
port             1487 lib/lrmd/lrmd_client.c     rc = pcmk__connect_remote(native->server, native->port, timeout, &timer_id,
port             1492 lib/lrmd/lrmd_client.c                  native->server, native->port, pcmk_rc_str(rc), rc);
port             1510 lib/lrmd/lrmd_client.c     rc = pcmk__connect_remote(native->server, native->port, 0, NULL,
port             1515 lib/lrmd/lrmd_client.c                  native->server, native->port, pcmk_rc_str(rc), rc);
port             1539 lib/lrmd/lrmd_client.c         crm_err("Session creation for %s:%d failed", native->server, native->port);
port             1548 lib/lrmd/lrmd_client.c              native->port);
port             2247 lib/lrmd/lrmd_client.c lrmd__new(lrmd_t **api, const char *nodename, const char *server, int port)
port             2319 lib/lrmd/lrmd_client.c         pvt->port = port;
port             2320 lib/lrmd/lrmd_client.c         if (pvt->port == 0) {
port             2321 lib/lrmd/lrmd_client.c             pvt->port = crm_default_remote_port();
port             2344 lib/lrmd/lrmd_client.c lrmd_remote_api_new(const char *nodename, const char *server, int port)
port             2348 lib/lrmd/lrmd_client.c     CRM_ASSERT(lrmd__new(&api, nodename, server, port) == pcmk_rc_ok);
port              537 lib/pengine/bundle.c         pe__bundle_port_t *port = (pe__bundle_port_t *) iter->data;
port              544 lib/pengine/bundle.c                                    " -p ", replica->ipaddr, ":", port->source,
port              545 lib/pengine/bundle.c                                    ":", port->target, NULL);
port              551 lib/pengine/bundle.c                                    " -p ", port->source, ":", port->target,
port              558 lib/pengine/bundle.c                                    " --port=", port->target,
port              559 lib/pengine/bundle.c                                    ":", replica->ipaddr, ":", port->source,
port              563 lib/pengine/bundle.c                                    " --port=", port->target, ":", port->source,
port              885 lib/pengine/bundle.c port_free(pe__bundle_port_t *port)
port              887 lib/pengine/bundle.c     free(port->source);
port              888 lib/pengine/bundle.c     free(port->target);
port              889 lib/pengine/bundle.c     free(port);
port             1063 lib/pengine/bundle.c             pe__bundle_port_t *port = calloc(1, sizeof(pe__bundle_port_t));
port             1064 lib/pengine/bundle.c             port->source = crm_element_value_copy(xml_child, "port");
port             1066 lib/pengine/bundle.c             if(port->source == NULL) {
port             1067 lib/pengine/bundle.c                 port->source = crm_element_value_copy(xml_child, "range");
port             1069 lib/pengine/bundle.c                 port->target = crm_element_value_copy(xml_child, "internal-port");
port             1072 lib/pengine/bundle.c             if(port->source != NULL && strlen(port->source) > 0) {
port             1073 lib/pengine/bundle.c                 if(port->target == NULL) {
port             1074 lib/pengine/bundle.c                     port->target = strdup(port->source);
port             1076 lib/pengine/bundle.c                 bundle_data->ports = g_list_append(bundle_data->ports, port);
port             1080 lib/pengine/bundle.c                 port_free(port);
port             1163 lib/pengine/bundle.c         pe__bundle_port_t *port = NULL;
port             1200 lib/pengine/bundle.c         port = calloc(1, sizeof(pe__bundle_port_t));
port             1202 lib/pengine/bundle.c             port->source = strdup(bundle_data->control_port);
port             1212 lib/pengine/bundle.c             port->source = pcmk__itoa(DEFAULT_REMOTE_PORT);
port             1214 lib/pengine/bundle.c         port->target = strdup(port->source);
port             1215 lib/pengine/bundle.c         bundle_data->ports = g_list_append(bundle_data->ports, port);
port              163 lib/pengine/remote.c                      const char *server, const char *port)
port              194 lib/pengine/remote.c     if (port || server) {
port              201 lib/pengine/remote.c         if (port) {
port              202 lib/pengine/remote.c             crm_create_nvpair_xml(xml_sub, NULL, "port", port);
port              196 maint/gnulib/lib/getaddrinfo.c   int port = 0;
port              257 maint/gnulib/lib/getaddrinfo.c           port = strtoul (servname, &c, 10);
port              258 maint/gnulib/lib/getaddrinfo.c           if (*c || port > 0xffff)
port              260 maint/gnulib/lib/getaddrinfo.c           port = htons (port);
port              263 maint/gnulib/lib/getaddrinfo.c         port = se->s_port;
port              302 maint/gnulib/lib/getaddrinfo.c         if (port)
port              303 maint/gnulib/lib/getaddrinfo.c           sinp->sin6_port = port;
port              326 maint/gnulib/lib/getaddrinfo.c         if (port)
port              327 maint/gnulib/lib/getaddrinfo.c           sinp->sin_port = port;
port              494 maint/gnulib/lib/getaddrinfo.c           unsigned short int port
port              496 maint/gnulib/lib/getaddrinfo.c           if (servicelen <= snprintf (service, servicelen, "%u", port))
port               26 maint/gnulib/tests/socket-client.h create_client_socket (int port)
port               49 maint/gnulib/tests/socket-client.h     addr.sin_port = htons (port);
port               29 maint/gnulib/tests/socket-server.h create_server (int port, unsigned int max_backlog, int *pport)
port               42 maint/gnulib/tests/socket-server.h   if (port != 0)
port               73 maint/gnulib/tests/socket-server.h     addr.sin_port = htons (port);
port               82 maint/gnulib/tests/socket-server.h   if (port == 0)
port               94 maint/gnulib/tests/socket-server.h       port = ntohs (addr.sin_port);
port              104 maint/gnulib/tests/socket-server.h   *pport = port;
port               39 maint/gnulib/tests/test-nonblocking-socket-child.c   int port = atoi (argv[2]);
port               43 maint/gnulib/tests/test-nonblocking-socket-child.c   client_socket = create_client_socket (port);
port               49 maint/gnulib/tests/test-nonblocking-socket-main.c   int port;
port               58 maint/gnulib/tests/test-nonblocking-socket-main.c   server = create_server (0, 1, &port);
port               65 maint/gnulib/tests/test-nonblocking-socket-main.c     sprintf (port_arg, "%u", port);