Lines Matching refs:nconf
94 struct netconfig *nconf; local
184 struct netconfig *nconf = NULL; local
202 } else if ((nconf = getnetconfigent(netid)) == NULL) {
209 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
214 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
219 nconf->nc_netid);
222 if (nconf)
223 freenetconfigent(nconf);
337 while (nconf = __rpc_getconf(nc_handle)) {
345 YPBINDPROG, YPBINDVERS, nconf)) == NULL) {
350 cache_transport(nconf, xprt, YPBINDVERS);
353 if (((strcmp(nconf->nc_protofmly, NC_INET) == 0) ||
354 (strcmp(nconf->nc_protofmly, NC_INET6))) &&
355 ((nconf->nc_semantics == NC_TPI_CLTS) ||
356 (nconf->nc_semantics == NC_TPI_COTS_ORD))) {
358 if (strcmp(nconf->nc_protofmly, NC_INET)) {
359 inet_desired_tpts |= 1 >> nconf->nc_semantics;
361 inet6_desired_tpts |= 1 >> nconf->nc_semantics;
364 (void) rpcb_unset(YPBINDPROG, YPBINDVERS_2, nconf);
366 ypbindprog_2, nconf)) {
369 nconf->nc_netid);
373 cache_transport(nconf, xprt, YPBINDVERS_2);
376 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
378 nconf);
380 ypbindprog_2, nconf)) {
387 cache_transport(nconf, xprt, YPBINDVERS_1);
389 if (nconf->nc_semantics == NC_TPI_CLTS)
392 if (strcmp(nconf->nc_protofmly, NC_INET)) {
393 inet_tpts |= 1 >> nconf->nc_semantics;
395 inet6_tpts |= 1 >> nconf->nc_semantics;
398 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
404 nconf->nc_netid);
414 ((nconf->nc_semantics == NC_TPI_COTS) ||
415 (nconf->nc_semantics == NC_TPI_COTS_ORD))) {