Lines Matching defs:servers
378 ad_disc_ds_t *servers = NULL;
444 if ((servers = calloc(count + 1, sizeof (*servers))) == NULL) {
460 servers[i].priority = 0;
461 servers[i].weight = 100;
462 servers[i].port = defport;
467 servers[i].port = strtol(portstr,
469 if (servers[i].port == 0)
470 servers[i].port = defport;
484 if (len >= sizeof (servers->host)) {
495 "%d", servers[i].port);
505 (void) strlcpy(servers[i].host, host,
506 sizeof (servers->host));
507 (void) memcpy(&servers[i].addr, ai->ai_addr, ai->ai_addrlen);
519 free(servers);
520 servers = NULL;
522 *val = servers;
532 if (servers)
533 free(servers);
2048 * get the forest information from the global catalog servers.