Home
last modified time | relevance | path

Searched refs:netid (Results 1 – 17 of 17) sorted by relevance

/minix3/tests/fs/nfs/nfsservice/rpcbind/
H A Drpcb_stat.c104 const char *netid, const char *uaddr) in rpcbs_getaddr() argument
113 if(al->netid == NULL) in rpcbs_getaddr()
116 (strcmp(al->netid, netid) == 0)) { in rpcbs_getaddr()
124 nconf = rpcbind_get_conf(netid); in rpcbs_getaddr()
134 al->netid = nconf->nc_netid; in rpcbs_getaddr()
148 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) in rpcbs_rmtcall() argument
157 if(rl->netid == NULL) in rpcbs_rmtcall()
162 (strcmp(rl->netid, netid) == 0)) { in rpcbs_rmtcall()
173 nconf = rpcbind_get_conf(netid); in rpcbs_rmtcall()
184 rl->netid = nconf->nc_netid; in rpcbs_rmtcall()
H A Dcheck_bound.c142 is_bound(const char *netid, const char *uaddr) in is_bound() argument
147 if (strcmp(fdl->nconf->nc_netid, netid) == 0) in is_bound()
160 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) in mergeaddr() argument
166 if (strcmp(fdl->nconf->nc_netid, netid) == 0) in mergeaddr()
205 m_uaddr = addrmerge(svc_getrpccaller(xprt), s_uaddr, c_uaddr, netid); in mergeaddr()
221 rpcbind_get_conf(const char *netid) in rpcbind_get_conf() argument
226 if (strcmp(fdl->nconf->nc_netid, netid) == 0) in rpcbind_get_conf()
H A Dpmap_svc.c296 const char *netid, *ua; in pmapproc_getport() local
300 netid = udptrans; in pmapproc_getport()
303 netid = tcptrans; in pmapproc_getport()
314 if (is_bound(netid, serveuaddr)) { in pmapproc_getport()
H A Dutil.c106 char *netid) in addrmerge() argument
130 clnt_uaddr, netid); in addrmerge()
132 nconf = getnetconfigent(netid); in addrmerge()
H A Drpcb_svc_com.c76 char *netid; member
506 rmt->netid = strdup(nconf->nc_netid); in create_rmtcall_fd()
507 xprt->xp_netid = rmt->netid; in create_rmtcall_fd()
525 find_rmtcallfd_by_netid(char *netid) in find_rmtcallfd_by_netid() argument
530 if (strcmp(netid, rmt->netid) == 0) { in find_rmtcallfd_by_netid()
1293 find_versions(rpcprog_t prog, char *netid, rpcvers_t *lowvp, rpcvers_t *highvp) in find_versions() argument
1302 (strcasecmp(rbl->rpcb_map.r_netid, netid) != 0))) in find_versions()
1330 find_service(rpcprog_t prog, rpcvers_t vers, char *netid) in find_service() argument
1338 (strcasecmp(rbl->rpcb_map.r_netid, netid) != 0))) in find_service()
H A Drpcbind.h138 char *netid);
/minix3/lib/libc/rpc/
H A Dsvc_simple.c141 char *netid; in rpc_reg() local
147 netid = NULL; in rpc_reg()
153 netid = pl->p_netid; in rpc_reg()
175 ((netid = strdup(nconf->nc_netid)) == NULL)) { in rpc_reg()
179 if (netid != NULL) in rpc_reg()
180 free(netid); in rpc_reg()
193 (strcmp(pl->p_netid, netid) == 0)) in rpc_reg()
205 (unsigned)versnum, netid); in rpc_reg()
209 free(netid); in rpc_reg()
220 free(netid); in rpc_reg()
[all …]
H A Dsvc.c219 char *netid = NULL; in svc_reg() local
228 netid = strdup(xprt->xp_netid); in svc_reg()
231 netid = strdup(nconf->nc_netid); in svc_reg()
234 netid = strdup(tnconf->nc_netid); in svc_reg()
238 if ((netid == NULL) && (flag == 1)) { in svc_reg()
243 if ((s = svc_find(prog, vers, &prev, netid)) != NULL) { in svc_reg()
244 if (netid) in svc_reg()
245 free(netid); in svc_reg()
253 if (netid) in svc_reg()
254 free(netid); in svc_reg()
[all …]
H A Drpc_generic.c100 const char *netid; member
255 char *netid; in __rpc_getconfip() local
320 netid = netid_udp; in __rpc_getconfip()
322 netid = netid_tcp; in __rpc_getconfip()
326 if ((netid == NULL) || (netid[0] == 0)) { in __rpc_getconfip()
329 dummy = getnetconfigent(netid); in __rpc_getconfip()
498 const char *netid; in __rpcgettp() local
504 if (!__rpc_sockinfo2netid(&si, &netid)) in __rpcgettp()
507 return getnetconfigent(__UNCONST(netid)); in __rpcgettp()
558 if (!strcmp(na_cvt[i].netid, nconf->nc_netid)) { in __rpc_nconf2sockinfo()
[all …]
H A Drpcb_st_xdr.c83 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) { in __weak_alias()
135 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) { in xdr_rpcbs_rmtcalllist()
173 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) { in xdr_rpcbs_rmtcalllist()
201 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) { in xdr_rpcbs_rmtcalllist()
H A Drpc_soc.c230 svc_com_create(int fd, u_int sendsize, u_int recvsize, const char *netid) in svc_com_create() argument
238 _DIAGASSERT(netid != NULL); in svc_com_create()
240 if ((nconf = __rpc_getconfip(netid)) == NULL) { in svc_com_create()
241 (void) syslog(LOG_ERR, "Could not get %s transport", netid); in svc_com_create()
249 "svc%s_create: could not open connection", netid); in svc_com_create()
H A Dgetnetconfig.c423 getnetconfigent(const char *netid) in getnetconfigent() argument
431 if (netid == NULL || strlen(netid) == 0) in getnetconfigent()
445 if (strcmp(list->ncp->nc_netid, netid) == 0) in getnetconfigent()
475 if (strlen(netid) == (size_t) (len = tmpp - stringp) && /* a match */ in getnetconfigent()
476 strncmp(stringp, netid, (size_t)len) == 0) { in getnetconfigent()
H A Drpcb_clnt.c172 check_cache(const char *host, const char *netid) in check_cache() argument
177 _DIAGASSERT(netid != NULL); in check_cache()
183 !strcmp(cptr->ac_netid, netid)) { in check_cache()
186 host, netid); in check_cache()
223 add_cache(const char *host, const char *netid, struct netbuf *taddr, in add_cache() argument
229 _DIAGASSERT(netid != NULL); in add_cache()
238 ad_cache->ac_netid = strdup(netid); in add_cache()
262 fprintf(stderr, "Added to cache: %s : %s\n", host, netid); in add_cache()
H A Dsvc_vc.c268 const char *netid; in makefd_xprt() local
288 if (__rpc_fd2sockinfo(fd, &si) && __rpc_sockinfo2netid(&si, &netid)) in makefd_xprt()
289 if ((xprt->xp_netid = strdup(netid)) == NULL) in makefd_xprt()
/minix3/include/rpc/
H A Drpcb_prot.x285 string netid<>;
297 string netid<>;
513 % char *netid;
527 % char *netid;
/minix3/external/bsd/dhcpcd/dist/
H A Dipv6.c308 const unsigned char *netid, size_t netid_len, in ipv6_makestableprivate1() argument
335 memcpy(p, netid, netid_len); in ipv6_makestableprivate1()
/minix3/distrib/sets/lists/man/
H A Dmi2131 ./usr/share/man/cat5/netid.0 man-nis-catman yp,.cat
5110 ./usr/share/man/html5/netid.html man-nis-htmlman yp,html
8037 ./usr/share/man/man5/netid.5 man-nis-man yp,.man