Home
last modified time | relevance | path

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

12345678910

/freebsd-14.2/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-14.2/usr.sbin/rpc.statd/
H A Dstatd.c111 free(hosts); in main()
119 free(hosts[i]); in main()
120 free(hosts); in main()
159 if (hosts == NULL) in main()
165 hosts_bak = hosts; in main()
171 free(hosts[i]); in main()
172 free(hosts); in main()
175 hosts = hosts_bak; in main()
183 free(hosts[i]); in main()
185 free(hosts); in main()
[all …]
H A Dfile.c88 for (i = 0, hp = status_info->hosts; i < status_info->noOfHosts; i++, hp++) in find_host()
135 spare_slot = &status_info->hosts[status_info->noOfHosts]; in find_host()
231 HostInfo *this_host = &status_info->hosts[i]; in init_file()
309 for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++) in notify_hosts()
347 for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++) in notify_hosts()
/freebsd-14.2/usr.bin/systat/
H A Dnetcmds.c66 } *hosts; variable
261 if (hosts == NULL) in selecthost()
263 free((char *)hosts), hosts = 0; in selecthost()
267 for (p = hosts; p < hosts+nhosts; p++) in selecthost()
273 hosts = (struct hitem *)malloc(sizeof (*p)); in selecthost()
275 hosts = (struct hitem *)realloc(hosts, (nhosts+1)*sizeof (*p)); in selecthost()
276 p = &hosts[nhosts++]; in selecthost()
287 if (hosts) in checkhost()
288 for (p = hosts; p < hosts+nhosts; p++) in checkhost()
301 for (p = hosts; p < hosts+nhosts; p++) { in showhosts()
/freebsd-14.2/contrib/ntp/scripts/ntpsweep/
H A Dntpsweep.in50 my @hosts;
53 push @hosts, $opts->{host};
68 scan_hosts(@hosts);
74 my (@hosts) = @_;
77 for $host (@hosts) {
84 my @hosts;
86 open my $hosts, $hostsfile
89 while (<$hosts>) {
92 push @hosts, $_;
95 close $hosts;
[all …]
/freebsd-14.2/contrib/netbsd-tests/lib/libpthread/
H A Dh_resolv.c50 static StringList *hosts = NULL; variable
87 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-14.2/usr.sbin/rpc.lockd/
H A Dlockd.c155 free(hosts[i]); in main()
156 free(hosts); in main()
160 hosts = hosts_bak; in main()
164 free(hosts[i]); in main()
165 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-14.2/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-14.2/libexec/revnetgroup/
H A Drevnetgroup.c77 int hosts = -1, i; in main() local
85 if (hosts != -1) { in main()
89 hosts = 0; in main()
92 if (hosts != -1) { in main()
96 hosts = 1; in main()
107 if (hosts == -1) in main()
146 if (hosts ? host && strcmp(host,"-") : user && strcmp(user, "-")) in main()
147 mstore(mtable, hosts ? host : user, gcur->key, domain); in main()
/freebsd-14.2/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-14.2/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-14.2/crypto/openssl/crypto/x509/
H A Dx509_vpm.c55 vpm->hosts = NULL; in int_x509_param_set_hosts()
64 if (vpm->hosts == NULL && in int_x509_param_set_hosts()
70 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts()
72 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts()
73 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts()
74 vpm->hosts = NULL; in int_x509_param_set_hosts()
197 if (test_x509_verify_param_copy(hosts, NULL)) { in X509_VERIFY_PARAM_inherit()
199 dest->hosts = NULL; in X509_VERIFY_PARAM_inherit()
200 if (src->hosts != NULL) { in X509_VERIFY_PARAM_inherit()
201 dest->hosts = in X509_VERIFY_PARAM_inherit()
[all …]
/freebsd-14.2/usr.sbin/rpcbind/
H A Drpcbind.c99 static char **hosts = NULL; variable
348 hosts = realloc(hosts, nhostsbak * sizeof(char *)); in init_transport()
350 hosts[0] = "*"; in init_transport()
353 hosts[nhostsbak - 1] = "127.0.0.1"; in init_transport()
355 hosts[nhostsbak - 1] = "::1"; in init_transport()
424 hosts[nhostsbak] = NULL; in init_transport()
440 (hosts[nhostsbak] == NULL) ? "*" : in init_transport()
826 hosts = realloc(hosts, nhosts * sizeof(char *)); in parseargs()
827 if (hosts == NULL) in parseargs()
829 hosts[nhosts - 1] = strdup(optarg); in parseargs()
[all …]
/freebsd-14.2/lib/libc/tests/resolv/
H A Dresolv_test.c59 static StringList *hosts = NULL; variable
91 sl_add(hosts, strdup(ptr)); in load()
177 size_t i = (random() & 0x0fffffff) % hosts->sl_cur; in resolvone()
178 char *host = hosts->sl_str[i]; in resolvone()
205 threadnum, hosts->sl_str[i], error, errstr); in resolvone()
259 hosts = sl_init(); in run_tests()
268 ask = calloc(hosts->sl_cur, sizeof(int)); in run_tests()
271 got = calloc(hosts->sl_cur, sizeof(int)); in run_tests()
290 for (i = 0; i < hosts->sl_cur; i++) { in run_tests()
293 "Error: host %s ask %d got %d", hosts->sl_str[i], in run_tests()
[all …]
/freebsd-14.2/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-14.2/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-14.2/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-14.2/share/man/man5/
H A DMakefile29 hosts.5 \
30 hosts.equiv.5 \
31 hosts.lpd.5 \
78 MLINKS+=hosts.equiv.5 rhosts.5
95 bluetooth.hosts.5 \
/freebsd-14.2/share/examples/etc/
H A DREADME.examples25 hosts - see hosts(5)
26 hosts.allow - defines allow trusted hosts
27 hosts.equiv - defines system-wide trusted hosts (see ruserok(3))
28 hosts.lpd - defines trusted hosts for lpd(8)
/freebsd-14.2/usr.bin/rup/
H A Drup.c63 } *hosts; variable
70 if (!hosts) in search_host()
73 for (hp = hosts; hp != NULL; hp = hp->next) { in search_host()
88 hp->next = hosts; in remember_host()
89 hosts = hp; in remember_host()
/freebsd-14.2/usr.bin/rusers/
H A Drusers.c64 } *hosts; variable
71 if (hosts == NULL) in search_host()
74 for (hp = hosts; hp != NULL; hp = hp->next) { in search_host()
89 hp->next = hosts; in remember_host()
90 hosts = hp; in remember_host()
/freebsd-14.2/usr.sbin/bsdconfig/share/media/
H A Dhttpproxy.subr149 local connect_only="$1" hosts=
161 f_host_lookup "$proxy_host" hosts
165 [ "$hosts" ] && f_dialog_msgbox "$hosts"
168 elif [ ! "$hosts" ]; then
170 hosts="$proxy_host"
174 for host in $hosts; do
377 f_host_lookup "$proxy_host" hosts
381 [ "$hosts" ] && f_dialog_msgbox "$hosts"
383 elif [ ! "$hosts" ]; then
385 hosts="$proxy_host"
[all …]
/freebsd-14.2/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-14.2/lib/libbluetooth/
H A Dhosts1 # $Id: hosts,v 1.1 2003/05/21 17:48:40 max Exp $
5 # This file should contain the Bluetooth addresses and aliases for hosts.

12345678910