Searched refs:num_ports (Results 1 – 8 of 8) sorted by relevance
398 def __init__(self, num_ports=None): argument404 self._num_ports = num_ports
89 for (l = 0; l < adaptor_info[i].num_ports && !found_port; ++l) in GetPort()
83 options->num_ports = 0; in initialize_server_options()216 if (options->num_ports == 0) in fill_default_server_options()217 options->ports[options->num_ports++] = SSH_DEFAULT_PORT; in fill_default_server_options()626 for (i = 0; i < options->num_ports; i++) in add_listen_addr()681 if (options->num_ports == 0) in process_queued_listen_addrs()682 options->ports[options->num_ports++] = SSH_DEFAULT_PORT; in process_queued_listen_addrs()1014 if (options->num_ports >= MAX_PORTS) in process_server_config_line()1021 options->ports[options->num_ports++] = a2port(arg); in process_server_config_line()1022 if (options->ports[options->num_ports-1] <= 0) in process_server_config_line()2198 for (i = 0; i < o->num_ports; i++) in dump_config()
58 u_int num_ports; member
1566 if (options.num_ports >= MAX_PORTS) {1570 options.ports[options.num_ports++] = a2port(optarg);1571 if (options.ports[options.num_ports-1] <= 0) {
358 int num_ports; /* RO: number of ports */ member
76 for (unsigned int k = 0; k < adaptor_info[j].num_ports && !*found_port; ++k) { in Validate()
2788 unsigned int num_ports; in wpa_config_set_cred_req_conn_capab() local2813 num_ports = 0; in wpa_config_set_cred_req_conn_capab()2816 nports = os_realloc_array(ports, num_ports + 1, sizeof(int)); in wpa_config_set_cred_req_conn_capab()2822 ports[num_ports++] = atoi(pos); in wpa_config_set_cred_req_conn_capab()2830 nports = os_realloc_array(ports, num_ports + 1, sizeof(int)); in wpa_config_set_cred_req_conn_capab()2836 ports[num_ports] = -1; in wpa_config_set_cred_req_conn_capab()