Searched refs:num_ports (Results 1 - 4 of 4) sorted by relevance

/macosx-10.9.5/Heimdal-323.92.1/kdc/
H A Dconnect.c63 static size_t num_ports; variable
90 for(i = 0; i < num_ports; i++){
96 ports = realloc(ports, (num_ports + 1) * sizeof(*ports));
99 ports[num_ports].family = family;
100 ports[num_ports].type = type;
101 ports[num_ports].port = port;
102 num_ports++;
362 d = calloc(addresses.len * num_ports, sizeof(*d));
365 (unsigned long)num_ports * sizeof(*d));
367 for (i = 0; i < num_ports;
[all...]
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dservconf.h58 u_int num_ports; member in struct:__anon3339
H A Dservconf.c72 options->num_ports = 0;
181 if (options->num_ports == 0)
182 options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
552 if (options->num_ports == 0)
553 options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
557 for (i = 0; i < options->num_ports; i++)
889 if (options->num_ports >= MAX_PORTS)
896 options->ports[options->num_ports++] = a2port(arg);
897 if (options->ports[options->num_ports-1] <= 0)
1924 for (i = 0; i < o->num_ports;
[all...]
H A Dsshd.c1448 if (options.num_ports >= MAX_PORTS) {
1452 options.ports[options.num_ports++] = a2port(optarg);
1453 if (options.ports[options.num_ports-1] <= 0) {

Completed in 80 milliseconds