Searched defs:nconf (Results 51 - 75 of 81) sorted by relevance

1234

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c111 struct netconfig *nconf; local
114 if ((nconf = getnetconfigent(rpc->netid)) == NULL) {
135 if (!rpcb_set(rpc->prognum, ver, nconf, &(rpc->netbuf))) {
141 (void) rpcb_unset(rpc->prognum, ver, nconf);
143 freenetconfigent(nconf);
148 freenetconfigent(nconf);
157 struct netconfig *nconf; local
159 if ((nconf = getnetconfigent(rpc->netid)) == NULL) {
173 (void) rpcb_unset(rpc->prognum, ver, nconf);
175 freenetconfigent(nconf);
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c139 struct netconfig *nconf; local
176 while (nconf = getnetconfig(nc)) {
177 if (!(nconf->nc_flag & NC_VISIBLE) ||
178 nconf->nc_semantics != NC_TPI_CLTS ||
179 (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0))
194 trans->tr_fd = t_open(nconf->nc_device, O_RDWR, NULL);
197 nconf->nc_device);
216 trans->tr_device = nconf->nc_device;
222 if (netdir_getbyname(nconf, &hs, &retaddrs) == ND_OK) {
273 strcmp(nconf
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drusers.c240 collectnames(void *resultsp, struct netbuf *raddrp, struct netconfig *nconf) argument
251 if (netdir_getbyaddr(nconf, &hs, raddrp)) {
257 taddr2uaddr(nconf, raddrp));
366 collectnames_3(void *resultsp, struct netbuf *raddrp, struct netconfig *nconf) argument
377 if (netdir_getbyaddr(nconf, &hs, raddrp)) {
383 taddr2uaddr(nconf, raddrp));
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrboot.c110 struct netconfig nconf; variable in typeref:struct:netconfig
276 conf = &nconf;
H A Dsndrd.c218 rdc_transport_open(struct netconfig *nconf) argument
223 if ((nconf == (struct netconfig *)NULL) ||
224 (nconf->nc_device == (char *)NULL)) {
232 fd = t_open(nconf->nc_device, O_RDWR, (struct t_info *)NULL);
237 fd = t_open(nconf->nc_device, O_RDWR, NULL);
267 if (nconf->nc_semantics == NC_TPI_CLTS) {
335 rdcd_log_tli_error(char *tli_name, int fd, struct netconfig *nconf) argument
346 tli_name, fd, nconf->nc_proto);
350 tli_name, fd, nconf->nc_proto, t_errno);
433 struct netconfig *nconf; local
813 add_to_poll_list(int fd, struct netconfig *nconf) argument
965 conn_get(int fd, struct netconfig *nconf, struct conn_ind **connp) argument
1018 discon_get(int fd, struct netconfig *nconf, struct conn_ind **connp) argument
1061 struct netconfig *nconf = &conn_polled[conn_index].nc; local
1193 struct netconfig *nconf = &(connent->nc); local
1322 struct netconfig *nconf = &conn_polled[conn_index].nc; local
1624 rdcsvc(int fd, struct netbuf addrmask, struct netconfig *nconf) argument
1680 rdcd_bindit(struct netconfig *nconf, struct netbuf **addr, struct nd_hostserv *hs, int backlog) argument
1801 struct netconfig *nconf; local
1849 set_addrmask(int fd, struct netconfig *nconf, struct netbuf *mask) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c133 struct netconfig *nconf = NULL; local
158 if ((nconf = getnetconfigent(netid)) == NULL) {
162 if ((transp = svc_tli_create(0, nconf, NULL, 0, 0)) == NULL) {
166 if (nconf)
167 freenetconfigent(nconf);
646 struct netconfig *nconf; local
663 nconf = getnetconfigent(transp->xp_netid);
664 if (nconf == NULL) {
672 freenetconfigent(nconf);
675 if (netdir_getbyaddr(nconf,
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsd/
H A Dnfsd.c559 struct netconfig *nconf; local
567 while (nconf = getnetconfig(nc)) {
568 if (strcmp(nconf->nc_proto, proto) == 0) {
570 do_one(nconf->nc_device, NULL,
643 nfssvc(int fd, struct netbuf addrmask, struct netconfig *nconf) argument
648 nsa.netid = nconf->nc_netid;
650 if (strncasecmp(nconf->nc_proto, NC_UDP, strlen(NC_UDP)) == 0) {
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c229 get_connection(struct netconfig *nconf, struct netbuf netaddr) argument
241 fd = t_open(nconf->nc_device, O_RDWR | O_NONBLOCK, &tinfo);
311 struct netconfig *nconf; local
368 while (nconf = getnetconfig(handlep)) {
369 if ((nconf->nc_semantics == NC_TPI_COTS_ORD) &&
370 (strcmp(nconf->nc_protofmly, NC_INET) == 0) &&
371 (strcmp(nconf->nc_proto, NC_TCP) == 0))
375 if (nconf == (struct netconfig *)NULL)
383 fd = get_connection(nconf, netaddr);
394 printf("nconf
[all...]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c897 bindresvport(struct netconfig *nconf, int fd, struct netbuf *addr) argument
931 if (strcmp(nconf->nc_protofmly, NC_INET) == 0) {
939 } else if (strcmp(nconf->nc_protofmly, NC_INET6) == 0) {
972 if (strcmp(nconf->nc_proto, NC_TCP) == 0) {
975 } else if (strcmp(nconf->nc_proto, NC_UDP) == 0) {
H A Dgetipnodeby.c251 struct netconfig *nconf; local
257 if ((nconf = __rpc_getconfip("udp")) == NULL &&
258 (nconf = __rpc_getconfip("tcp")) == NULL) {
290 ret = _get_hostserv_inetnetdir_byname(nconf, &nssin, &nssout);
328 ret = _get_hostserv_inetnetdir_byname(nconf, &nssin, &nssout);
449 (void) freenetconfigent(nconf);
464 struct netconfig *nconf; local
502 if ((nconf = __rpc_getconfip("udp")) == NULL &&
503 (nconf = __rpc_getconfip("tcp")) == NULL) {
525 * We pass in nconf an
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c83 struct netconfig *nconf; local
89 if ((nconf = __rpc_getconfip(tp)) == NULL) {
95 fd = t_open(nconf->nc_device, O_RDWR, &tinfo);
127 cl = clnt_tli_create(fd, nconf, &bindaddr, prog, vers,
137 (void) freenetconfigent(nconf);
150 (void) freenetconfigent(nconf);
197 struct netconfig *nconf; local
203 if ((nconf = __rpc_getconfip(netid)) == NULL) {
208 fd = t_open(nconf->nc_device, O_RDWR, NULL);
217 (void) freenetconfigent(nconf);
470 rpc_wrap_bcast(char *resultp, struct netbuf *addr, struct netconfig *nconf) argument
515 struct netconfig *nconf; local
[all...]
H A Drpcb_clnt.c287 getclnthandle(char *host, struct netconfig *nconf, char **targaddr) argument
289 return (_getclnthandle_timed(host, nconf, targaddr, NULL));
299 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr, argument
317 ad_cache = check_cache(host, nconf->nc_netid);
320 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr,
374 if ((neterr = netdir_getbyname(nconf, &rpcbind_hs, &nas)) != 0) {
385 client = _clnt_tli_create_timed(RPC_ANYFD, nconf, addr, RPCBPROG,
392 tmpaddr = targaddr ? taddr2uaddr(nconf, addr) : NULL;
393 add_cache(host, nconf->nc_netid, addr, tmpaddr);
415 struct netconfig *nconf, *tmpncon local
450 rpcb_set(const rpcprog_t program, const rpcvers_t version, const struct netconfig *nconf, const struct netbuf *address) argument
503 rpcb_unset(const rpcprog_t program, const rpcvers_t version, const struct netconfig *nconf) argument
536 got_entry(rpcb_entry_list_ptr relp, struct netconfig *nconf) argument
634 __rpcb_findaddr_timed(rpcprog_t program, rpcvers_t version, struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp) argument
1073 rpcb_getaddr(const rpcprog_t program, const rpcvers_t version, const struct netconfig *nconf, struct netbuf *address, const char *host) argument
1102 rpcb_getmaps(const struct netconfig *nconf, const char *host) argument
1155 rpcb_rmtcall(const struct netconfig *nconf, const char *host, const rpcprog_t prog, const rpcvers_t vers, const rpcproc_t proc, const xdrproc_t xdrargs, const caddr_t argsp, const xdrproc_t xdrres, const caddr_t resp, const struct timeval tout, struct netbuf *addr_ptr) argument
1225 struct netconfig *nconf; local
1278 rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr) argument
1308 rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr) argument
[all...]
H A Dsvc_dg.c368 struct netconfig *nconf; local
442 if ((nconf = getnetconfigent(xprt->xp_netid)) != NULL) {
443 if (strcmp(nconf->nc_protofmly, NC_INET) == 0 ||
444 strcmp(nconf->nc_protofmly, NC_INET6) == 0) {
445 if (nconf->nc_semantics == NC_TPI_CLTS) {
450 if (strcmp(nconf->nc_protofmly,
457 if (strcmp(nconf->nc_protofmly,
464 freenetconfigent(nconf);
469 freenetconfigent(nconf);
763 struct netconfig *nconf; local
875 struct netconfig *nconf; local
[all...]
H A Dsvc_vc.c710 struct netconfig *nconf; local
712 if ((nconf = __rpcfd_to_nconf(xprt->xp_fd, xprt->xp_type))
718 (void) strcpy(tpname, nconf->nc_device);
719 freenetconfigent(nconf);
H A Dsvc.c857 void (*dispatch)(), const struct netconfig *nconf)
870 } else if (nconf && nconf->nc_netid) {
871 netid = strdup(nconf->nc_netid);
927 if (nconf)
928 return (rpcb_set(prog, vers, nconf, &xprt->xp_ltaddr));
973 struct netconfig *nconf; local
980 } else if ((ioctl(xprt->xp_fd, I_FIND, "timod") > 0) && ((nconf =
983 netid = strdup(nconf->nc_netid);
985 freenetconfigent(nconf);
856 svc_reg(const SVCXPRT *xprt, const rpcprog_t prog, const rpcvers_t vers, void (*dispatch)(), const struct netconfig *nconf) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_bind.c283 struct netconfig *nconf = 0; local
290 nconf = getnetconfigent(netid);
291 if (nconf == 0)
303 if (!rpcb_getaddr(YPPROG, YPVERS, nconf, svcaddr, addr))
312 binding->ypbind_nconf = nconf;
329 if (nconf)
330 freenetconfigent(nconf);
429 tli_open_rsvdport(struct netconfig *nconf) argument
433 if (nconf == NULL)
436 fd = t_open(nconf
933 struct netconfig *nconf; local
964 getclnt(rpcprog_t prog, rpcvers_t vers, struct netconfig *nconf, int *err) argument
1078 get_cached_transport(struct netconfig *nconf, int vers, char *uaddress, int ulen) argument
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_subr.c463 struct netconfig *nconf; local
560 while (clnt2 == 0 && (nconf = __rpc_getconf(handle)) != 0) {
569 __clnt_tp_create_bootstrap(servername, YPPROG, YPVERS, nconf);
708 ypbind_broadcast_ack(ptrue, nbuf, nconf)
711 struct netconfig *nconf;
716 b.ypbind_nconf = nconf;
851 struct netconfig *nconf; local
854 if ((nconf = getnetconfigent(transp->xp_netid))
859 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) {
862 uaddr = taddr2uaddr(nconf, wh
[all...]
H A Dypxfr.c1498 struct netconfig *nconf; local
1517 if ((nconf = getnetconfigent(netid[i])) == NULL) {
1525 if (rpcb_getaddr(YPPROG, master_prog_vers, nconf, svcaddr,
1527 freenetconfigent(nconf);
1535 if ((domb.dom_client = __nis_clnt_create(fd, nconf, 0, svcaddr,
1537 freenetconfigent(nconf);
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c425 struct netconfig *nconf; local
694 while (nconf = getnetconfig(handlep)) {
695 if ((nconf->nc_semantics == NC_TPI_COTS_ORD) &&
696 (strcmp(nconf->nc_protofmly, NC_INET) == 0) &&
697 (strcmp(nconf->nc_proto, NC_TCP) == 0))
701 if (nconf == (struct netconfig *) NULL) {
706 fd = t_open(nconf->nc_device, O_RDWR, &tinfo);
823 transp = svc_tli_create(fd, nconf, NULL, 0, 0);
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c452 struct netconfig *nconf; local
455 if (((nconf = rpcbind_get_conf(rqstp->rq_xprt->xp_netid)) == NULL) ||
456 ((taddr = uaddr2taddr(nconf, *uaddrp)) == NULL)) {
475 struct netconfig *nconf; local
477 if ((nconf = rpcbind_get_conf(rqstp->rq_xprt->xp_netid)) == NULL)
480 *result = taddr2uaddr(nconf, taddr);
539 create_rmtcall_fd(struct netconfig *nconf) argument
544 if ((fd = t_open(nconf->nc_device, O_RDWR, NULL)) == -1) {
548 nconf->nc_device, errno, t_errno);
556 nconf
709 struct netconfig *nconf; local
1395 struct netconfig *nconf; local
[all...]
H A Drpcbind.c213 struct netconfig *nconf; local
320 while ((nconf = getnetconfig(nc_handle)) != NULL) {
321 if (nconf->nc_flag & NC_VISIBLE)
322 init_transport(nconf);
375 struct netconfig *nconf, *np; local
445 nconf = getnetconfigent(np->nc_netid);
447 if (!check_hostserv(nconf, HOST_SELF, ""))
449 if (!check_hostserv(nconf, HOST_SELF_CONNECT, ""))
451 if (!check_hostserv(nconf, HOST_SELF, "rpcbind"))
453 if (!check_hostserv(nconf, HOST_SELF_CONNEC
495 init_transport(struct netconfig *nconf) argument
733 rbllist_add(ulong_t prog, ulong_t vers, struct netconfig *nconf, struct netbuf *addr) argument
976 check_hostserv(struct netconfig *nconf, const char *host, const char *serv) argument
[all...]
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c100 struct netconfig *nconf*/);
105 static CLIENT *clnt_addr_create(/* char *addr, struct netconfig *nconf,
108 static CLIENT *getclnthandle(/* host, nconf, rpcbversnum */);
571 struct netconfig *nconf; local
579 if ((nconf = __rpc_getconfip("udp")) == NULL &&
580 (nconf = __rpc_getconfip("tcp")) == NULL) {
587 if (netdir_getbyname(nconf, &service, &naddrs)) {
596 (void) freenetconfigent(nconf);
612 reply_proc(res, who, nconf)
615 struct netconfig *nconf; /* O
743 struct netconfig *nconf; local
968 struct netconfig *nconf; local
997 struct netconfig *nconf; local
1300 struct netconfig *nconf = NULL; local
1379 struct netconfig *nconf; local
1487 struct netconfig *nconf; local
1687 struct netconfig *nconf; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c138 nfslib_transport_open(struct netconfig *nconf) argument
143 if ((nconf == (struct netconfig *)NULL) ||
144 (nconf->nc_device == (char *)NULL)) {
152 fd = t_open(nconf->nc_device, O_RDWR, (struct t_info *)NULL);
157 fd = t_open(nconf->nc_device, O_RDWR,
162 nconf->nc_device, t_errno);
211 if (strcmp(nconf->nc_netid, "udp6") == 0)
213 else if (strcmp(nconf->nc_netid, "udp") == 0)
282 nfslib_bindit(struct netconfig *nconf, struct netbuf **addr, argument
295 if ((fd = nfslib_transport_open(nconf))
528 nfslib_log_tli_error(char *tli_name, int fd, struct netconfig *nconf) argument
647 struct netconfig *nconf; local
764 add_to_poll_list(int fd, struct netconfig *nconf) argument
877 struct netconfig *nconf = &conn_polled[conn_index].nc; local
1214 conn_get(int fd, struct netconfig *nconf, struct conn_ind **connp) argument
1266 discon_get(int fd, struct netconfig *nconf, struct conn_ind **connp) argument
1309 struct netconfig *nconf = &conn_polled[conn_index].nc; local
1487 struct netconfig *nconf = &(connent->nc); local
1641 struct netconfig *nconf; local
1671 struct netconfig *nconf; member in struct:retnconf
1707 set_addrmask(int fd, struct netconfig *nconf, struct netbuf *mask) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c801 struct netconfig *nconf; local
803 nconf = getnetconfigent(netid);
804 if (nconf == NULL) {
808 client = clnt_tp_create_timed(host, prognum, versnum, nconf,
811 freenetconfigent(nconf);
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c336 struct netconfig *nconf; local
364 if ((nconf = getnetconfigent(proto)) != NULL) {
365 if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0)
367 freenetconfigent(nconf);
688 struct netconfig *nconf = NULL; local
773 if (((nconf = getnetconfigent(proto)) == NULL) &&
788 } else if (cfg->istlx && (nconf != NULL) &&
789 (nconf->nc_semantics == NC_TPI_CLTS)) {
928 if (nconf != NULL)
929 freenetconfigent(nconf);
1727 struct netconfig *nconf; local
[all...]

Completed in 111 milliseconds

1234