HomeSort by: relevance | last modified time | path
    Searched refs:hosts (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/etc/autofs/
special_hosts 7 out=$(getent hosts)
  /src/etc/bluetooth/
Makefile 3 CONFIGFILES= btattach.conf btdevctl.conf hosts protocols
  /src/etc/
nsswitch.conf 12 hosts: files dns key
24 # hosts: dns, files, nis, mdnsd, multicast_dns
Makefile 102 ftpusers gettytab gpio.conf group hosts hosts.lpd inetd.conf \
132 BIN3+= hosts.equiv wpa_supplicant.conf
  /src/share/examples/emul/ultrix/etc/
svc.conf 16 hosts=local,bind # /etc/hosts (no yp) then DNS key
  /src/tests/lib/libpthread/
h_resolv.c 50 static StringList *hosts = NULL; variable in typeref:typename:StringList *
86 sl_add(hosts, strdup(ptr));
98 size_t i = (random() & 0x0fffffff) % hosts->sl_cur;
99 char *host = hosts->sl_str[i];
149 hosts = sl_init();
171 if (hosts->sl_cur == 0)
176 if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL)
178 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL)
200 for (i = 0; i < (int)hosts->sl_cur; i++) {
203 hosts->sl_str[i], ask[i], got[i])
    [all...]
  /src/usr.bin/systat/
netcmds.c 72 } *hosts = NULL; variable in typeref:struct:hitem *
119 else if (strstr(args, "hosts") == args)
300 if (hosts == 0)
302 free((char *)hosts), hosts = 0;
306 for (p = hosts; p < hosts+nhosts; p++)
313 if (reallocarr(&hosts, nhosts + 1, sizeof(*p)) != 0) {
317 p = &hosts[nhosts++];
329 if (hosts)
    [all...]
  /src/usr.sbin/ypserv/revnetgroup/
revnetgroup.c 92 int hosts = -1; local in function:main
100 if (hosts != -1) {
104 hosts = 0;
107 if (hosts != -1) {
111 hosts = 1;
122 if (hosts == -1)
159 if (hosts) {
  /src/tests/lib/libc/gen/
t_sethostname.c 43 static const char hosts[][MAXHOSTNAMELEN] = { variable in typeref:typename:const char[][]
62 for (i = 0; i < __arraycount(hosts); i++) {
66 ATF_REQUIRE(sethostname(hosts[i], sizeof(hosts[i])) == 0);
68 ATF_REQUIRE(strcmp(hosts[i], name) == 0);
  /src/lib/libwrap/
Makefile 11 MLINKS+=hosts_access.5 hosts.allow.5
12 MLINKS+=hosts_access.5 hosts.deny.5
  /src/tests/lib/libc/net/getaddrinfo/
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
  /src/share/man/man5/
Makefile 10 hosts.5 hosts.equiv.5 ifaliases.5 ifconfig.if.5 intro.5 \
24 MLINKS+=hosts.equiv.5 rhosts.5
  /src/usr.bin/rdist/
main.c 130 fprintf(stderr, "rdist: too many destination hosts\n");
256 struct namelist *files, *hosts; local in function:docmdargs
281 hosts = expand(&tnl, E_ALL);
296 printf("hosts = ");
297 prnames(hosts);
299 insert(NULL, files, hosts, cmds);
302 freenl(hosts);
gram.y 367 * Insert or append ARROW command to list of hosts to be updated.
370 insert(char *label, struct namelist *files, struct namelist *hosts,
377 hosts = expand(hosts, E_ALL);
378 for (h = hosts; h != NULL; nexth = h->n_next, free(h), h = nexth) {
  /src/usr.sbin/rpcbind/
rpcbind.c 110 static char **hosts = NULL; variable in typeref:typename:char **
366 * If no hosts were specified, just bind to INADDR_ANY.
370 if (reallocarr(&hosts, nhostsbak, sizeof(*hosts)) != 0) {
371 syslog(LOG_ERR, "Can't grow hosts array");
375 hosts[0] = __UNCONST("*");
378 hosts[nhostsbak - 1] = __UNCONST("127.0.0.1");
380 hosts[nhostsbak - 1] = __UNCONST("::1");
406 if (inet_pton(AF_INET, hosts[nhostsbak],
414 hosts[nhostsbak], host_addr) == 1)
    [all...]
  /src/tests/lib/libc/net/
Makefile 8 FILES+=hosts resolv.conf
  /src/usr.bin/rup/
rup.c 70 } *hosts; variable in typeref:struct:host_list *
83 if (!hosts)
86 for (hp = hosts; hp != NULL; hp = hp->next) {
117 hp->next = hosts;
133 hosts = hp;
383 (void)fprintf(stderr, "Usage: %s [-dhlt] [hosts ...]\n",
  /src/usr.bin/rusers/
rusers.c 79 } *hosts; variable in typeref:struct:host_list *
89 if (!hosts)
92 for (hp = hosts; hp != NULL; hp = hp->next) {
123 hp->next = hosts;
137 hosts = hp;
274 fprintf(stderr, "usage: %s [-la] [hosts ...]\n", getprogname());
  /src/distrib/miniroot/
upgrade.sh 187 # Grab the hosts table so we can use it.
188 if [ ! -f /mnt/etc/hosts ]; then
189 echo "ERROR: no /etc/hosts!"
192 cp /mnt/etc/hosts /tmp/hosts
install.sh 291 cat /tmp/hosts
299 ${EDITOR} /tmp/hosts
405 for file in fstab ifconfig.* hosts myname mygate resolv.conf; do
  /src/distrib/sun2/miniroot/
list 36 SYMLINK /tmp/hosts etc/hosts
  /src/distrib/sun3/miniroot/
list 35 SYMLINK /tmp/hosts etc/hosts
  /src/usr.sbin/sysinst/
net.c 1090 * write the new contents of /etc/hosts to the specified file
1155 FILE *hosts; local in function:mnt_net_config
1172 * Add IPaddr/hostname to /etc/hosts.
1174 * Relies on ordered search of /etc/hosts. XXX YP?
1176 hosts = target_fopen("/etc/hosts", "a");
1177 if (hosts != 0) {
1178 scripting_fprintf(NULL, "cat <<EOF >>%s/etc/hosts\n",
1180 write_etc_hosts(hosts);
1181 (void)fclose(hosts);
    [all...]
  /src/usr.bin/getent/
getent.c 74 static int hosts(int, char *[]);
99 { "hosts", hosts, },
283 * hosts
298 hosts(int argc, char *argv[]) function in typeref:typename:int
  /src/usr.sbin/postinstall/
postinstall.in 1028 hosts protocols btattach.conf btdevctl.conf
1482 # hosts
1485 additem hosts "/etc/hosts being up to date"
1490 modify_file "$1" "${DEST_DIR}/etc/hosts" "${SCRATCHDIR}/hosts" '

Completed in 22 milliseconds

1 2