Lines Matching defs:nconf

179 	struct netconfig *nconf;
228 if ((nconf = __rpc_getconf(handle)) == NULL) {
233 clnt = clnt_tp_create_timed(hostname, prog, vers, nconf, tp);
301 struct netconfig *nconf;
381 if ((nconf = __rpc_getconf(handle)) == NULL) {
388 if (strcmp(nconf->nc_protofmly, NC_INET) != 0 &&
389 strcmp(nconf->nc_protofmly, NC_INET6) != 0)
393 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
402 __rpc_set_mac_options(fd, nconf, prog);
414 if (netdir_getbyname(nconf, &hs, &raddrs) != ND_OK) {
428 if (strcmp(nconf->nc_protofmly, NC_INET) == NULL)
432 else if (strcmp(nconf->nc_protofmly, NC_INET6) == NULL)
438 clnt = _clnt_tli_create_timed(fd, nconf, &tbind->addr,
496 const struct netconfig *nconf)
498 return (clnt_tp_create_timed(hostname, prog, vers, nconf, NULL));
509 const rpcvers_t vers, const struct netconfig *nconf,
517 if (nconf == NULL) {
526 (struct netconfig *)nconf, (char *)hostname,
532 cl = _clnt_tli_create_timed(RPC_ANYFD, nconf, svcaddr,
538 cl->cl_netid = strdup(nconf->nc_netid);
549 cl->cl_tp = strdup(nconf->nc_device);
565 cl = _clnt_tli_create_timed(RPC_ANYFD, nconf, svcaddr,
577 * If fd is RPC_ANYFD, it will be opened using nconf.
582 clnt_tli_create(const int fd, const struct netconfig *nconf,
586 return (_clnt_tli_create_timed(fd, nconf, svcaddr, prog, vers, sendsz,
600 _clnt_tli_create_timed(int fd, const struct netconfig *nconf,
611 if (nconf == NULL) {
616 fd = t_open(nconf->nc_device, O_RDWR, NULL);
621 __rpc_set_mac_options(fd, nconf, prog);
624 switch (nconf->nc_semantics) {
661 if (nconf && ((strcmp(nconf->nc_protofmly, NC_INET) == 0) ||
662 (strcmp(nconf->nc_protofmly, NC_INET6) == 0))) {
679 if (nconf) {
680 cl->cl_netid = strdup(nconf->nc_netid);
689 cl->cl_tp = strdup(nconf->nc_device);