• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.bin/rpcinfo/

Lines Matching refs:nconf

317 	struct netconfig *nconf;
321 while ((nconf = getnetconfig(localhandle)) != NULL) {
322 if (nconf->nc_protofmly != NULL &&
323 strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0)
326 if (nconf == NULL) {
331 clnt = clnt_tp_create(NULL, prog, vers, nconf);
560 struct netconfig *nconf;
568 if ((nconf = __rpc_getconfip("udp")) == NULL &&
569 (nconf = __rpc_getconfip("tcp")) == NULL)
581 (void) freenetconfigent(nconf);
597 reply_proc(void *res, struct netbuf *who, struct netconfig *nconf)
600 /* struct netconfig *nconf; On which transport the reply came */
612 uaddr = taddr2uaddr(nconf, who);
701 struct netconfig *nconf;
703 nconf = getnetconfigent(netid);
704 if (nconf == NULL) {
708 client = getclnthandle(host, nconf, RPCBVERS, NULL);
709 if (nconf)
710 (void) freenetconfigent(nconf);
897 struct netconfig *nconf;
899 nconf = getnetconfigent(netid);
900 if (nconf == NULL) {
904 client = getclnthandle(host, nconf, RPCBVERS4, &targaddr);
905 if (nconf)
906 (void) freenetconfigent(nconf);
926 struct netconfig *nconf;
928 nconf = getnetconfigent(client->cl_netid);
929 if (nconf != NULL) {
930 parms.r_addr = taddr2uaddr(nconf, targaddr);
933 freenetconfigent(nconf);
1212 struct netconfig *nconf = NULL;
1217 nconf = getnetconfigent(netid);
1218 if (nconf == NULL)
1221 if ((rpcb_unset(getprognum(argv[0]), getvers(argv[1]), nconf)) == 0)
1228 * Create and return a handle for the given nconf.
1232 clnt_addr_create(char *address, struct netconfig *nconf,
1240 if ((fd = __rpc_nconf2fd(nconf)) == -1) {
1246 nbuf = uaddr2taddr(nconf, address);
1250 client = clnt_tli_create(fd, nconf, nbuf, prog, vers, 0, 0);
1273 struct netconfig *nconf;
1278 nconf = getnetconfigent(netid);
1279 if (nconf == (struct netconfig *)NULL)
1293 client = clnt_addr_create(address, nconf, prognum, versnum);
1319 client = clnt_addr_create(address, nconf, prognum, MAX_VERS);
1346 client = clnt_addr_create(address, nconf, prognum, versnum);
1375 struct netconfig *nconf;
1390 nconf = getnetconfigent(netid);
1391 if (nconf == (struct netconfig *)NULL)
1393 client = clnt_tp_create(argv[0], prognum, versnum, nconf);
1551 struct netconfig *nconf;
1560 if ((nconf = __rpc_getconf(handle)) == NULL) {
1565 clnt = getclnthandle(host, nconf, rpcbversnum,
1576 getclnthandle(char *host, struct netconfig *nconf,
1591 client = clnt_tli_create(RPC_ANYFD, nconf, &addr, RPCBPROG,