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

12

/freebsd-9.3-release/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-9.3-release/contrib/ofed/management/infiniband-diags/scripts/
H A Dibfindnodesusing.pl54 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-9.3-release/etc/bluetooth/
H A DMakefile5 FILES= hcsecd.conf hosts protocols
/freebsd-9.3-release/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-9.3-release/etc/
H A Dnscd.conf8 enable-cache hosts yes
H A Dnsswitch.conf7 hosts: files dns
/freebsd-9.3-release/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-9.3-release/usr.sbin/rpc.statd/
H A Dstatd.c63 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 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:__anon11065
H A Dfile.c87 for (i = 0, hp = status_info->hosts; i < status_info->noOfHosts; i++, hp++)
132 spare_slot = &status_info->hosts[status_info->noOfHosts];
166 all hosts that had a monitor list, and incrementing
218 /* Clean-up of existing file - monitored hosts will have a pointer */
224 /* Note that if we crash twice in quick succession, some hosts may */
229 HostInfo *this_host = &status_info->hosts[i];
287 Purpose: Send SM_NOTIFY to all hosts marked as requiring it
289 Notes: Does nothing if there are no monitored hosts.
303 for (i = status_info->noOfHosts, hp = status_info->hosts; i ; i--, hp++)
322 /* Here in the child process. We continue until all the hosts marke
[all...]
/freebsd-9.3-release/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-9.3-release/share/man/man5/
H A DMakefile11 bluetooth.hosts.5 \
31 hosts.5 \
32 hosts.equiv.5 \
33 hosts.lpd.5 \
75 MLINKS+=hosts.equiv.5 rhosts.5
/freebsd-9.3-release/usr.bin/systat/
H A Dnetcmds.c67 } *hosts; variable in typeref:struct:hitem
113 else if (prefix(args, "hosts"))
263 if (hosts == 0)
265 free((char *)hosts), hosts = 0;
269 for (p = hosts; p < hosts+nhosts; p++)
275 hosts = (struct hitem *)malloc(sizeof (*p));
277 hosts = (struct hitem *)realloc(hosts, (nhost
[all...]
/freebsd-9.3-release/usr.sbin/rpc.lockd/
H A Dlockd.c88 char **hosts, *svcport_str = NULL; variable
151 hosts_bak = hosts;
152 hosts_bak = realloc(hosts, nhosts * sizeof(char *));
154 if (hosts != NULL) {
156 free(hosts[i]);
157 free(hosts);
161 hosts = hosts_bak;
162 hosts[nhosts - 1] = strdup(optarg);
163 if (hosts[nhosts - 1] == NULL) {
165 free(hosts[
[all...]
/freebsd-9.3-release/lib/libwrap/
H A DMakefile15 hosts_options.5 hosts.allow.5
22 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
/freebsd-9.3-release/tools/regression/lib/libc/resolv/
H A Dresolv.c56 static StringList *hosts = NULL; variable
94 sl_add(hosts, strdup(ptr));
195 size_t i = (random() & 0x0fffffff) % hosts->sl_cur;
196 char *host = hosts->sl_str[i];
250 hosts = sl_init();
284 if (hosts->sl_cur == 0)
289 if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL)
291 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL)
311 for (i = 0; i < hosts->sl_cur; i++) {
314 hosts
[all...]
/freebsd-9.3-release/usr.sbin/rpcbind/
H A Drpcbind.c94 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-9.3-release/crypto/openssh/regress/
H A Dconch-ciphers.sh20 --known-hosts $OBJ/known_hosts --notty --noagent --nox11 -n \
/freebsd-9.3-release/etc/rc.d/
H A Dnsswitch51 hosts:*)
62 line=${line#hosts:}
72 echo "hosts" >> $host_conf
/freebsd-9.3-release/contrib/tcsh/
H A Dcomplete.tcsh40 if ( ! $?hosts ) set hosts
41 foreach f ("$HOME/.hosts" /usr/local/etc/csh.hosts "$HOME/.rhosts" /etc/hosts.equiv)
43 set hosts = ($hosts `grep -v "+" "$f" | grep -E -v "^#" | tr -s " " " " | cut -f 1`)
48 set hosts=($hosts $f)
53 set hosts
[all...]
/freebsd-9.3-release/release/picobsd/floppy.tree/etc/
H A Drc.conf.defaults43 host_conf="hosts
70 echo "# $main_ether $hostname" >> /etc/hosts
71 echo "$the_ip $hostname" >> /etc/hosts
93 # read content from /etc/hosts into a couple of arrays
106 done < /etc/hosts
109 # set ${hostname} using $1 (MAC address) as search key in /etc/hosts
/freebsd-9.3-release/usr.bin/rup/
H A Drup.c64 } *hosts; variable in typeref:struct:host_list
71 if (!hosts)
74 for (hp = hosts; hp != NULL; hp = hp->next) {
89 hp->next = hosts;
90 hosts = hp;
/freebsd-9.3-release/usr.bin/rusers/
H A Drusers.c65 } *hosts; variable in typeref:struct:host_list
72 if (hosts == NULL)
75 for (hp = hosts; hp != NULL; hp = hp->next) {
90 hp->next = hosts;
91 hosts = hp;
/freebsd-9.3-release/etc/periodic/daily/
H A D460.status-mail-rejects38 echo Checking for rejected mail hosts:

Completed in 157 milliseconds

12