Lines Matching refs:nconf

206 		struct netconfig *nconf;  in __rpc_getconfip()  local
211 while (nconf = getnetconfig(confighandle)) { in __rpc_getconfip()
212 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) { in __rpc_getconfip()
213 if (strcmp(nconf->nc_proto, NC_TCP) == 0) { in __rpc_getconfip()
214 netid_tcp = strdup(nconf->nc_netid); in __rpc_getconfip()
228 if (strcmp(nconf->nc_proto, NC_UDP) == 0) { in __rpc_getconfip()
229 netid_udp = strdup(nconf->nc_netid); in __rpc_getconfip()
311 struct netconfig *nconf; in __rpc_getconf() local
318 nconf = getnetpath(handle->nhandle); in __rpc_getconf()
320 nconf = getnetconfig(handle->nhandle); in __rpc_getconf()
321 if (nconf == NULL) in __rpc_getconf()
323 if ((nconf->nc_semantics != NC_TPI_CLTS) && in __rpc_getconf()
324 (nconf->nc_semantics != NC_TPI_COTS) && in __rpc_getconf()
325 (nconf->nc_semantics != NC_TPI_COTS_ORD)) in __rpc_getconf()
329 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
337 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
341 if ((nconf->nc_semantics != NC_TPI_COTS) && in __rpc_getconf()
342 (nconf->nc_semantics != NC_TPI_COTS_ORD)) in __rpc_getconf()
346 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
350 if (nconf->nc_semantics != NC_TPI_CLTS) in __rpc_getconf()
354 if (((nconf->nc_semantics != NC_TPI_COTS) && in __rpc_getconf()
355 (nconf->nc_semantics != NC_TPI_COTS_ORD)) || in __rpc_getconf()
356 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf()
357 strcmp(nconf->nc_protofmly, NC_INET6)) || in __rpc_getconf()
358 strcmp(nconf->nc_proto, NC_TCP)) in __rpc_getconf()
362 if ((nconf->nc_semantics != NC_TPI_CLTS) || in __rpc_getconf()
363 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf()
364 strcmp(nconf->nc_protofmly, NC_INET6)) || in __rpc_getconf()
365 strcmp(nconf->nc_proto, NC_UDP)) in __rpc_getconf()
370 if (!(nconf->nc_flag & NC_VISIBLE)) in __rpc_getconf()
372 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK)) in __rpc_getconf()
378 return (nconf); in __rpc_getconf()
423 struct netconfig *nconf, *newnconf = NULL; in __rpcfd_to_nconf() local
460 while (nconf = getnetconfig(hndl)) { in __rpcfd_to_nconf()
461 if (__rpc_matchserv(servtype, nconf->nc_semantics) == TRUE) { in __rpcfd_to_nconf()
462 if (!stat(nconf->nc_device, &statbuf)) { in __rpcfd_to_nconf()
470 if (nconf) in __rpcfd_to_nconf()
471 newnconf = getnetconfigent(nconf->nc_netid); in __rpcfd_to_nconf()