crypto/libressl/crypto/x509/vpm_int.h
65
STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */
crypto/libressl/crypto/x509/x509_vfy.c
192
n = sk_OPENSSL_STRING_num(id->hosts);
crypto/libressl/crypto/x509/x509_vfy.c
197
name = sk_OPENSSL_STRING_value(id->hosts, i);
crypto/libressl/crypto/x509/x509_vfy.c
212
if (id->hosts && check_hosts(x, id) <= 0) {
crypto/libressl/crypto/x509/x509_vpm.c
142
if (mode == SET_HOST && id->hosts) {
crypto/libressl/crypto/x509/x509_vpm.c
143
string_stack_free(id->hosts);
crypto/libressl/crypto/x509/x509_vpm.c
144
id->hosts = NULL;
crypto/libressl/crypto/x509/x509_vpm.c
152
if (id->hosts == NULL &&
crypto/libressl/crypto/x509/x509_vpm.c
153
(id->hosts = sk_OPENSSL_STRING_new_null()) == NULL) {
crypto/libressl/crypto/x509/x509_vpm.c
158
if (!sk_OPENSSL_STRING_push(id->hosts, copy)) {
crypto/libressl/crypto/x509/x509_vpm.c
160
if (sk_OPENSSL_STRING_num(id->hosts) == 0) {
crypto/libressl/crypto/x509/x509_vpm.c
161
sk_OPENSSL_STRING_free(id->hosts);
crypto/libressl/crypto/x509/x509_vpm.c
162
id->hosts = NULL;
crypto/libressl/crypto/x509/x509_vpm.c
189
if (paramid->hosts) {
crypto/libressl/crypto/x509/x509_vpm.c
190
string_stack_free(paramid->hosts);
crypto/libressl/crypto/x509/x509_vpm.c
191
paramid->hosts = NULL;
crypto/libressl/crypto/x509/x509_vpm.c
332
if (test_x509_verify_param_copy_id(hosts, NULL)) {
crypto/libressl/crypto/x509/x509_vpm.c
333
if (dest->id->hosts) {
crypto/libressl/crypto/x509/x509_vpm.c
334
string_stack_free(dest->id->hosts);
crypto/libressl/crypto/x509/x509_vpm.c
335
dest->id->hosts = NULL;
crypto/libressl/crypto/x509/x509_vpm.c
337
if (id->hosts) {
crypto/libressl/crypto/x509/x509_vpm.c
338
dest->id->hosts =
crypto/libressl/crypto/x509/x509_vpm.c
339
sk_deep_copy(id->hosts, strdup, str_free);
crypto/libressl/crypto/x509/x509_vpm.c
340
if (dest->id->hosts == NULL)
crypto/openssh/clientloop.c
2069
hostspec_is_complex(const char *hosts)
crypto/openssh/clientloop.c
2074
if (strchr(hosts, '*') != NULL || strchr(hosts, '?') != NULL)
crypto/openssh/clientloop.c
2077
if ((cp = strchr(hosts, ',')) == NULL)
crypto/openssh/clientloop.c
2120
if (ctx->ip_str != NULL && strchr(l->hosts, ',') != NULL) {
crypto/openssh/clientloop.c
2139
if (hostspec_is_complex(l->hosts)) {
crypto/openssh/clientloop.c
2186
hashed ? "[HASHED]" : l->hosts);
crypto/openssh/hostfile.c
813
lineinfo.hosts = cp;
crypto/openssh/hostfile.c
818
if ((s = match_maybe_hashed(host, lineinfo.hosts,
crypto/openssh/hostfile.c
821
path, linenum, lineinfo.hosts);
crypto/openssh/hostfile.c
831
if ((s = match_maybe_hashed(ip, lineinfo.hosts,
crypto/openssh/hostfile.c
835
lineinfo.hosts);
crypto/openssh/hostfile.h
98
const char *hosts; /* Raw hosts text, may be hashed or list multiple */
crypto/openssh/ssh-keygen.c
1194
char *hashed, *cp, *hosts, *ohosts;
crypto/openssh/ssh-keygen.c
1195
int has_wild = l->hosts && strcspn(l->hosts, "*?!") != strlen(l->hosts);
crypto/openssh/ssh-keygen.c
1196
int was_hashed = l->hosts && l->hosts[0] == HASH_DELIM;
crypto/openssh/ssh-keygen.c
1210
l->linenum, l->hosts);
crypto/openssh/ssh-keygen.c
1218
ohosts = hosts = xstrdup(l->hosts);
crypto/openssh/ssh-keygen.c
1219
while ((cp = strsep(&hosts, ",")) != NULL && *cp != '\0') {
crypto/openssh/ssh-keyscan.c
344
char *hosts = c->c_output_name ? c->c_output_name : c->c_name;
crypto/openssh/ssh-keyscan.c
350
keyprint_one(hosts, key);
crypto/openssh/ssh-keyscan.c
353
ohosts = hosts = xstrdup(hosts);
crypto/openssh/ssh-keyscan.c
354
while ((host = strsep(&hosts, ",")) != NULL)
crypto/openssh/sshconnect.c
764
strncmp(l->hosts, HASH_MAGIC, strlen(HASH_MAGIC)) == 0 ?
crypto/openssh/sshconnect.c
765
"[hashed name]" : l->hosts);
lib/libc/net/getaddrinfo.c
1652
hosts, NULL, addrinfo_id_func, addrinfo_marshal_func,
lib/libc/net/gethostnamadr.c
530
hosts, (void *)nss_lt_name,
lib/libc/net/gethostnamadr.c
589
hosts, (void *)nss_lt_id,
libexec/dma/dns.c
140
struct mx_hostentry *hosts = NULL;
libexec/dma/dns.c
210
err = add_host(pref, outname, port, &hosts, &nhosts);
libexec/dma/dns.c
252
err = add_host(0, host, port, &hosts, &nhosts);
libexec/dma/dns.c
263
qsort(hosts, nhosts, sizeof(*hosts), sort_pref);
libexec/dma/dns.c
265
*hosts[nhosts].host = 0;
libexec/dma/dns.c
267
if (hosts != NULL)
libexec/dma/dns.c
268
free(hosts);
libexec/dma/dns.c
269
hosts = NULL;
libexec/dma/dns.c
272
*he = hosts;
libexec/dma/net.c
622
struct mx_hostentry *hosts, *h;
libexec/dma/net.c
648
error = dns_get_mx_list(host, port, &hosts, smarthost);
libexec/dma/net.c
657
for (h = hosts; *h->host != 0; h++) {
libexec/dma/net.c
674
free(hosts);
libexec/revnetgroup/revnetgroup.c
107
if (hosts == -1)
libexec/revnetgroup/revnetgroup.c
146
if (hosts ? host && strcmp(host,"-") : user && strcmp(user, "-"))
libexec/revnetgroup/revnetgroup.c
147
mstore(mtable, hosts ? host : user, gcur->key, domain);
libexec/revnetgroup/revnetgroup.c
77
int hosts = -1, i;
libexec/revnetgroup/revnetgroup.c
85
if (hosts != -1) {
libexec/revnetgroup/revnetgroup.c
89
hosts = 0;
libexec/revnetgroup/revnetgroup.c
92
if (hosts != -1) {
libexec/revnetgroup/revnetgroup.c
96
hosts = 1;
sbin/mountd/mountd.c
205
char **hosts = NULL;
sbin/mountd/mountd.c
310
hosts_bak = hosts;
sbin/mountd/mountd.c
311
hosts_bak = realloc(hosts, nhosts * sizeof(char *));
sbin/mountd/mountd.c
313
if (hosts != NULL) {
sbin/mountd/mountd.c
315
free(hosts[k]);
sbin/mountd/mountd.c
316
free(hosts);
sbin/mountd/mountd.c
320
hosts = hosts_bak;
sbin/mountd/mountd.c
321
hosts[nhosts - 1] = strdup(optarg);
sbin/mountd/mountd.c
322
if (hosts[nhosts - 1] == NULL) {
sbin/mountd/mountd.c
324
free(hosts[k]);
sbin/mountd/mountd.c
325
free(hosts);
sbin/mountd/mountd.c
383
hosts = malloc(sizeof(char *));
sbin/mountd/mountd.c
384
if (hosts == NULL)
sbin/mountd/mountd.c
386
hosts[0] = "*";
sbin/mountd/mountd.c
389
hosts_bak = hosts;
sbin/mountd/mountd.c
391
hosts_bak = realloc(hosts, (nhosts + 2) *
sbin/mountd/mountd.c
395
free(hosts[k]);
sbin/mountd/mountd.c
396
free(hosts);
sbin/mountd/mountd.c
399
hosts = hosts_bak;
sbin/mountd/mountd.c
401
hosts[nhosts - 2] = "::1";
sbin/mountd/mountd.c
403
hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *));
sbin/mountd/mountd.c
406
free(hosts[k]);
sbin/mountd/mountd.c
407
free(hosts);
sbin/mountd/mountd.c
411
hosts = hosts_bak;
sbin/mountd/mountd.c
414
hosts[nhosts - 1] = "127.0.0.1";
sbin/mountd/mountd.c
524
if (inet_pton(AF_INET, hosts[nhostsbak],
sbin/mountd/mountd.c
531
if (inet_pton(AF_INET6, hosts[nhostsbak],
sbin/mountd/mountd.c
539
if (inet_pton(AF_INET6, hosts[nhostsbak],
sbin/mountd/mountd.c
546
if (inet_pton(AF_INET, hosts[nhostsbak],
sbin/mountd/mountd.c
572
if (strcmp("*", hosts[nhostsbak]) == 0) {
sbin/mountd/mountd.c
618
if ((aicode = getaddrinfo(hosts[nhostsbak], svcport_str,
sys/netgraph/bridge/ng_bridge.c
481
+ (priv->numHosts * sizeof(*ary->hosts)), M_NOWAIT);
sys/netgraph/bridge/ng_bridge.c
490
ary->hosts[i++] = hent->host;
sys/netgraph/bridge/ng_bridge.h
133
struct ng_bridge_host hosts[0];
sys/netgraph7/bridge/ng_bridge.c
484
+ (priv->numHosts * sizeof(*ary->hosts)), M_WAITOK | M_NULLOK);
sys/netgraph7/bridge/ng_bridge.c
493
ary->hosts[i++] = hent->host;
sys/netgraph7/bridge/ng_bridge.h
134
struct ng_bridge_host hosts[];
usr.bin/getent/getent.c
68
static int hosts(int, char *[]);
usr.bin/getent/getent.c
89
{ "hosts", hosts, },
usr.bin/rup/rup.c
55
} *hosts;
usr.bin/rup/rup.c
62
if (hosts == NULL)
usr.bin/rup/rup.c
65
for (hp = hosts; hp != NULL; hp = hp->next) {
usr.bin/rup/rup.c
80
hp->next = hosts;
usr.bin/rup/rup.c
81
hosts = hp;
usr.bin/rusers/rusers.c
59
} *hosts;
usr.bin/rusers/rusers.c
66
if (hosts == NULL)
usr.bin/rusers/rusers.c
69
for (hp = hosts; hp != NULL; hp = hp->next) {
usr.bin/rusers/rusers.c
84
hp->next = hosts;
usr.bin/rusers/rusers.c
85
hosts = hp;
usr.bin/systat/netcmds.c
257
if (hosts == NULL)
usr.bin/systat/netcmds.c
259
free((char *)hosts), hosts = NULL;
usr.bin/systat/netcmds.c
263
for (p = hosts; p < hosts+nhosts; p++)
usr.bin/systat/netcmds.c
269
hosts = (struct hitem *)malloc(sizeof (*p));
usr.bin/systat/netcmds.c
271
hosts = (struct hitem *)realloc(hosts, (nhosts+1)*sizeof (*p));
usr.bin/systat/netcmds.c
272
p = &hosts[nhosts++];
usr.bin/systat/netcmds.c
283
if (hosts)
usr.bin/systat/netcmds.c
284
for (p = hosts; p < hosts+nhosts; p++) {
usr.bin/systat/netcmds.c
298
for (p = hosts; p < hosts+nhosts; p++) {
usr.bin/systat/netcmds.c
61
} *hosts;
usr.sbin/rpc.lockd/lockd.c
123
hosts_bak = hosts;
usr.sbin/rpc.lockd/lockd.c
124
hosts_bak = realloc(hosts, nhosts * sizeof(char *));
usr.sbin/rpc.lockd/lockd.c
126
if (hosts != NULL) {
usr.sbin/rpc.lockd/lockd.c
128
free(hosts[i]);
usr.sbin/rpc.lockd/lockd.c
129
free(hosts);
usr.sbin/rpc.lockd/lockd.c
133
hosts = hosts_bak;
usr.sbin/rpc.lockd/lockd.c
134
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpc.lockd/lockd.c
135
if (hosts[nhosts - 1] == NULL) {
usr.sbin/rpc.lockd/lockd.c
137
free(hosts[i]);
usr.sbin/rpc.lockd/lockd.c
138
free(hosts);
usr.sbin/rpc.lockd/lockd.c
183
hosts = malloc(sizeof(char**));
usr.sbin/rpc.lockd/lockd.c
184
if (hosts == NULL)
usr.sbin/rpc.lockd/lockd.c
187
hosts[0] = "*";
usr.sbin/rpc.lockd/lockd.c
190
hosts_bak = hosts;
usr.sbin/rpc.lockd/lockd.c
192
hosts_bak = realloc(hosts, (nhosts + 2) *
usr.sbin/rpc.lockd/lockd.c
196
free(hosts[i]);
usr.sbin/rpc.lockd/lockd.c
197
free(hosts);
usr.sbin/rpc.lockd/lockd.c
200
hosts = hosts_bak;
usr.sbin/rpc.lockd/lockd.c
203
hosts[nhosts - 2] = "::1";
usr.sbin/rpc.lockd/lockd.c
205
hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *));
usr.sbin/rpc.lockd/lockd.c
208
free(hosts[i]);
usr.sbin/rpc.lockd/lockd.c
210
free(hosts);
usr.sbin/rpc.lockd/lockd.c
214
hosts = hosts_bak;
usr.sbin/rpc.lockd/lockd.c
217
hosts[nhosts - 1] = "127.0.0.1";
usr.sbin/rpc.lockd/lockd.c
325
if (inet_pton(AF_INET, hosts[nhostsbak],
usr.sbin/rpc.lockd/lockd.c
332
if (inet_pton(AF_INET6, hosts[nhostsbak],
usr.sbin/rpc.lockd/lockd.c
340
if (inet_pton(AF_INET6, hosts[nhostsbak],
usr.sbin/rpc.lockd/lockd.c
347
if (inet_pton(AF_INET, hosts[nhostsbak],
usr.sbin/rpc.lockd/lockd.c
361
if (strcmp("*", hosts[nhostsbak]) == 0) {
usr.sbin/rpc.lockd/lockd.c
405
if ((aicode = getaddrinfo(hosts[nhostsbak], svcport_str,
usr.sbin/rpc.lockd/lockd.c
72
char **hosts, *svcport_str = NULL;
usr.sbin/rpc.statd/file.c
101
spare_slot = &status_info->hosts[status_info->noOfHosts];
usr.sbin/rpc.statd/file.c
199
HostInfo *this_host = &status_info->hosts[i];
usr.sbin/rpc.statd/file.c
275
for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++)
usr.sbin/rpc.statd/file.c
313
for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++)
usr.sbin/rpc.statd/file.c
82
for (i = 0, hp = status_info->hosts; i < status_info->noOfHosts; i++, hp++)
usr.sbin/rpc.statd/procs.c
231
for (i = status_info->noOfHosts, hp = status_info->hosts; i; i--, hp++)
usr.sbin/rpc.statd/procs.c
270
for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++)
usr.sbin/rpc.statd/statd.h
92
HostInfo hosts[1]; /* vector of monitored hosts */
usr.sbin/rpcbind/rpcbind.c
314
hosts = realloc(hosts, nhostsbak * sizeof(char *));
usr.sbin/rpcbind/rpcbind.c
316
hosts[0] = "*";
usr.sbin/rpcbind/rpcbind.c
319
hosts[nhostsbak - 1] = "127.0.0.1";
usr.sbin/rpcbind/rpcbind.c
321
hosts[nhostsbak - 1] = "::1";
usr.sbin/rpcbind/rpcbind.c
346
if (inet_pton(AF_INET, hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
354
hosts[nhostsbak], host_addr) == 1) {
usr.sbin/rpcbind/rpcbind.c
361
if (inet_pton(AF_INET6, hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
368
if (inet_pton(AF_INET, hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
389
if (strcmp("*", hosts[nhostsbak]) == 0)
usr.sbin/rpcbind/rpcbind.c
390
hosts[nhostsbak] = NULL;
usr.sbin/rpcbind/rpcbind.c
393
if ((aicode = getaddrinfo(hosts[nhostsbak],
usr.sbin/rpcbind/rpcbind.c
406
(hosts[nhostsbak] == NULL) ? "*" :
usr.sbin/rpcbind/rpcbind.c
407
hosts[nhostsbak], nconf->nc_netid);
usr.sbin/rpcbind/rpcbind.c
714
hosts = realloc(hosts, nhosts * sizeof(char *));
usr.sbin/rpcbind/rpcbind.c
715
if (hosts == NULL)
usr.sbin/rpcbind/rpcbind.c
717
hosts[nhosts - 1] = strdup(optarg);
usr.sbin/rpcbind/rpcbind.c
718
if (hosts[nhosts - 1] == NULL)
usr.sbin/rpcbind/rpcbind.c
85
char **hosts = NULL;