Lines Matching defs:nconf
240 get_connection(struct netconfig *nconf, struct netbuf netaddr)
252 fd = t_open(nconf->nc_device, O_RDWR | O_NONBLOCK, &tinfo);
322 struct netconfig *nconf;
376 while (nconf = getnetconfig(handlep)) {
377 if ((nconf->nc_semantics == NC_TPI_COTS_ORD) &&
378 (strcmp(nconf->nc_protofmly, NC_INET) == 0) &&
379 (strcmp(nconf->nc_proto, NC_TCP) == 0))
383 if (nconf == (struct netconfig *)NULL)
391 fd = get_connection(nconf, netaddr);
402 printf("nconf: nc_netid: %s, nc_semantics: %d, nc_flag: %d, "
404 nconf->nc_netid, nconf->nc_semantics, nconf->nc_flag,
405 nconf->nc_protofmly);
407 nconf->nc_proto, nconf->nc_device, nconf->nc_nlookups,
408 nconf->nc_unused);
425 handle->clnt = clnt_tli_create(fd, nconf, NULL,
429 handle->clnt = clnt_tli_create(fd, nconf, NULL,