Searched refs:hosts (Results 1 - 25 of 71) sorted by relevance

123

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dload_url.c14 alist_t *hosts = NULL; local
21 hosts = load_file(url);
24 hosts = load_file(url);
27 hosts = load_http(url);
30 return hosts;
H A Dalist_free.c11 alist_free(hosts)
12 alist_t *hosts;
16 for (a = hosts; a != NULL; a = next) {
/freebsd-11-stable/crypto/openssl/crypto/x509/
H A Dvpm_int.h63 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ member in struct:X509_VERIFY_PARAM_ID_st
H A Dx509_vpm.c104 if (mode == SET_HOST && id->hosts) {
105 string_stack_free(id->hosts);
106 id->hosts = NULL;
115 if (id->hosts == NULL &&
116 (id->hosts = sk_OPENSSL_STRING_new_null()) == NULL) {
121 if (!sk_OPENSSL_STRING_push(id->hosts, copy)) {
123 if (sk_OPENSSL_STRING_num(id->hosts) == 0) {
124 sk_OPENSSL_STRING_free(id->hosts);
125 id->hosts = NULL;
152 if (paramid->hosts) {
[all...]
/freebsd-11-stable/etc/autofs/
H A Dspecial_hosts7 out=`getent hosts`
/freebsd-11-stable/etc/bluetooth/
H A DMakefile5 FILES= hcsecd.conf hosts protocols
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sethostname.c43 static const char hosts[][MAXHOSTNAMELEN] = { variable
64 for (i = 0; i < __arraycount(hosts); i++) {
73 ATF_REQUIRE_EQ(sizeof(hosts[i]), MAXHOSTNAMELEN);
76 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i]) - 1) == 0);
79 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i])) == 0);
82 ATF_REQUIRE(strcmp(hosts[i], name) == 0);
/freebsd-11-stable/crypto/openssh/regress/
H A Dkeygen-knownhosts.sh8 # Generate some keys for testing (just ed25519 for speed) and make a hosts file.
13 echo "# $x" >> $OBJ/kh.hosts
26 echo "" >> $OBJ/kh.hosts
27 ) >> $OBJ/kh.hosts
33 cat $OBJ/kh.hosts >> $OBJ/kh.invalid
37 cp $OBJ/kh.hosts $OBJ/kh.hosts.orig
86 # find key among multiple hosts
89 check_find host-h "find multiple hosts"
127 # find key among multiple hosts
[all...]
H A Dconch-ciphers.sh20 --known-hosts $OBJ/known_hosts --notty --noagent --nox11 -n \
/freebsd-11-stable/contrib/ntp/scripts/ntpsweep/
H A Dntpsweep.in49 my @hosts;
52 push @hosts, $opts->{host};
55 @hosts = read_hosts($hostsfile) if $hostsfile;
56 push @hosts, @{$opts->{'host-list'}};
67 scan_hosts(@hosts);
73 my (@hosts) = @_;
76 for $host (@hosts) {
83 my @hosts;
85 open my $hosts, $hostsfile
88 while (<$hosts>) {
[all...]
/freebsd-11-stable/libexec/revnetgroup/
H A Drevnetgroup.c80 int hosts = -1, i; local
88 if (hosts != -1) {
92 hosts = 0;
95 if (hosts != -1) {
99 hosts = 1;
110 if (hosts == -1)
149 if (hosts ? host && strcmp(host,"-") : user && strcmp(user, "-"))
150 mstore(mtable, hosts ? host : user, gcur->key, domain);
/freebsd-11-stable/etc/
H A Dnscd.conf8 enable-cache hosts yes
H A Dnsswitch.conf7 hosts: files dns
/freebsd-11-stable/usr.sbin/rpc.statd/
H A Dstatd.c63 char **hosts, *svcport_str = NULL; variable
104 hosts_bak = hosts;
105 hosts_bak = realloc(hosts, nhosts * sizeof(char *));
107 if (hosts != NULL) {
109 free(hosts[i]);
110 free(hosts);
114 hosts = hosts_bak;
115 hosts[nhosts - 1] = strdup(optarg);
116 if (hosts[nhosts - 1] == NULL) {
118 free(hosts[
[all...]
H A Dstatd.h41 Data structures for recording monitored hosts
43 The information held by the status monitor comprises a list of hosts
47 The list of monitored hosts must be retained over a crash, so that upon
48 re-boot we can call the SM_NOTIFY procedure in all those hosts so as to
54 We handle this by keeping the list of monitored hosts in a file
90 int noOfHosts; /* Number of elements in hosts[] */
92 HostInfo hosts[1]; /* vector of monitored hosts */ member in struct:__anon14133
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/
H A Dh_resolv.c50 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];
147 hosts = sl_init();
169 if (hosts->sl_cur == 0)
174 if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL)
176 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL)
196 for (i = 0; i < (int)hosts->sl_cur; i++) {
199 hosts
[all...]
/freebsd-11-stable/contrib/sendmail/contrib/
H A Detrn.pl54 my @hosts = @ARGV;
59 if (!@hosts) {
60 push(@hosts, $hostname);
87 push(@hosts, $thishost)
100 push(@hosts, $thishost)
108 # Do this automatically if no client hosts are specified.
206 while (@hosts) {
207 $server = shift(@hosts);
/freebsd-11-stable/usr.bin/systat/
H A Dnetcmds.c67 } *hosts; variable in typeref:struct:hitem
113 else if (prefix(args, "hosts"))
262 if (hosts == NULL)
264 free((char *)hosts), hosts = 0;
268 for (p = hosts; p < hosts+nhosts; p++)
274 hosts = (struct hitem *)malloc(sizeof (*p));
276 hosts = (struct hitem *)realloc(hosts, (nhost
[all...]
/freebsd-11-stable/contrib/dma/
H A Ddns.c140 struct mx_hostentry *hosts = NULL; local
210 err = add_host(pref, outname, port, &hosts, &nhosts);
252 err = add_host(0, host, port, &hosts, &nhosts);
263 qsort(hosts, nhosts, sizeof(*hosts), sort_pref);
265 *hosts[nhosts].host = 0;
267 if (hosts != NULL)
268 free(hosts);
269 hosts = NULL;
272 *he = hosts;
[all...]
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dlockd.c88 char **hosts, *svcport_str = NULL; variable
150 hosts_bak = realloc(hosts, nhosts * sizeof(char *));
152 if (hosts != NULL) {
154 free(hosts[i]);
155 free(hosts);
159 hosts = hosts_bak;
160 hosts[nhosts - 1] = strdup(optarg);
161 if (hosts[nhosts - 1] == NULL) {
163 free(hosts[i]);
164 free(hosts);
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dt_getaddrinfo.sh36 elif [ "$2" = "hosts" ] ; then
38 lcl=$( cat /etc/hosts | \
81 check_output basics hosts
96 check_output spec_fam hosts
136 check_output no_serv hosts
154 check_output sock_raw hosts
/freebsd-11-stable/share/man/man5/
H A DMakefile31 hosts.5 \
32 hosts.equiv.5 \
33 hosts.lpd.5 \
73 MLINKS+=hosts.equiv.5 rhosts.5
88 bluetooth.hosts.5 \
/freebsd-11-stable/lib/libwrap/
H A DMakefile16 hosts_options.5 hosts.allow.5
23 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
/freebsd-11-stable/lib/libc/tests/resolv/
H A Dresolv_test.c57 static StringList *hosts = NULL; variable
85 sl_add(hosts, strdup(ptr));
179 size_t i = (random() & 0x0fffffff) % hosts->sl_cur;
180 char *host = hosts->sl_str[i];
235 hosts = sl_init();
241 ATF_REQUIRE_MSG(0 < hosts->sl_cur, "0 hosts in %s", hostlist_file);
246 ask = calloc(hosts->sl_cur, sizeof(int));
249 got = calloc(hosts->sl_cur, sizeof(int));
268 for (i = 0; i < hosts
[all...]
/freebsd-11-stable/usr.sbin/rpcbind/
H A Drpcbind.c96 static char **hosts = NULL; variable
330 * If no hosts were specified, just bind to INADDR_ANY.
334 hosts = realloc(hosts, nhostsbak * sizeof(char *));
336 hosts[0] = "*";
339 hosts[nhostsbak - 1] = "127.0.0.1";
341 hosts[nhostsbak - 1] = "::1";
366 if (inet_pton(AF_INET, hosts[nhostsbak],
374 hosts[nhostsbak], host_addr) == 1) {
381 if (inet_pton(AF_INET6, hosts[nhostsba
[all...]

Completed in 145 milliseconds

123