/freebsd-10-stable/contrib/ipfilter/lib/ |
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(hosts) 12 alist_t *hosts; 16 for (a = hosts; a != NULL; a = next) {
|
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | ibfindnodesusing.pl | 54 my @hosts = undef; 57 if ($sw_guid eq "") { return (@hosts); } 64 push @hosts, $2; 69 return (@hosts); 213 my @hosts = undef; 214 @hosts = get_hosts_routed($switch_guid, $target_port); 216 my $hosts = compress_hostlist(@hosts); 217 @hosts = split ",", $hosts; [all...] |
/freebsd-10-stable/etc/autofs/ |
H A D | special_hosts | 7 out=`getent hosts`
|
/freebsd-10-stable/etc/bluetooth/ |
H A D | Makefile | 5 FILES= hcsecd.conf hosts protocols
|
/freebsd-10-stable/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-10-stable/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 86 # find key among multiple hosts 89 check_find host-h "find multiple hosts" 127 # find key among multiple hosts [all...] |
H A D | conch-ciphers.sh | 20 --known-hosts $OBJ/known_hosts --notty --noagent --nox11 -n \
|
/freebsd-10-stable/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-10-stable/etc/ |
H A D | nscd.conf | 8 enable-cache hosts yes
|
H A D | nsswitch.conf | 7 hosts: files dns
|
/freebsd-10-stable/libexec/revnetgroup/ |
H A D | revnetgroup.c | 80 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-10-stable/usr.sbin/rpc.statd/ |
H A D | statd.c | 63 char **hosts, *svcport_str = NULL; variable 100 hosts_bak = hosts; 101 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); 103 if (hosts != NULL) { 105 free(hosts[i]); 106 free(hosts); 110 hosts = hosts_bak; 111 hosts[nhosts - 1] = strdup(optarg); 112 if (hosts[nhosts - 1] == NULL) { 114 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:__anon12259
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_resolv.c | 50 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-10-stable/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-10-stable/usr.bin/systat/ |
H A D | netcmds.c | 67 } *hosts; variable in typeref:struct:hitem 113 else if (prefix(args, "hosts")) 262 if (hosts == 0) 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-10-stable/lib/libwrap/ |
H A D | Makefile | 15 hosts_options.5 hosts.allow.5 22 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
|
/freebsd-10-stable/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 88 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-10-stable/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-10-stable/share/man/man5/ |
H A D | Makefile | 29 hosts.5 \ 30 hosts.equiv.5 \ 31 hosts.lpd.5 \ 72 MLINKS+=hosts.equiv.5 rhosts.5 86 bluetooth.hosts.5 \
|
/freebsd-10-stable/tools/regression/lib/libc/resolv/ |
H A D | resolv.c | 56 static StringList *hosts = NULL; variable 96 sl_add(hosts, strdup(ptr)); 198 size_t i = (random() & 0x0fffffff) % hosts->sl_cur; 199 char *host = hosts->sl_str[i]; 253 hosts = sl_init(); 287 if (hosts->sl_cur == 0) 292 if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL) 294 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL) 314 for (i = 0; i < hosts->sl_cur; i++) { 317 hosts [all...] |
/freebsd-10-stable/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 57 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-10-stable/usr.sbin/rpcbind/ |
H A D | rpcbind.c | 94 static char **hosts = NULL; variable 328 * If no hosts were specified, just bind to INADDR_ANY. 332 hosts = realloc(hosts, nhostsbak * sizeof(char *)); 334 hosts[0] = "*"; 337 hosts[nhostsbak - 1] = "127.0.0.1"; 339 hosts[nhostsbak - 1] = "::1"; 364 if (inet_pton(AF_INET, hosts[nhostsbak], 372 hosts[nhostsbak], host_addr) == 1) { 379 if (inet_pton(AF_INET6, hosts[nhostsba [all...] |
/freebsd-10-stable/etc/rc.d/ |
H A D | nsswitch | 51 hosts:*) 62 line=${line#hosts:} 72 echo "hosts" >> $host_conf
|