Home
last modified time | relevance | path

Searched refs:hosts (Results 1 – 25 of 234) sorted by relevance

12345678910

/freebsd-13.1/crypto/openssh/regress/
H A Dkeygen-knownhosts.sh27 ) >> $OBJ/kh.hosts
37 cp $OBJ/kh.hosts $OBJ/kh.hosts.orig
164 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts
170 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts
173 diff $OBJ/kh.hosts $OBJ/kh.hosts.orig || fail "remove CA"
176 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts
179 diff $OBJ/kh.hosts $OBJ/kh.hosts.orig || fail "remove revoked"
182 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts
188 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts
199 cp $OBJ/kh.hosts.orig $OBJ/kh.hosts
[all …]
/freebsd-13.1/usr.sbin/rpc.statd/
H A Dstatd.c113 free(hosts); in main()
121 free(hosts[i]); in main()
122 free(hosts); in main()
161 if (hosts == NULL) in main()
167 hosts_bak = hosts; in main()
173 free(hosts[i]); in main()
174 free(hosts); in main()
177 hosts = hosts_bak; in main()
185 free(hosts[i]); in main()
187 free(hosts); in main()
[all …]
H A Dfile.c90 for (i = 0, hp = status_info->hosts; i < status_info->noOfHosts; i++, hp++) in find_host()
137 spare_slot = &status_info->hosts[status_info->noOfHosts]; in find_host()
233 HostInfo *this_host = &status_info->hosts[i]; in init_file()
311 for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++) in notify_hosts()
349 for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++) in notify_hosts()
/freebsd-13.1/usr.bin/systat/
H A Dnetcmds.c69 } *hosts; variable
264 if (hosts == NULL) in selecthost()
266 free((char *)hosts), hosts = 0; in selecthost()
270 for (p = hosts; p < hosts+nhosts; p++) in selecthost()
276 hosts = (struct hitem *)malloc(sizeof (*p)); in selecthost()
278 hosts = (struct hitem *)realloc(hosts, (nhosts+1)*sizeof (*p)); in selecthost()
279 p = &hosts[nhosts++]; in selecthost()
290 if (hosts) in checkhost()
291 for (p = hosts; p < hosts+nhosts; p++) in checkhost()
304 for (p = hosts; p < hosts+nhosts; p++) { in showhosts()
/freebsd-13.1/contrib/ntp/scripts/ntpsweep/
H A Dntpsweep.in49 my @hosts;
52 push @hosts, $opts->{host};
67 scan_hosts(@hosts);
73 my (@hosts) = @_;
76 for $host (@hosts) {
83 my @hosts;
85 open my $hosts, $hostsfile
88 while (<$hosts>) {
91 push @hosts, $_;
94 close $hosts;
[all …]
/freebsd-13.1/contrib/netbsd-tests/lib/libpthread/
H A Dh_resolv.c50 static StringList *hosts = NULL; variable
86 sl_add(hosts, strdup(ptr)); in load()
98 size_t i = (random() & 0x0fffffff) % hosts->sl_cur; in resolvone()
99 char *host = hosts->sl_str[i]; in resolvone()
147 hosts = sl_init(); in main()
169 if (hosts->sl_cur == 0) in main()
174 if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL) in main()
176 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL) in main()
196 for (i = 0; i < (int)hosts->sl_cur; i++) { in main()
199 hosts->sl_str[i], ask[i], got[i]); in main()
[all …]
/freebsd-13.1/usr.sbin/rpc.lockd/
H A Dlockd.c156 free(hosts[i]); in main()
157 free(hosts); in main()
161 hosts = hosts_bak; in main()
165 free(hosts[i]); in main()
166 free(hosts); in main()
227 if (hosts == NULL) in main()
238 free(hosts[i]); in main()
239 free(hosts); in main()
242 hosts = hosts_bak; in main()
250 free(hosts[i]); in main()
[all …]
/freebsd-13.1/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++) { in ATF_TC_BODY()
73 ATF_REQUIRE_EQ(sizeof(hosts[i]), MAXHOSTNAMELEN); in ATF_TC_BODY()
76 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i]) - 1) == 0); in ATF_TC_BODY()
79 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i])) == 0); in ATF_TC_BODY()
82 ATF_REQUIRE(strcmp(hosts[i], name) == 0); in ATF_TC_BODY()
/freebsd-13.1/libexec/revnetgroup/
H A Drevnetgroup.c82 int hosts = -1, i; in main() local
90 if (hosts != -1) { in main()
94 hosts = 0; in main()
97 if (hosts != -1) { in main()
101 hosts = 1; in main()
112 if (hosts == -1) in main()
151 if (hosts ? host && strcmp(host,"-") : user && strcmp(user, "-")) in main()
152 mstore(mtable, hosts ? host : user, gcur->key, domain); in main()
/freebsd-13.1/sbin/ipf/libipf/
H A Dload_url.c14 alist_t *hosts = NULL; in load_url() local
21 hosts = load_file(url); in load_url()
24 hosts = load_file(url); in load_url()
27 hosts = load_http(url); in load_url()
30 return (hosts); in load_url()
H A Dalist_free.c11 alist_free(alist_t *hosts) in alist_free() argument
15 for (a = hosts; a != NULL; a = next) { in alist_free()
/freebsd-13.1/contrib/dma/
H A Ddns.c140 struct mx_hostentry *hosts = NULL; in dns_get_mx_list() local
210 err = add_host(pref, outname, port, &hosts, &nhosts); in dns_get_mx_list()
252 err = add_host(0, host, port, &hosts, &nhosts); in dns_get_mx_list()
263 qsort(hosts, nhosts, sizeof(*hosts), sort_pref); in dns_get_mx_list()
265 *hosts[nhosts].host = 0; in dns_get_mx_list()
267 if (hosts != NULL) in dns_get_mx_list()
268 free(hosts); in dns_get_mx_list()
269 hosts = NULL; in dns_get_mx_list()
272 *he = hosts; in dns_get_mx_list()
/freebsd-13.1/crypto/openssl/crypto/x509/
H A Dx509_vpm.c54 vpm->hosts = NULL; in int_x509_param_set_hosts()
63 if (vpm->hosts == NULL && in int_x509_param_set_hosts()
69 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts()
71 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts()
72 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts()
73 vpm->hosts = NULL; in int_x509_param_set_hosts()
204 if (test_x509_verify_param_copy(hosts, NULL)) { in X509_VERIFY_PARAM_inherit()
206 dest->hosts = NULL; in X509_VERIFY_PARAM_inherit()
207 if (src->hosts) { in X509_VERIFY_PARAM_inherit()
208 dest->hosts = in X509_VERIFY_PARAM_inherit()
[all …]
/freebsd-13.1/usr.sbin/rpcbind/
H A Drpcbind.c100 static char **hosts = NULL; variable
349 hosts = realloc(hosts, nhostsbak * sizeof(char *)); in init_transport()
351 hosts[0] = "*"; in init_transport()
354 hosts[nhostsbak - 1] = "127.0.0.1"; in init_transport()
356 hosts[nhostsbak - 1] = "::1"; in init_transport()
425 hosts[nhostsbak] = NULL; in init_transport()
441 (hosts[nhostsbak] == NULL) ? "*" : in init_transport()
827 hosts = realloc(hosts, nhosts * sizeof(char *)); in parseargs()
828 if (hosts == NULL) in parseargs()
830 hosts[nhosts - 1] = strdup(optarg); in parseargs()
[all …]
/freebsd-13.1/lib/libc/tests/resolv/
H A Dresolv_test.c60 static StringList *hosts = NULL; variable
92 sl_add(hosts, strdup(ptr)); in load()
178 size_t i = (random() & 0x0fffffff) % hosts->sl_cur; in resolvone()
179 char *host = hosts->sl_str[i]; in resolvone()
206 threadnum, hosts->sl_str[i], error, errstr); in resolvone()
260 hosts = sl_init(); in run_tests()
269 ask = calloc(hosts->sl_cur, sizeof(int)); in run_tests()
272 got = calloc(hosts->sl_cur, sizeof(int)); in run_tests()
291 for (i = 0; i < hosts->sl_cur; i++) { in run_tests()
294 "Error: host %s ask %d got %d", hosts->sl_str[i], in run_tests()
[all …]
/freebsd-13.1/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)
206 while (@hosts) {
207 $server = shift(@hosts);
/freebsd-13.1/contrib/tcsh/
H A Ddot.tcshrc48 # Setup $hosts from ~/.hosts, ~/.rhosts, ~/.ssh/known_hosts
51 if ( ! $?hosts ) then
52 set hosts=()
53 foreach f ( ~/.{,r,ssh/known_}hosts )
55 set hosts=( \
56 $hosts \
/freebsd-13.1/share/man/man5/
H A DMakefile30 hosts.5 \
31 hosts.equiv.5 \
32 hosts.lpd.5 \
78 MLINKS+=hosts.equiv.5 rhosts.5
93 bluetooth.hosts.5 \
/freebsd-13.1/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dt_getaddrinfo.sh38 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-13.1/share/examples/etc/
H A DREADME.examples26 hosts - see hosts(5)
27 hosts.allow - defines allow trusted hosts
28 hosts.equiv - defines system-wide trusted hosts (see ruserok(3))
29 hosts.lpd - defines trusted hosts for lpd(8)
/freebsd-13.1/usr.bin/rup/
H A Drup.c66 } *hosts; variable
73 if (!hosts) in search_host()
76 for (hp = hosts; hp != NULL; hp = hp->next) { in search_host()
91 hp->next = hosts; in remember_host()
92 hosts = hp; in remember_host()
/freebsd-13.1/usr.bin/rusers/
H A Drusers.c67 } *hosts; variable
74 if (hosts == NULL) in search_host()
77 for (hp = hosts; hp != NULL; hp = hp->next) { in search_host()
92 hp->next = hosts; in remember_host()
93 hosts = hp; in remember_host()
/freebsd-13.1/usr.sbin/bsdconfig/share/media/
H A Dhttpproxy.subr150 local connect_only="$1" hosts=
162 f_host_lookup "$proxy_host" hosts
166 [ "$hosts" ] && f_dialog_msgbox "$hosts"
169 elif [ ! "$hosts" ]; then
171 hosts="$proxy_host"
175 for host in $hosts; do
378 f_host_lookup "$proxy_host" hosts
382 [ "$hosts" ] && f_dialog_msgbox "$hosts"
384 elif [ ! "$hosts" ]; then
386 hosts="$proxy_host"
[all …]
/freebsd-13.1/contrib/ntp/scripts/ntptrace/
H A Dinvoke-ntptrace.texi44 * ntptrace max-hosts:: max-hosts option (-m)
69 -m, --max-hosts=num Maximum number of peers to trace
84 Output hosts as dotted-quad numeric format rather than converting to
86 @node ntptrace max-hosts
87 @subsection max-hosts option (-m)
88 @cindex ntptrace-max-hosts
/freebsd-13.1/lib/libbluetooth/
H A Dhosts1 # $Id: hosts,v 1.1 2003/05/21 17:48:40 max Exp $
6 # This file should contain the Bluetooth addresses and aliases for hosts.

12345678910