Home | History | Annotate | Download | only in rpc

Lines Matching defs:nconf

102 	struct netconfig *nconf;
111 while ((nconf = __rpc_getconf(handle)) != NULL) {
114 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) {
116 (void) rpcb_unset(prognum, versnum, nconf);
118 dispatch, nconf) == FALSE)
122 (unsigned)versnum, nconf->nc_netid);
130 xprt = svc_tp_create(dispatch, prognum, versnum, nconf);
156 * It tries to create a server for "nconf" and registers the service
164 const struct netconfig *nconf) /* Netconfig structure for the network */
168 if (nconf == NULL) {
173 xprt = svc_tli_create(RPC_ANYFD, nconf, NULL, 0, 0);
177 (void) rpcb_unset(prognum, versnum, __UNCONST(nconf));
178 if (svc_reg(xprt, prognum, versnum, dispatch, nconf) == FALSE) {
181 nconf->nc_netid);
190 * provider (nconf cannot be NULL then). If the t_state is T_UNBND and
200 const struct netconfig *nconf, /* Netconfig struct for nettoken */
212 if (nconf == NULL) {
216 fd = __rpc_nconf2fd(nconf);
219 nconf->nc_netid);
222 __rpc_nconf2sockinfo(nconf, &si);
285 if (!nconf || !xprt)
289 if (strcmp(nconf->nc_protofmly, "inet") == 0 ||
290 strcmp(nconf->nc_protofmly, "inet6") == 0)
312 if (nconf) {
313 xprt->xp_netid = strdup(nconf->nc_netid);
314 xprt->xp_tp = strdup(nconf->nc_device);