Lines Matching defs:nconf
71 static int create_service(struct netconfig *nconf);
72 static void complete_service(struct netconfig *nconf, char *port_str);
83 struct netconfig *nconf;
200 while ((nconf = getnetconfig(nc_handle))) {
202 if (nconf->nc_flag & NC_VISIBLE) {
204 if (have_v6 == 0 && strcmp(nconf->nc_protofmly, "inet6") == 0) {
207 ret = create_service(nconf);
241 * different port #s for each nconf
264 while ((nconf = getnetconfig(nc_handle))) {
266 if (nconf->nc_flag & NC_VISIBLE) {
268 if (have_v6 == 0 && strcmp(nconf->nc_protofmly, "inet6") == 0) {
275 complete_service(nconf, port_list[port_pos++]);
277 complete_service(nconf, svcport_str);
325 create_service(struct netconfig *nconf)
338 if ((nconf->nc_semantics != NC_TPI_CLTS) &&
339 (nconf->nc_semantics != NC_TPI_COTS) &&
340 (nconf->nc_semantics != NC_TPI_COTS_ORD))
346 if (!__rpc_nconf2sockinfo(nconf, &si)) {
348 nconf->nc_netid);
374 if ((fd = __rpc_nconf2fd(nconf)) < 0) {
376 nconf->nc_netid);
459 nconf->nc_netid,
470 nconf->nc_netid, gai_strerror(aicode));
521 complete_service(struct netconfig *nconf, char *port_str)
530 if ((nconf->nc_semantics != NC_TPI_CLTS) &&
531 (nconf->nc_semantics != NC_TPI_COTS) &&
532 (nconf->nc_semantics != NC_TPI_COTS_ORD))
538 if (!__rpc_nconf2sockinfo(nconf, &si)) {
540 nconf->nc_netid);
556 if (nconf->nc_semantics != NC_TPI_CLTS)
559 transp = svc_tli_create(fd, nconf, NULL,
566 nconf->nc_netid);
572 nconf->nc_netid);
576 nconf->nc_netid);
598 rpcb_set(SM_PROG, SM_VERS, nconf, &servaddr);