Lines Matching defs:nconf

176 	struct netconfig *nconf;
225 if ((nconf = __rpc_getconf(handle)) == NULL) {
230 clnt = clnt_tp_create_timed(hostname, prog, vers, nconf, tp);
298 struct netconfig *nconf;
378 if ((nconf = __rpc_getconf(handle)) == NULL) {
385 if (strcmp(nconf->nc_protofmly, NC_INET) != 0 &&
386 strcmp(nconf->nc_protofmly, NC_INET6) != 0)
390 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) < 0) {
399 __rpc_set_mac_options(fd, nconf, prog);
410 if (netdir_getbyname(nconf, &hs, &raddrs) != ND_OK) {
424 if (strcmp(nconf->nc_protofmly, NC_INET) == NULL)
427 else if (strcmp(nconf->nc_protofmly, NC_INET6) == NULL)
432 clnt = _clnt_tli_create_timed(fd, nconf, &tbind->addr,
490 const struct netconfig *nconf)
492 return (clnt_tp_create_timed(hostname, prog, vers, nconf, NULL));
503 const rpcvers_t vers, const struct netconfig *nconf,
511 if (nconf == NULL) {
520 (struct netconfig *)nconf, (char *)hostname,
526 cl = _clnt_tli_create_timed(RPC_ANYFD, nconf, svcaddr,
532 cl->cl_netid = strdup(nconf->nc_netid);
543 cl->cl_tp = strdup(nconf->nc_device);
559 cl = _clnt_tli_create_timed(RPC_ANYFD, nconf, svcaddr,
571 * If fd is RPC_ANYFD, it will be opened using nconf.
576 clnt_tli_create(const int fd, const struct netconfig *nconf,
580 return (_clnt_tli_create_timed(fd, nconf, svcaddr, prog, vers, sendsz,
594 _clnt_tli_create_timed(int fd, const struct netconfig *nconf,
605 if (nconf == NULL) {
610 fd = t_open(nconf->nc_device, O_RDWR, NULL);
615 __rpc_set_mac_options(fd, nconf, prog);
618 switch (nconf->nc_semantics) {
655 if (nconf && ((strcmp(nconf->nc_protofmly, NC_INET) == 0) ||
656 (strcmp(nconf->nc_protofmly, NC_INET6) == 0))) {
673 if (nconf) {
674 cl->cl_netid = strdup(nconf->nc_netid);
683 cl->cl_tp = strdup(nconf->nc_device);