/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/mknetid/ |
H A D | Makefile | 4 MAN= mknetid.8 netid.5
|
/netbsd-6-1-5-RELEASE/usr.sbin/ypserv/ypinit/ |
H A D | Makefile.main | 6 networks protocols rpc services netid
|
H A D | Makefile.yp | 59 all: passwd aliases ${AMDMAPS} ethers group hosts ipnodes netgroup networks rpc services protocols netid 405 netid.time: ${DIR}/passwd ${DIR}/group ${DIR}/hosts ${DIR}/netid 407 ${DIR}/hosts -m ${DIR}/netid | \ 408 ${SORT} | ${MAKEDBM} - netid.byname; \ 410 ${ECHO} "updated netid"; \ 412 ${YPPUSH} -d ${DOMAIN} netid.byname; \ 413 ${ECHO} "pushed netid"; \ 446 netid: netid [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/rpcbind/ |
H A D | rpcb_stat.c | 104 const char *netid, const char *uaddr) 113 if(al->netid == NULL) 116 (strcmp(al->netid, netid) == 0)) { 124 nconf = rpcbind_get_conf(netid); 134 al->netid = nconf->nc_netid; 148 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) 157 if(rl->netid == NULL) 162 (strcmp(rl->netid, netid) 103 rpcbs_getaddr(rpcvers_t rtype, rpcprog_t prog, rpcvers_t vers, const char *netid, const char *uaddr) argument 147 rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t rpcbproc, rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) argument [all...] |
H A D | check_bound.c | 139 is_bound(const char *netid, const char *uaddr) argument 144 if (strcmp(fdl->nconf->nc_netid, netid) == 0) 157 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) argument 163 if (strcmp(fdl->nconf->nc_netid, netid) == 0) 202 m_uaddr = addrmerge(svc_getrpccaller(xprt), s_uaddr, c_uaddr, netid); 218 rpcbind_get_conf(const char *netid) argument 223 if (strcmp(fdl->nconf->nc_netid, netid) == 0)
|
H A D | pmap_svc.c | 297 const char *netid, *ua; local 301 netid = udptrans; 304 netid = tcptrans; 315 if (is_bound(netid, serveuaddr)) {
|
H A D | rpcbind.h | 138 char *netid);
|
/netbsd-6-1-5-RELEASE/tests/fs/nfs/nfsservice/rpcbind/ |
H A D | rpcb_stat.c | 104 const char *netid, const char *uaddr) 113 if(al->netid == NULL) 116 (strcmp(al->netid, netid) == 0)) { 124 nconf = rpcbind_get_conf(netid); 134 al->netid = nconf->nc_netid; 148 rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) 157 if(rl->netid == NULL) 162 (strcmp(rl->netid, netid) 103 rpcbs_getaddr(rpcvers_t rtype, rpcprog_t prog, rpcvers_t vers, const char *netid, const char *uaddr) argument 147 rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t rpcbproc, rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) argument [all...] |
H A D | check_bound.c | 142 is_bound(const char *netid, const char *uaddr) argument 147 if (strcmp(fdl->nconf->nc_netid, netid) == 0) 160 mergeaddr(SVCXPRT *xprt, char *netid, char *uaddr, char *saddr) argument 166 if (strcmp(fdl->nconf->nc_netid, netid) == 0) 205 m_uaddr = addrmerge(svc_getrpccaller(xprt), s_uaddr, c_uaddr, netid); 221 rpcbind_get_conf(const char *netid) argument 226 if (strcmp(fdl->nconf->nc_netid, netid) == 0)
|
H A D | pmap_svc.c | 297 const char *netid, *ua; local 301 netid = udptrans; 304 netid = tcptrans; 315 if (is_bound(netid, serveuaddr)) {
|
H A D | rpcbind.h | 138 char *netid);
|
/netbsd-6-1-5-RELEASE/lib/libc/rpc/ |
H A D | svc_simple.c | 99 * handle is created for all the services (actually one of each netid) 100 * and same xdrbuf is used for same netid. The size of the arguments 142 char *netid; local 148 netid = NULL; 154 netid = pl->p_netid; 176 ((netid = strdup(nconf->nc_netid)) == NULL)) { 180 if (netid != NULL) 181 free(netid); 188 * Check if this (program, version, netid) had already been 194 (strcmp(pl->p_netid, netid) [all...] |
H A D | svc.c | 216 char *netid = NULL; local 225 netid = strdup(xprt->xp_netid); 228 netid = strdup(nconf->nc_netid); 231 netid = strdup(tnconf->nc_netid); 235 if ((netid == NULL) && (flag == 1)) { 240 if ((s = svc_find(prog, vers, &prev, netid)) != NULL) { 241 if (netid) 242 free(netid); 250 if (netid) 251 free(netid); [all...] |
H A D | rpc_generic.c | 98 const char *netid; member in struct:netid_af 256 char *netid; local 321 netid = netid_udp; 323 netid = netid_tcp; 327 if ((netid == NULL) || (netid[0] == 0)) { 330 dummy = getnetconfigent(netid); 504 const char *netid; local 510 if (!__rpc_sockinfo2netid(&si, &netid)) 513 return getnetconfigent(__UNCONST(netid)); 592 __rpc_sockinfo2netid(struct __rpc_sockinfo *sip, const char **netid) argument [all...] |
H A D | rpcb_st_xdr.c | 85 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) { 139 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) { 177 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) { 205 if (!xdr_string(xdrs, &objp->netid, (u_int)~0)) {
|
H A D | getnetconfig.c | 417 * getnetconfigent(netid) returns a pointer to the struct netconfig structure 418 * corresponding to netid. It returns NULL if netid is invalid (that is, does 425 getnetconfigent(netid) 426 const char *netid; 434 if (netid == NULL || strlen(netid) == 0) 442 * db and try find the match netid. 444 * there is no match for the netid, return NULL. 448 if (strcmp(list->ncp->nc_netid, netid) [all...] |
H A D | rpc_soc.c | 253 svc_com_create(fd, sendsize, recvsize, netid) 257 const char *netid; 265 _DIAGASSERT(netid != NULL); 267 if ((nconf = __rpc_getconfip(netid)) == NULL) { 268 (void) syslog(LOG_ERR, "Could not get %s transport", netid); 276 "svc%s_create: could not open connection", netid); 390 * Dont care about netid here.
|
H A D | rpcb_clnt.c | 172 * cache of rpcbind addresses for (host, netid). 176 check_cache(host, netid) 177 const char *host, *netid; 182 _DIAGASSERT(netid != NULL); 188 !strcmp(cptr->ac_netid, netid)) { 191 host, netid); 229 add_cache(host, netid, taddr, uaddr) 230 const char *host, *netid; 237 _DIAGASSERT(netid != NULL); 246 ad_cache->ac_netid = strdup(netid); [all...] |
/netbsd-6-1-5-RELEASE/tests/fs/common/nfsrpc/ |
H A D | svc.c | 271 char *netid = NULL; local 280 netid = strdup(xprt->xp_netid); 283 netid = strdup(nconf->nc_netid); 286 netid = strdup(tnconf->nc_netid); 290 if ((netid == NULL) && (flag == 1)) { 295 if ((s = svc_find(prog, vers, &prev, netid)) != NULL) { 296 if (netid) 297 free(netid); 305 if (netid) 306 free(netid); [all...] |
H A D | rpc_generic.c | 99 const char *netid; member in struct:netid_af 257 char *netid; local 324 netid = netid_udp; 326 netid = netid_tcp; 330 if ((netid == NULL) || (netid[0] == 0)) { 333 dummy = getnetconfigent(netid); 507 const char *netid; local 513 if (!__rpc_sockinfo2netid(&si, &netid)) 516 return getnetconfigent(__UNCONST(netid)); 595 __rpc_sockinfo2netid(struct __rpc_sockinfo *sip, const char **netid) argument [all...] |
H A D | rpc_soc.c | 238 svc_com_create(fd, sendsize, recvsize, netid) 242 const char *netid; 250 _DIAGASSERT(netid != NULL); 252 if ((nconf = __rpc_getconfip(netid)) == NULL) { 253 (void) syslog(LOG_ERR, "Could not get %s transport", netid); 261 "svc%s_create: could not open connection", netid); 375 * Dont care about netid here.
|
/netbsd-6-1-5-RELEASE/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 112 char *netid; member in struct:netidlist 169 char *netid = NULL; local 255 netid = optarg; 263 if (errflg || ((function == ADDRPING) && !netid)) 293 deletereg(netid, argc - optind, argv + optind); 296 addrping(address, netid, argc - optind, argv + optind); 299 progping(netid, argc - optind, argv + optind); 303 rpcbdump(function, netid, argc - optind, argv + optind); 309 rpcbaddrlist(netid, argc - optind, argv + optind); 660 add_netid(struct rpcbdump_short *rs, char *netid) argument 679 rpcbdump(int dumptype, const char *netid, int argc, char **argv) argument 893 rpcbaddrlist(const char *netid, int argc, char **argv) argument 1230 deletereg(const char *netid, int argc, char **argv) argument 1284 addrping(const char *address, const char *netid, int argc, char **argv) argument 1383 progping(const char *netid, int argc, char **argv) argument [all...] |
/netbsd-6-1-5-RELEASE/sbin/mount_nfs/ |
H A D | getnfsargs.c | 108 const char *netid; local 194 netid = "tcp6"; 196 netid = "tcp"; 199 netid = "udp6"; 201 netid = "udp"; 204 nconf = getnetconfigent(netid);
|
/netbsd-6-1-5-RELEASE/include/rpc/ |
H A D | rpcb_prot.x | 56 % * [prog, vers, address, owner, netid]. 57 % * Finds out owner and netid information on its own. 61 % * [prog, vers, netid]. addresses is ignored. 62 % * If netid is NULL, unregister all. 66 % * triple [prog, vers, netid] is registered. Ignore address and owner. 103 % * triple [prog, vers, netid] is registered. Ignore address and owner. 248 string r_nc_netid<>; /* netid field */ 285 string netid<>; 297 string netid<>; 513 % char *netid; [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/efi/libefi/ |
H A D | efinet.c | 212 static EFI_GUID netid = EFI_SIMPLE_NETWORK_PROTOCOL; local 220 status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, 0); 224 status = BS->LocateHandle(ByProtocol, &netid, 0, &sz, handles); 244 BS->HandleProtocol(handles[i], &netid,
|