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

123456

/src/etc/autofs/
H A Dspecial_hosts7 out=$(getent hosts)
/src/share/examples/emul/ultrix/etc/
H A Dsvc.conf16 hosts=local,bind # /etc/hosts (no yp) then DNS key
/src/etc/bluetooth/
H A DMakefile3 CONFIGFILES= btattach.conf btdevctl.conf hosts protocols
/src/etc/
H A Dnsswitch.conf12 hosts: files dns key
24 # hosts: dns, files, nis, mdnsd, multicast_dns
/src/usr.sbin/ypserv/ypinit/
H A DMakefile.main5 TARGETS+= passwd aliases amd.home ethers group hosts ipnodes netgroup \
H A DMakefile.yp59 all: passwd aliases ${AMDMAPS} ethers group hosts ipnodes netgroup networks rpc services protocols netid
248 # - /etc/hosts and hosts.{byname,byaddr} are IPv4 only.
252 # For local name resolution, we made /etc/hosts protocol independent.
254 # - We keep hosts.{byname,byaddr} IPv4 only, to be friendly with Solaris 8
257 # We generate all the mappings from /etc/hosts, for compatibility with NetBSD
260 hosts.time: ${DIR}/hosts
264 ${SORT} | ${MAKEDBM} - hosts.byname; \
267 ${SORT} | ${MAKEDBM} - hosts
[all...]
/src/tests/lib/libpthread/
H A Dh_resolv.c50 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
[all...]
/src/usr.bin/systat/
H A Dnetcmds.c72 } *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/
H A Drevnetgroup.c92 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/
H A Dt_sethostname.c43 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/
H A DMakefile11 MLINKS+=hosts_access.5 hosts.allow.5
12 MLINKS+=hosts_access.5 hosts.deny.5
/xsrc/external/mit/libX11/dist/src/
H A DHost.c123 XHostAddress *hosts,
128 (void) XAddHost(dpy, &hosts[i]);
136 XHostAddress *hosts,
141 (void) XRemoveHost(dpy, &hosts[i]);
121 XAddHosts(register Display * dpy,XHostAddress * hosts,int n) argument
134 XRemoveHosts(register Display * dpy,XHostAddress * hosts,int n) argument
/src/tests/lib/libc/net/getaddrinfo/
H A Dt_getaddrinfo.sh36 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/
H A DMakefile10 hosts.5 hosts.equiv.5 ifaliases.5 ifconfig.if.5 intro.5 \
24 MLINKS+=hosts.equiv.5 rhosts.5
/xsrc/external/mit/MesaLib/dist/.gitlab-ci/common/
H A Dinit-stage1.sh18 [ -z "$NFS_SERVER_IP" ] || echo "$NFS_SERVER_IP caching-proxy" >> /etc/hosts
/src/usr.bin/rdist/
H A Dmain.c130 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);
H A Dgram.y367 * 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/
H A Drpcbind.c110 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[nhostsba
[all...]
/src/tests/lib/libc/net/
H A DMakefile8 FILES+=hosts resolv.conf
/src/usr.bin/rup/
H A Drup.c70 } *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/
H A Drusers.c79 } *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());
/xsrc/external/mit/xdm/dist/xdm/
H A Daccess.c53 * and (potentially) a list of hosts to send ForwardQuery packets to
123 HostEntry *hosts; member in struct:_displayEntry
234 for (h = d->hosts; h; h = next) {
591 prev = &d->hosts;
772 if (scanHostlist (d->hosts, clientAddress, connectionType,
813 if (!d->hosts)
827 else if (scanHostlist (d->hosts, clientAddress, connectionType,
867 if (!d->hosts)
913 if (!d->hosts)
919 if (scanHostlist (d->hosts, clientAddres
[all...]
/xsrc/external/mit/xdm/dist/chooser/
H A Dchooser.c186 HostAddr *hosts; local in function:PingHosts
189 for (hosts = hostAddrdb; hosts; hosts = hosts->next)
192 if ( ((struct sockaddr *) hosts->addr)->sa_family == AF_INET6 )
197 if (hosts->type == QUERY)
199 (XdmcpNetaddr) hosts->addr, hosts->addrlen);
202 (XdmcpNetaddr) hosts
364 HostName *hosts, *next; local in function:EmptyHostnames
[all...]
/src/distrib/miniroot/
H A Dupgrade.sh187 # 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
H A Dinstall.sh291 cat /tmp/hosts
299 ${EDITOR} /tmp/hosts
405 for file in fstab ifconfig.* hosts myname mygate resolv.conf; do

Completed in 41 milliseconds

123456