Lines Matching defs:nconf

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