Lines Matching defs:nconf
158 struct netconfig *nconf;
173 if ((nconf = __rpc_getconf(handle)) == NULL) {
179 printf("trying netid %s\n", nconf->nc_netid);
181 clnt = clnt_tp_create(hostname, prog, vers, nconf);
229 const struct netconfig *nconf) /* net config struct */
235 /* nconf is handled below */
237 if (nconf == NULL) {
245 if ((svcaddr = __rpcb_findaddr(prog, vers, nconf, hostname,
251 cl = clnt_tli_create(RPC_ANYFD, nconf, svcaddr,
257 cl->cl_netid = strdup(nconf->nc_netid);
262 cl->cl_tp = strdup(nconf->nc_device);
270 cl = clnt_tli_create(RPC_ANYFD, nconf, svcaddr,
286 * If fd is RPC_ANYFD, it will be opened using nconf.
293 const struct netconfig *nconf, /* netconfig structure */
305 /* nconf is handled below */
309 if (nconf == NULL) {
314 fd = __rpc_nconf2fd(nconf);
320 servtype = nconf->nc_semantics;
344 if (!nconf || !cl)
357 if (nconf) {
358 cl->cl_netid = strdup(nconf->nc_netid);
361 cl->cl_tp = strdup(nconf->nc_device);