Searched refs:nconf (Results 26 - 43 of 43) sorted by relevance

12

/freebsd-13-stable/usr.sbin/keyserv/
H A Dkeyserv.c120 struct netconfig *nconf = NULL; local
183 while ((nconf = getnetconfig(localhandle)) != NULL) {
184 if (nconf->nc_protofmly != NULL &&
185 strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0)
189 if (nconf == NULL)
193 rpcb_unset(CRYPT_PROG, CRYPT_VERS, nconf);
197 if (!svc_reg(transp, KEY_PROG, KEY_VERS, keyprogram, nconf))
199 if (!svc_reg(transp, KEY_PROG, KEY_VERS2, keyprogram, nconf))
201 if (!svc_reg(transp, CRYPT_PROG, CRYPT_VERS, crypt_prog_1, nconf))
/freebsd-13-stable/usr.sbin/rpcbind/
H A Drpcb_svc_com.c368 struct netconfig *nconf; local
374 if (((nconf = rpcbind_get_conf(transp->xp_netid)) == NULL) ||
375 ((taddr = uaddr2taddr(nconf, *uaddrp)) == NULL)) {
393 struct netconfig *nconf; local
407 if (((nconf = rpcbind_get_conf(transp->xp_netid)) == NULL) ||
408 ((uaddr = taddr2uaddr(nconf, taddr)) == NULL)) {
486 create_rmtcall_fd(struct netconfig *nconf) argument
492 if ((fd = __rpc_nconf2fd(nconf)) == -1) {
496 nconf->nc_device, errno);
512 rmt->netid = strdup(nconf
600 struct netconfig *nconf; local
[all...]
/freebsd-13-stable/sbin/mount_nfs/
H A Dmount_nfs.c735 struct netconfig *nconf, *nconf_mnt; local
756 if ((nconf = getnetconf_cached(netid)) == NULL) {
763 nconf_mnt = nconf;
800 if (!rpcb_getaddr(NFS_PROGRAM, nfsvers, nconf, &nfs_nb,
816 clp = clnt_tli_create(RPC_ANYFD, nconf, &nfs_nb, NFS_PROGRAM, nfsvers,
1011 struct netconfig *nconf; member in struct:nc_entry
1015 struct netconfig *nconf; local
1018 if (strcmp(netid, p->nconf->nc_netid) == 0)
1019 return (p->nconf);
1021 if ((nconf
[all...]
/freebsd-13-stable/sys/kgssapi/
H A Dgss_impl.c91 struct netconfig *nconf; local
111 nconf = getnetconfigent("local");
112 cl = clnt_reconnect_create(nconf,
H A Dgsstest.c762 struct netconfig *nconf = NULL; local
768 nconf = getnetconfigent("tcp");
772 nconf = getnetconfigent("tcp6");
777 rpcb = clnt_reconnect_create(nconf, (struct sockaddr *)&ss,
/freebsd-13-stable/lib/libc/rpc/
H A Dsvc.c177 const struct netconfig *nconf)
191 } else if (nconf && nconf->nc_netid) {
192 netid = strdup(nconf->nc_netid);
231 if (nconf) {
233 dummy = rpcb_set(prog, vers, (struct netconfig *) nconf,
175 svc_reg(SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, void (*dispatch)(struct svc_req *, SVCXPRT *), const struct netconfig *nconf) argument
H A Dsvc_dg.c585 struct netconfig *nconf; local
628 if (nconf = getnetconfigent(xprt->xp_netid)) {
629 uaddr = taddr2uaddr(nconf, &xprt->xp_rtaddr);
630 freenetconfigent(nconf);
671 struct netconfig *nconf; local
686 if (nconf = getnetconfigent(xprt->xp_netid)) {
687 uaddr = taddr2uaddr(nconf, &xprt->xp_rtaddr);
688 freenetconfigent(nconf);
/freebsd-13-stable/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c113 struct netconfig *nconf; local
150 nconf = getnetconfigent("local");
151 cl = clnt_reconnect_create(nconf,
206 nconf = getnetconfigent("local");
207 cl = clnt_reconnect_create(nconf,
/freebsd-13-stable/sys/nlm/
H A Dnlm_prot_impl.c505 struct netconfig *nconf = NULL; local
511 nconf = getnetconfigent("tcp");
515 nconf = getnetconfigent("tcp6");
520 rpcb = clnt_reconnect_create(nconf, (struct sockaddr *)&ss,
1418 struct netconfig *nconf; local
1459 nconf = getnetconfigent(netid);
1460 if (!nconf) {
1467 NLM_PROG, versions[i], uaddr, nconf);
1474 freenetconfigent(nconf);
1476 nconf
[all...]
/freebsd-13-stable/usr.sbin/rpc.lockd/
H A Dlock_proc.c196 struct netconfig *nconf; local
260 nconf = getnetconfigent(netid);
261 if (nconf == NULL) {
267 client = clnt_tp_create(host, NLM_PROG, vers, nconf);
268 freenetconfigent(nconf);
/freebsd-13-stable/crypto/openssl/crypto/asn1/
H A Dasn1_gen.c78 ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf) argument
82 if (!nconf)
85 X509V3_set_nconf(&cnf, nconf);
/freebsd-13-stable/sys/fs/nfs/
H A Dnfs_commonkrpc.c177 struct netconfig *nconf; local
208 nconf = getnetconfigent("udp");
210 nconf = getnetconfigent("tcp");
213 nconf = getnetconfigent("udp6");
215 nconf = getnetconfigent("tcp6");
276 client = clnt_reconnect_create(nconf, saddr, nrp->nr_prog,
/freebsd-13-stable/sys/rpc/
H A Dsvc.c506 const struct netconfig *nconf)
518 } else if (nconf && nconf->nc_netid) {
519 netid = strdup(nconf->nc_netid, M_RPC);
555 if (nconf) {
559 tnc = *nconf;
504 svc_reg(SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, void (*dispatch)(struct svc_req *, SVCXPRT *), const struct netconfig *nconf) argument
H A Dclnt_rc.c76 struct netconfig *nconf, /* network type */
95 rc->rc_nconf = nconf;
75 clnt_reconnect_create( struct netconfig *nconf, struct sockaddr *svcaddr, rpcprog_t program, rpcvers_t version, size_t sendsz, size_t recvsz) argument
H A Dclnt.h437 * struct netconfig *nconf; -- network type
444 extern CLIENT *clnt_reconnect_create(struct netconfig *nconf,
544 * const struct netconfig *nconf; -- netconfig structure
682 * done = eachresult(resp, raddr, nconf)
686 * struct netconfig *nconf;
688 * address if the responder to the broadcast. nconf is the transport
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/rpc/
H A Dt_rpc.c42 reply(caddr_t replyp, struct netbuf * raddrp, struct netconfig * nconf) argument
/freebsd-13-stable/usr.sbin/mountd/
H A Dmountd.c219 static int create_service(struct netconfig *nconf);
220 static void complete_service(struct netconfig *nconf, char *port_str);
418 struct netconfig *nconf; local
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
788 create_service(struct netconfig *nconf) argument
1006 complete_service(struct netconfig *nconf, char *port_str) argument
[all...]
/freebsd-13-stable/crypto/openssl/include/openssl/
H A Dasn1.h817 ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);

Completed in 234 milliseconds

12