Lines Matching refs:nconf
88 test_svc_tp_create(struct netconfig *nconf) in test_svc_tp_create() argument
103 (strcmp(nconf->nc_protofmly, NC_INET) == 0 || in test_svc_tp_create()
104 strcmp(nconf->nc_protofmly, NC_INET6) == 0)) { in test_svc_tp_create()
112 err = netdir_getbyname((struct netconfig *)nconf, &hs, &al); in test_svc_tp_create()
115 nconf, al->n_addrs); in test_svc_tp_create()
121 (int)vers, nconf->nc_netid, testd_port); in test_svc_tp_create()
131 xprt = svc_tp_create(mysvc, TESTPROG, vers, nconf); in test_svc_tp_create()
136 (int)vers, nconf->nc_netid); in test_svc_tp_create()
144 if (!svc_reg(xprt, TESTPROG, vers, mysvc, nconf)) { in test_svc_tp_create()
147 (int)vers, nconf->nc_netid); in test_svc_tp_create()
167 struct netconfig *nconf; in main() local
227 while ((nconf = getnetconfig(nc)) != NULL) { in main()
231 if ((nconf->nc_flag & NC_VISIBLE) == 0) in main()
233 if (nconf->nc_semantics != NC_TPI_CLTS && in main()
234 nconf->nc_semantics != NC_TPI_COTS && in main()
235 nconf->nc_semantics != NC_TPI_COTS_ORD) in main()
238 test_svc_tp_create(nconf); in main()