• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/mountd/

Lines Matching refs:nconf

219 static int	create_service(struct netconfig *nconf);
220 static void complete_service(struct netconfig *nconf, char *port_str);
418 struct netconfig *nconf;
619 while ((nconf = getnetconfig(nc_handle))) {
620 if (nconf->nc_flag & NC_VISIBLE) {
621 if (have_v6 == 0 && strcmp(nconf->nc_protofmly,
625 ret = create_service(nconf);
666 * nconf by saving the
691 while ((nconf = getnetconfig(nc_handle))) {
692 if (nconf->nc_flag & NC_VISIBLE) {
693 if (have_v6 == 0 && strcmp(nconf->nc_protofmly,
702 complete_service(nconf,
705 complete_service(nconf, svcport_str);
788 create_service(struct netconfig *nconf)
802 if ((nconf->nc_semantics != NC_TPI_CLTS) &&
803 (nconf->nc_semantics != NC_TPI_COTS) &&
804 (nconf->nc_semantics != NC_TPI_COTS_ORD))
810 if (!__rpc_nconf2sockinfo(nconf, &si)) {
812 nconf->nc_netid);
839 if ((fd = __rpc_nconf2fd(nconf)) < 0) {
842 nconf->nc_semantics != NC_TPI_CLTS)
846 "cannot create socket for %s", nconf->nc_netid);
944 nconf->nc_netid,
955 nconf->nc_netid, gai_strerror(aicode));
1006 complete_service(struct netconfig *nconf, char *port_str)
1015 if ((nconf->nc_semantics != NC_TPI_CLTS) &&
1016 (nconf->nc_semantics != NC_TPI_COTS) &&
1017 (nconf->nc_semantics != NC_TPI_COTS_ORD))
1023 if (!__rpc_nconf2sockinfo(nconf, &si)) {
1025 nconf->nc_netid);
1045 if (nconf->nc_semantics != NC_TPI_CLTS)
1048 if (nconf->nc_semantics == NC_TPI_CLTS )
1059 nconf->nc_netid);
1065 nconf->nc_netid);
1069 nconf->nc_netid);
1090 rpcb_set(MOUNTPROG, MOUNTVERS, nconf, &servaddr);
1091 rpcb_set(MOUNTPROG, MOUNTVERS3, nconf, &servaddr);