Lines Matching defs:nconf

115 	struct netconfig *nconf;
135 while (nconf = __rpc_getconf(handle)) {
138 if (strcmp(l->xprt->xp_netid, nconf->nc_netid) == 0) {
140 (void) rpcb_unset(prognum, versnum, nconf);
142 dispatch, nconf) == FALSE)
145 prognum, versnum, nconf->nc_netid);
154 xprt = svc_tp_create(dispatch, prognum, versnum, nconf);
176 * It tries to create a server for "nconf" and registers the service
181 const rpcvers_t versnum, const struct netconfig *nconf)
186 if (nconf == NULL) {
196 xprt = svc_tli_create_common(RPC_ANYFD, nconf, NULL, 0, 0, anon_mlp);
200 (void) rpcb_unset(prognum, versnum, (struct netconfig *)nconf);
201 if (svc_reg(xprt, prognum, versnum, dispatch, nconf) == FALSE) {
204 prognum, versnum, nconf->nc_netid);
212 svc_tli_create(const int fd, const struct netconfig *nconf,
215 return (svc_tli_create_common(fd, nconf, bindaddr, sendsz, recvsz, 0));
220 * provider (nconf cannot be NULL then). If the t_state is T_UNBND and
228 svc_tli_create_common(const int ofd, const struct netconfig *nconf,
240 if (nconf == NULL) {
245 fd = t_open(nconf->nc_device, O_RDWR, &tinfo);
253 nconf->nc_netid, errorstr);
283 if (nconf) {
285 if (strcmp(nconf->nc_netid, "udp6") == 0) {
298 } else if (strcmp(nconf->nc_netid, "udp") == 0) {
330 (strcmp(nconf->nc_protofmly, NC_INET) == 0 ||
331 strcmp(nconf->nc_protofmly, NC_INET6) == 0)) {
350 tcp = nconf ? (strcmp(nconf->nc_proto, NC_TCP) == 0) : 0;
351 if (nconf &&
352 (tcp || (strcmp(nconf->nc_proto, NC_UDP) == 0)) &&
359 nconf->nc_netid);
404 if (nconf) {
406 if (strcmp(nconf->nc_netid, "udp6") == 0) {
419 } else if (strcmp(nconf->nc_netid, "udp") == 0) {
489 if (!nconf || !xprt)
493 (strcmp(nconf->nc_protofmly, "inet") == 0))
530 if (nconf) {
531 xprt->xp_netid = strdup(nconf->nc_netid);
538 xprt->xp_tp = strdup(nconf->nc_device);