Lines Matching refs:nconf

204 		struct netconfig *nconf;  in __rpc_getconfip()  local
209 while (nconf = getnetconfig(confighandle)) { in __rpc_getconfip()
210 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in __rpc_getconfip()
211 if (strcmp(nconf->nc_proto, NC_TCP) == 0) { in __rpc_getconfip()
212 netid_tcp = strdup(nconf->nc_netid); in __rpc_getconfip()
226 if (strcmp(nconf->nc_proto, NC_UDP) == 0) { in __rpc_getconfip()
227 netid_udp = strdup(nconf->nc_netid); in __rpc_getconfip()
309 struct netconfig *nconf; in __rpc_getconf() local
316 nconf = getnetpath(handle->nhandle); in __rpc_getconf()
318 nconf = getnetconfig(handle->nhandle); in __rpc_getconf()
319 if (nconf == NULL) in __rpc_getconf()
321 if ((nconf->nc_semantics != NC_TPI_CLTS) && in __rpc_getconf()
322 (nconf->nc_semantics != NC_TPI_COTS) && in __rpc_getconf()
323 (nconf->nc_semantics != NC_TPI_COTS_ORD)) in __rpc_getconf()
327 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
335 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
339 if ((nconf->nc_semantics != NC_TPI_COTS) && in __rpc_getconf()
340 (nconf->nc_semantics != NC_TPI_COTS_ORD)) in __rpc_getconf()
344 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
348 if (nconf->nc_semantics != NC_TPI_CLTS) in __rpc_getconf()
352 if (((nconf->nc_semantics != NC_TPI_COTS) && in __rpc_getconf()
353 (nconf->nc_semantics != NC_TPI_COTS_ORD)) || in __rpc_getconf()
354 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf()
355 strcmp(nconf->nc_protofmly, NC_INET6)) || in __rpc_getconf()
356 strcmp(nconf->nc_proto, NC_TCP)) in __rpc_getconf()
360 if ((nconf->nc_semantics != NC_TPI_CLTS) || in __rpc_getconf()
361 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf()
362 strcmp(nconf->nc_protofmly, NC_INET6)) || in __rpc_getconf()
363 strcmp(nconf->nc_proto, NC_UDP)) in __rpc_getconf()
368 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
370 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK)) in __rpc_getconf()
376 return (nconf); in __rpc_getconf()
421 struct netconfig *nconf, *newnconf = NULL; in __rpcfd_to_nconf() local
458 while (nconf = getnetconfig(hndl)) { in __rpcfd_to_nconf()
459 if (__rpc_matchserv(servtype, nconf->nc_semantics) == TRUE) { in __rpcfd_to_nconf()
460 if (!stat(nconf->nc_device, &statbuf)) { in __rpcfd_to_nconf()
468 if (nconf) in __rpcfd_to_nconf()
469 newnconf = getnetconfigent(nconf->nc_netid); in __rpcfd_to_nconf()