HomeSort by: relevance | last modified time | path
    Searched defs:hosts (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/external/bsd/ipf/dist/lib/
load_url.c 16 alist_t *hosts = NULL; local
23 hosts = load_file(url);
26 hosts = load_file(url);
29 hosts = load_http(url);
32 return hosts;
  /src/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
referral.c 46 char **hosts = NULL; local
90 hosts = ldap_str2charray( hostlist, " " );
92 if( hosts == NULL ) {
98 for( i=0; hosts[i] != NULL; i++) {
101 url.bv_len = STRLENOF( "ldap://" ) + strlen( hosts[i] );
105 strcpy( &url.bv_val[STRLENOF( "ldap://" )], hosts[i] );
131 if( hosts != NULL ) ldap_charray_free( hosts );
search.c 47 char **hosts = NULL; local
98 hosts = ldap_str2charray( hostlist, " " );
100 if( hosts == NULL ) {
107 for( i=0; hosts[i] != NULL; i++) {
110 url.bv_len = STRLENOF( "ldap://" ) + strlen(hosts[i]);
114 strcpy( &url.bv_val[STRLENOF( "ldap://" )], hosts[i] );
241 if( hosts != NULL ) ldap_charray_free( hosts );
  /src/tests/lib/libc/gen/
t_sethostname.c 43 static const char hosts[][MAXHOSTNAMELEN] = { variable
62 for (i = 0; i < __arraycount(hosts); i++) {
66 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i])) == 0);
68 ATF_REQUIRE(strcmp(hosts[i], name) == 0);
  /src/external/bsd/am-utils/dist/amd/
sun_map_parse.y 292 location : hosts ':' WORD {
329 hosts : host label
330 | host ',' hosts
  /src/usr.sbin/ypserv/revnetgroup/
revnetgroup.c 92 int hosts = -1; local
100 if (hosts != -1) {
104 hosts = 0;
107 if (hosts != -1) {
111 hosts = 1;
122 if (hosts == -1)
159 if (hosts) {
  /src/external/ibm-public/postfix/dist/src/global/
own_inet_addr.c 84 char *hosts; local
147 bufp = hosts = mystrdup(var_inet_interfaces);
152 myfree(hosts);
233 char *hosts; local
243 bufp = hosts = mystrdup(var_proxy_interfaces);
248 myfree(hosts);
dict_pgsql.c 131 int len_hosts; /* number of hosts */
132 HOST **db_hosts; /* hosts on which databases reside */
150 ARGV *hosts; member in struct:__anon23079
370 /* try not to hammer the dead hosts too often */
425 * Try the remaining hosts. "count" is a safety net, in case the loop
426 * takes more than RETRY_CONN_INTV and the dead hosts are no longer
627 char *hosts; local
684 hosts = cfg_get_str(p, "hosts", "", 0, 0);
686 dict_pgsql->hosts = argv_split(hosts, CHARS_COMMA_SP)
    [all...]
dict_mysql.c 22 /* sql servers on different hosts. It assumes that the underlying data
148 int len_hosts; /* number of hosts */
149 HOST **db_hosts; /* the hosts on which the databases
168 ARGV *hosts; member in struct:__anon23076
362 /* try not to hammer the dead hosts too often */
417 * Try the remaining hosts. "count" is a safety net, in case the loop
418 * takes more than RETRY_CONN_INTV and the dead hosts are no longer
463 /* In case all hosts are down. */
691 char *hosts; local
752 hosts = cfg_get_str(p, "hosts", "", 0, 0)
    [all...]
  /src/tests/lib/libpthread/
h_resolv.c 50 static StringList *hosts = NULL; variable
86 sl_add(hosts, strdup(ptr));
98 size_t i = (random() & 0x0fffffff) % hosts->sl_cur;
99 char *host = hosts->sl_str[i];
149 hosts = sl_init();
171 if (hosts->sl_cur == 0)
176 if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL)
178 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL)
200 for (i = 0; i < (int)hosts->sl_cur; i++) {
203 hosts->sl_str[i], ask[i], got[i])
    [all...]
  /src/usr.bin/rdist/
main.c 130 fprintf(stderr, "rdist: too many destination hosts\n");
256 struct namelist *files, *hosts; local
281 hosts = expand(&tnl, E_ALL);
296 printf("hosts = ");
297 prnames(hosts);
299 insert(NULL, files, hosts, cmds);
302 freenl(hosts);
  /src/usr.bin/systat/
netcmds.c 72 } *hosts = NULL; variable in typeref:struct:hitem
119 else if (strstr(args, "hosts") == args)
300 if (hosts == 0)
302 free((char *)hosts), hosts = 0;
306 for (p = hosts; p < hosts+nhosts; p++)
313 if (reallocarr(&hosts, nhosts + 1, sizeof(*p)) != 0) {
317 p = &hosts[nhosts++];
329 if (hosts)
    [all...]
  /src/usr.bin/rup/
rup.c 70 } *hosts; variable in typeref:struct:host_list
83 if (!hosts)
86 for (hp = hosts; hp != NULL; hp = hp->next) {
117 hp->next = hosts;
133 hosts = hp;
383 (void)fprintf(stderr, "Usage: %s [-dhlt] [hosts ...]\n",
  /src/usr.bin/rusers/
rusers.c 79 } *hosts; variable in typeref:struct:host_list
89 if (!hosts)
92 for (hp = hosts; hp != NULL; hp = hp->next) {
123 hp->next = hosts;
137 hosts = hp;
274 fprintf(stderr, "usage: %s [-la] [hosts ...]\n", getprogname());
  /src/crypto/external/bsd/openssh/dist/
hostfile.h 73 #define HKF_WANT_MATCH (1) /* return only matching hosts/addrs */
90 * If a parse error occurred, then "hosts" and subsequent options may be NULL.
99 const char *hosts; /* Raw hosts text, may be hashed or list multiple */ member in struct:hostkey_foreach_line
ssh-keyscan.c 316 char *hosts = c->c_output_name ? c->c_output_name : c->c_name; local
322 keyprint_one(hosts, key);
325 ohosts = hosts = xstrdup(hosts);
326 while ((host = strsep(&hosts, ",")) != NULL)
  /src/external/bsd/unbound/dist/services/cache/
infra.h 126 /** The hash table with hosts */
127 struct slabhash* hosts; member in struct:infra_cache
130 /** the hosts that are down are kept probed for recovery */
  /src/usr.sbin/rpcbind/
rpcbind.c 110 static char **hosts = NULL; variable
366 * If no hosts were specified, just bind to INADDR_ANY.
370 if (reallocarr(&hosts, nhostsbak, sizeof(*hosts)) != 0) {
371 syslog(LOG_ERR, "Can't grow hosts array");
375 hosts[0] = __UNCONST("*");
378 hosts[nhostsbak - 1] = __UNCONST("127.0.0.1");
380 hosts[nhostsbak - 1] = __UNCONST("::1");
406 if (inet_pton(AF_INET, hosts[nhostsbak],
414 hosts[nhostsbak], host_addr) == 1)
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/x509/
x509_local.h 32 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member in struct:X509_VERIFY_PARAM_st
  /src/crypto/external/bsd/openssl/dist/crypto/x509/
x509_local.h 32 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member in struct:X509_VERIFY_PARAM_st
  /src/crypto/external/bsd/openssl.old/dist/crypto/x509/
x509_local.h 29 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member in struct:X509_VERIFY_PARAM_st
  /src/usr.bin/getent/
getent.c 74 static int hosts(int, char *[]);
99 { "hosts", hosts, },
283 * hosts
298 hosts(int argc, char *argv[]) function
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
krbhst.c 193 struct krb5_krbhst_info *hosts, **index, **end; member in struct:krb5_krbhst_data
199 return kd->index == &kd->hosts;
330 for(h = kd->hosts; h; h = h->next)
540 /* no more hosts, so we're done here */
580 * Fetch hosts from plugin
910 for (h = handle->hosts; h != NULL; h = next) {
945 kd->end = kd->index = &kd->hosts;
950 * initialize `handle' to look for hosts of type `type' in realm `realm'
1062 handle->index = &handle->hosts;
1118 * return an malloced list of kadmin-hosts for `realm' in `hostlist
    [all...]
send_to_kdc.c 152 heim_array_t hosts; member in struct:krb5_sendto_ctx_data
177 heim_release(ctx->hosts);
187 (*ctx)->hosts = heim_array_create();
914 heim_array_append_value(ctx->hosts, host);
950 /* skip dead hosts */
1047 heim_array_iterate_f(ctx->hosts, &wait_ctx, wait_setup);
1048 heim_array_filter_f(ctx->hosts, &wait_ctx, wait_filter_dead);
1050 if (heim_array_get_length(ctx->hosts) == 0) {
1052 _krb5_debug(context, 5, "no more hosts to send/recv packets to/from "
1053 "trying to pulling more hosts");
    [all...]
  /src/usr.sbin/sysinst/
net.c 1090 * write the new contents of /etc/hosts to the specified file
1155 FILE *hosts; local
1172 * Add IPaddr/hostname to /etc/hosts.
1174 * Relies on ordered search of /etc/hosts. XXX YP?
1176 hosts = target_fopen("/etc/hosts", "a");
1177 if (hosts != 0) {
1178 scripting_fprintf(NULL, "cat <<EOF >>%s/etc/hosts\n",
1180 write_etc_hosts(hosts);
1181 (void)fclose(hosts);
    [all...]

Completed in 57 milliseconds

1 2