/freebsd-current/sbin/ipf/libipf/ |
H A D | load_url.c | 14 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 D | alist_free.c | 11 alist_free(alist_t *hosts) argument 15 for (a = hosts; a != NULL; a = next) {
|
/freebsd-current/usr.sbin/autofs/autofs/ |
H A D | special_hosts | 6 out=`getent hosts`
|
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sethostname.c | 43 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-current/crypto/openssh/regress/ |
H A D | keygen-knownhosts.sh | 8 # 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 97 # find key among multiple hosts 100 check_find host-h "find multiple hosts" 150 # find key among multiple hosts [all...] |
/freebsd-current/contrib/ntp/scripts/ntpsweep/ |
H A D | ntpsweep.in | 49 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-current/lib/libc/net/ |
H A D | nsswitch.conf | 6 hosts: files dns
|
/freebsd-current/lib/libwrap/ |
H A D | Makefile | 8 CONFS= hosts.allow 17 hosts_options.5 hosts.allow.5 24 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
|
/freebsd-current/usr.sbin/nscd/ |
H A D | nscd.conf | 7 enable-cache hosts yes
|
/freebsd-current/libexec/revnetgroup/ |
H A D | revnetgroup.c | 77 int hosts = -1, i; local 85 if (hosts != -1) { 89 hosts = 0; 92 if (hosts != -1) { 96 hosts = 1; 107 if (hosts == -1) 146 if (hosts ? host && strcmp(host,"-") : user && strcmp(user, "-")) 147 mstore(mtable, hosts ? host : user, gcur->key, domain);
|
/freebsd-current/usr.sbin/rpc.statd/ |
H A D | statd.c | 63 static char **hosts, *svcport_str = NULL; variable 105 hosts_bak = hosts; 106 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); 108 if (hosts != NULL) { 110 free(hosts[i]); 111 free(hosts); 115 hosts = hosts_bak; 116 hosts[nhosts - 1] = strdup(optarg); 117 if (hosts[nhosts - 1] == NULL) { 119 free(hosts[ [all...] |
H A D | statd.h | 41 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:__anon6792
|
/freebsd-current/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_resolv.c | 50 static StringList *hosts = NULL; variable 87 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-current/contrib/sendmail/contrib/ |
H A D | etrn.pl | 54 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-current/share/man/man5/ |
H A D | Makefile | 23 hosts.5 \ 24 hosts.equiv.5 \ 25 hosts.lpd.5 \ 60 MLINKS+=hosts.equiv.5 rhosts.5 72 bluetooth.hosts.5 \
|
/freebsd-current/usr.bin/systat/ |
H A D | netcmds.c | 63 } *hosts; variable in typeref:struct:hitem 109 else if (prefix(args, "hosts")) 258 if (hosts == NULL) 260 free((char *)hosts), hosts = 0; 264 for (p = hosts; p < hosts+nhosts; p++) 270 hosts = (struct hitem *)malloc(sizeof (*p)); 272 hosts = (struct hitem *)realloc(hosts, (nhost [all...] |
/freebsd-current/usr.sbin/lpr/lpd/ |
H A D | Makefile | 3 CONFS= hosts.lpd printcap
|
/freebsd-current/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 89 char **hosts, *svcport_str = NULL; variable 151 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); 153 if (hosts != NULL) { 155 free(hosts[i]); 156 free(hosts); 160 hosts = hosts_bak; 161 hosts[nhosts - 1] = strdup(optarg); 162 if (hosts[nhosts - 1] == NULL) { 164 free(hosts[i]); 165 free(hosts); [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | t_getaddrinfo.sh | 36 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-current/contrib/dma/ |
H A D | dns.c | 140 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-current/crypto/openssl/crypto/x509/ |
H A D | x509_vpm.c | 54 sk_OPENSSL_STRING_pop_free(vpm->hosts, str_free); 55 vpm->hosts = NULL; 64 if (vpm->hosts == NULL && 65 (vpm->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { 70 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { 72 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { 73 sk_OPENSSL_STRING_free(vpm->hosts); 74 vpm->hosts = NULL; 103 sk_OPENSSL_STRING_pop_free(param->hosts, str_free); 197 if (test_x509_verify_param_copy(hosts, NUL [all...] |
/freebsd-current/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 59 static StringList *hosts = NULL; variable 91 sl_add(hosts, strdup(ptr)); 177 size_t i = (random() & 0x0fffffff) % hosts->sl_cur; 178 char *host = hosts->sl_str[i]; 205 threadnum, hosts->sl_str[i], error, errstr); 259 hosts = sl_init(); 266 ATF_REQUIRE_MSG(0 < hosts->sl_cur, "0 hosts in %s", hostlist_file); 268 ask = calloc(hosts->sl_cur, sizeof(int)); 271 got = calloc(hosts [all...] |
/freebsd-current/usr.sbin/rpcbind/ |
H A D | rpcbind.c | 92 static char **hosts = NULL; variable 337 * If no hosts were specified, just bind to INADDR_ANY. 341 hosts = realloc(hosts, nhostsbak * sizeof(char *)); 343 hosts[0] = "*"; 346 hosts[nhostsbak - 1] = "127.0.0.1"; 348 hosts[nhostsbak - 1] = "::1"; 373 if (inet_pton(AF_INET, hosts[nhostsbak], 381 hosts[nhostsbak], host_addr) == 1) { 388 if (inet_pton(AF_INET6, hosts[nhostsba [all...] |
/freebsd-current/usr.bin/rup/ |
H A D | rup.c | 63 } *hosts; variable in typeref:struct:host_list 70 if (!hosts) 73 for (hp = hosts; hp != NULL; hp = hp->next) { 88 hp->next = hosts; 89 hosts = hp;
|
/freebsd-current/lib/libc/tests/net/ |
H A D | Makefile | 37 ${PACKAGE}FILES+= hosts
|