/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rup.c | 59 struct netconfig *nconf; member 296 collectnames(resultsp, taddr, nconf) in collectnames() argument 299 struct netconfig *nconf; 342 entry[curentry].nconf = netconfigdup(nconf); 350 if (netdir_getbyaddr(nconf, &hs, &taddr->addr) == ND_OK) 354 char *uaddr = taddr2uaddr(nconf, &taddr->addr); 422 if (netdir_getbyaddr(ep->nconf, &hs, ep->addr) == ND_OK) in printnames() 425 char *uaddr = taddr2uaddr(ep->nconf, ep->addr); in printnames()
|
H A D | rpc.rusersd.c | 103 struct netconfig *nconf = NULL; in main() local 114 } else if ((nconf = getnetconfigent(netid)) == NULL) { in main() 119 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) { in main() 123 if (nconf) in main() 124 freenetconfigent(nconf); in main()
|
H A D | rusers.c | 237 collectnames(void *resultsp, struct netbuf *raddrp, struct netconfig *nconf) in collectnames() argument 248 if (netdir_getbyaddr(nconf, &hs, raddrp)) { in collectnames() 254 taddr2uaddr(nconf, raddrp)); in collectnames() 363 collectnames_3(void *resultsp, struct netbuf *raddrp, struct netconfig *nconf) in collectnames_3() argument 374 if (netdir_getbyaddr(nconf, &hs, raddrp)) { in collectnames_3() 380 taddr2uaddr(nconf, raddrp)); in collectnames_3()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 137 struct netconfig *nconf; in nfs_cast() local 174 while (nconf = getnetconfig(nc)) { in nfs_cast() 175 if (!(nconf->nc_flag & NC_VISIBLE) || in nfs_cast() 176 nconf->nc_semantics != NC_TPI_CLTS || in nfs_cast() 177 (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0)) in nfs_cast() 192 trans->tr_fd = t_open(nconf->nc_device, O_RDWR, NULL); in nfs_cast() 195 nconf->nc_device); in nfs_cast() 214 trans->tr_device = nconf->nc_device; in nfs_cast() 220 if (netdir_getbyname(nconf, &hs, &retaddrs) == ND_OK) { in nfs_cast() 271 strcmp(nconf->nc_proto, NC_INET)?"IPv6":"IPv4"); in nfs_cast()
|
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 366 struct netconfig *nconf; in addr2netname() local 372 if ((nconf = getnetconfigent(transp->xp_netid)) == NULL) in addr2netname() 374 if (netdir_getbyaddr(nconf, &hostservs, who) != 0) { in addr2netname() 375 (void) freenetconfigent(nconf); in addr2netname() 381 (void) freenetconfigent(nconf); in addr2netname()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 367 md_svc_tp_create(struct netconfig *nconf) in md_svc_tp_create() argument 397 nconf, al->n_addrs); in md_svc_tp_create() 418 vers, nconf->nc_netid); in md_svc_tp_create() 429 vers, nconf->nc_netid); in md_svc_tp_create() 451 struct netconfig *nconf; in main() local 759 if ((nconf->nc_flag & NC_VISIBLE) == 0) in main() 766 md_svc_tp_create(nconf); in main() 1215 cln->nconf = NULL; in cln_init_common() 1237 if (cln->nconf != NULL) in cln_fini() 1238 freenetconfigent(cln->nconf); in cln_fini() [all …]
|
H A D | mountd.h | 78 struct netconfig *nconf; member
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lockd/ |
H A D | lockd.c | 103 struct netconfig *nconf); 495 nlmsvc(int fd, struct netbuf addrmask, struct netconfig *nconf) in nlmsvc() argument 507 lma.n_fmly = ncfmly_to_lmfmly(nconf->nc_protofmly); in nlmsvc() 508 lma.n_proto = nctype_to_lmprot(nconf->nc_semantics); in nlmsvc() 509 lma.n_rdev = ncdev_to_rdev(nconf->nc_device); in nlmsvc()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsd/ |
H A D | nfsd.c | 576 struct netconfig *nconf; in main() local 584 while (nconf = getnetconfig(nc)) { in main() 585 if (strcmp(nconf->nc_proto, proto) == 0) { in main() 587 do_one(nconf->nc_device, NULL, in main() 660 nfssvc(int fd, struct netbuf addrmask, struct netconfig *nconf) in nfssvc() argument 665 nsa.netid = nconf->nc_netid; in nfssvc() 667 if (strncasecmp(nconf->nc_proto, NC_UDP, strlen(NC_UDP)) == 0) { in nfssvc()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypset.c | 248 struct netconfig *nconf; in send_message() local 263 nconf = getnetconfigent(server->cl_netid); in send_message() 293 ypbind_info.ypbind_nconf = nconf; in send_message()
|
H A D | ypserv_resolv.c | 63 static int getconf(char *netid, void **handle, struct netconfig **nconf); 263 static int getconf(char *netid, void **handle, struct netconfig **nconf) in getconf() argument 272 *nconf = nc; in getconf() 279 *nconf = save; in getconf()
|
H A D | yppoll.c | 366 struct netconfig *nconf = binding->ypbind_nconf; in getypserv() local 369 if (netdir_getbyaddr(nconf, &nhs, svcaddr) != ND_OK) { in getypserv()
|
H A D | ypxfr.c | 1501 struct netconfig *nconf; local 1520 if ((nconf = getnetconfigent(netid[i])) == NULL) { 1528 if (rpcb_getaddr(YPPROG, master_prog_vers, nconf, svcaddr, 1530 freenetconfigent(nconf); 1538 if ((domb.dom_client = __nis_clnt_create(fd, nconf, 0, svcaddr, 1540 freenetconfigent(nconf);
|
H A D | ypwhich.c | 433 struct netconfig *nconf = local 438 if (netdir_getbyaddr(nconf, &nhs, svcaddr) != ND_OK) {
|
/illumos-gate/usr/src/cmd/svc/servinfo/ |
H A D | servinfo.c | 104 struct netconfig *nconf; in svc_getrpcinfo() local 141 if ((nconf = getnetconfigent(TCP)) == NULL) { in svc_getrpcinfo() 146 if ((blist = (struct rpcblist *)rpcb_getmaps(nconf, "localhost")) in svc_getrpcinfo()
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | nis_attr.c | 461 struct netconfig *nconf; in nis_putpwnam() local 478 nconf = getnetconfigent("ticlts"); in nis_putpwnam() 479 if (!nconf) { in nis_putpwnam() 485 YPPASSWDVERS, nconf); in nis_putpwnam() 486 freenetconfigent(nconf); in nis_putpwnam()
|
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 336 struct netconfig *nconf; in create_rpc_info() local 364 if ((nconf = getnetconfigent(proto)) != NULL) { in create_rpc_info() 365 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) in create_rpc_info() 367 freenetconfigent(nconf); in create_rpc_info() 688 struct netconfig *nconf = NULL; in valid_props() local 788 } else if (cfg->istlx && (nconf != NULL) && in valid_props() 789 (nconf->nc_semantics == NC_TPI_CLTS)) { in valid_props() 928 if (nconf != NULL) in valid_props() 929 freenetconfigent(nconf); in valid_props() 1729 struct netconfig *nconf; in get_netids() local [all …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | newkey.c | 96 struct netconfig *nconf; in main() local 185 while (nconf = getnetconfig(nc_handle)) { in main() 187 if ((netdir_getbyname(nconf, &service, &addrs) == 0) && in main()
|
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | ovsec_kadmd.c | 425 struct netconfig *nconf; in main() local 694 while (nconf = getnetconfig(handlep)) { in main() 695 if ((nconf->nc_semantics == NC_TPI_COTS_ORD) && in main() 696 (strcmp(nconf->nc_protofmly, NC_INET) == 0) && in main() 697 (strcmp(nconf->nc_proto, NC_TCP) == 0)) in main() 701 if (nconf == (struct netconfig *) NULL) { in main() 706 fd = t_open(nconf->nc_device, O_RDWR, &tinfo); in main() 823 transp = svc_tli_create(fd, nconf, NULL, 0, 0); in main()
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 197 if (nconf == NULL) { in _get_hostserv_inetnetdir_byname() 360 bnets = getbroadcastnets(nconf, &inaddrs); in _get_hostserv_inetnetdir_byname() 492 if (nconf->nc_nlookups == 0) { in _get_hostserv_inetnetdir_byname() 538 char *proto = (strcmp(nconf->nc_proto, in _get_hostserv_inetnetdir_byname() 633 char *proto = (strcmp(nconf->nc_proto, in _get_hostserv_inetnetdir_byname() 735 if ((_nderror = __classic_netdir_getbyname(nconf, in _get_hostserv_inetnetdir_byname() 771 _get_hostserv_inetnetdir_byname(nconf, in _get_hostserv_inetnetdir_byname() 783 if ((_nderror = __classic_netdir_getbyname(nconf, in _get_hostserv_inetnetdir_byname() 818 if (nconf == 0) { in _get_hostserv_inetnetdir_byaddr() 908 if (nconf->nc_nlookups == 0) { in _get_hostserv_inetnetdir_byaddr() [all …]
|
H A D | netdir_inet_sundry.c | 898 bindresvport(struct netconfig *nconf, int fd, struct netbuf *addr) in bindresvport() argument 932 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in bindresvport() 940 } else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) { in bindresvport() 973 if (strcmp(nconf->nc_proto, NC_TCP) == 0) { in bindresvport() 976 } else if (strcmp(nconf->nc_proto, NC_UDP) == 0) { in bindresvport()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | ti_opts.c | 558 __rpc_set_mac_options(int fd, const struct netconfig *nconf, rpcprog_t prognum) in __rpc_set_mac_options() argument 565 if (strcmp(nconf->nc_protofmly, NC_INET) != 0 && in __rpc_set_mac_options() 566 strcmp(nconf->nc_protofmly, NC_INET6) != 0) in __rpc_set_mac_options()
|
H A D | svc.c | 861 void (*dispatch)(), const struct netconfig *nconf) in svc_reg() argument 874 } else if (nconf && nconf->nc_netid) { in svc_reg() 875 netid = strdup(nconf->nc_netid); in svc_reg() 931 if (nconf) in svc_reg() 932 return (rpcb_set(prog, vers, nconf, &xprt->xp_ltaddr)); in svc_reg() 977 struct netconfig *nconf; in svc_register() local 984 } else if ((ioctl(xprt->xp_fd, I_FIND, "timod") > 0) && ((nconf = in svc_register() 987 netid = strdup(nconf->nc_netid); in svc_register() 989 freenetconfigent(nconf); in svc_register()
|
H A D | svc_vc.c | 710 struct netconfig *nconf; in rendezvous_request() local 712 if ((nconf = __rpcfd_to_nconf(xprt->xp_fd, xprt->xp_type)) in rendezvous_request() 718 (void) strcpy(tpname, nconf->nc_device); in rendezvous_request() 719 freenetconfigent(nconf); in rendezvous_request()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_proc.c | 815 struct netconfig *nconf; in create_client() local 817 nconf = getnetconfigent(netid); in create_client() 818 if (nconf == NULL) { in create_client() 822 client = clnt_tp_create_timed(host, prognum, versnum, nconf, in create_client() 825 freenetconfigent(nconf); in create_client()
|