Home
last modified time | relevance | path

Searched refs:nhostsbak (Results 1 – 4 of 4) sorted by relevance

/freebsd/usr.sbin/rpc.statd/
H A Dstatd.c334 int nhostsbak; in create_service() local
362 nhostsbak = nhosts; in create_service()
363 while (nhostsbak > 0) { in create_service()
364 --nhostsbak; in create_service()
382 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
389 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service()
397 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service()
404 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
418 if (strcmp("*", hosts[nhostsbak]) == 0) { in create_service()
467 if ((aicode = getaddrinfo(hosts[nhostsbak], svcport_str, in create_service()
[all …]
/freebsd/usr.sbin/rpcbind/
H A Drpcbind.c267 int nhostsbak; in init_transport()
341 nhostsbak = nhosts + 1; in init_transport()
342 hosts = realloc(hosts, nhostsbak * sizeof(char *)); in init_transport()
343 if (nhostsbak == 1) in init_transport()
347 hosts[nhostsbak - 1] = "127.0.0.1"; in init_transport()
349 hosts[nhostsbak - 1] = "::1"; in init_transport()
358 while (nhostsbak > 0) { in init_transport()
359 --nhostsbak; in init_transport()
374 if (inet_pton(AF_INET, hosts[nhostsbak], in init_transport()
382 hosts[nhostsbak], host_add in init_transport()
266 int nhostsbak; init_transport() local
[all...]
/freebsd/usr.sbin/rpc.lockd/
H A Dlockd.c507 int nhostsbak; in create_service() local
535 nhostsbak = nhosts; in create_service()
536 while (nhostsbak > 0) { in create_service()
537 --nhostsbak; in create_service()
559 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
566 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service()
575 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service()
582 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
597 if (strcmp("*", hosts[nhostsbak]) == 0) { in create_service()
647 if ((aicode = getaddrinfo(hosts[nhostsbak], svcport_str, in create_service()
[all …]
/freebsd/usr.sbin/mountd/
H A Dmountd.c801 int nhostsbak; in create_service() local
830 nhostsbak = nhosts; in create_service()
831 while (nhostsbak > 0) { in create_service()
832 --nhostsbak; in create_service()
859 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
866 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service()
874 if (inet_pton(AF_INET6, hosts[nhostsbak], in create_service()
881 if (inet_pton(AF_INET, hosts[nhostsbak], in create_service()
907 if (strcmp("*", hosts[nhostsbak]) == 0) { in create_service()
956 if ((aicode = getaddrinfo(hosts[nhostsbak], svcport_str, in create_service()
[all …]