Home
last modified time | relevance | path

Searched refs:rpcb_map (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/cmd/svc/servinfo/
H A Dservinfo.c154 if (blist->rpcb_map.r_prog != rpc->r_number) in svc_getrpcinfo()
158 if (strcmp(blist->rpcb_map.r_netid, sproto) != 0) in svc_getrpcinfo()
161 if (strcmp(blist->rpcb_map.r_netid, UDP) && in svc_getrpcinfo()
162 strcmp(blist->rpcb_map.r_netid, UDP6) && in svc_getrpcinfo()
163 strcmp(blist->rpcb_map.r_netid, TCP) && in svc_getrpcinfo()
164 strcmp(blist->rpcb_map.r_netid, TCP6)) in svc_getrpcinfo()
167 rpc_port = uaddr2port(blist->rpcb_map.r_addr); in svc_getrpcinfo()
170 (void) printf("Program %ld\n", blist->rpcb_map.r_prog); in svc_getrpcinfo()
171 (void) printf("Protocol %s\n", blist->rpcb_map.r_netid); in svc_getrpcinfo()
173 (void) printf("Version %ld\n", blist->rpcb_map.r_vers); in svc_getrpcinfo()
[all …]
/titanic_44/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c133 if (fnd && (fnd->rpcb_map.r_vers == regp->r_vers)) { in map_set()
134 if (strcmp(fnd->rpcb_map.r_addr, regp->r_addr) == 0) { in map_set()
150 if (is_bound(fnd->rpcb_map.r_netid, in map_set()
151 fnd->rpcb_map.r_addr)) { in map_set()
175 a = &rbl->rpcb_map; in map_set()
233 if ((rbl->rpcb_map.r_prog != regp->r_prog) || in map_unset()
234 (rbl->rpcb_map.r_vers != regp->r_vers) || in map_unset()
236 rbl->rpcb_map.r_netid))) { in map_unset()
247 strcmp(rbl->rpcb_map.r_owner, owner)) { in map_unset()
283 free(rbl->rpcb_map.r_addr); in delete_rbl()
[all …]
H A Drpcb_svc_4.c272 if ((rbl->rpcb_map.r_prog == prog) && in rpcbproc_getaddrlist()
273 (rbl->rpcb_map.r_vers == vers)) { in rpcbproc_getaddrlist()
274 nconf = rpcbind_get_conf(rbl->rpcb_map.r_netid); in rpcbproc_getaddrlist()
284 if ((maddr = mergeaddr(transp, rbl->rpcb_map.r_netid, in rpcbproc_getaddrlist()
285 rbl->rpcb_map.r_addr, saddr)) == NULL) { in rpcbproc_getaddrlist()
295 (void) del_pmaplist(&rbl->rpcb_map); in rpcbproc_getaddrlist()
H A Drpcbind.c744 rbl->rpcb_map.r_prog = prog; in rbllist_add()
745 rbl->rpcb_map.r_vers = vers; in rbllist_add()
746 rbl->rpcb_map.r_netid = strdup(nconf->nc_netid); in rbllist_add()
747 rbl->rpcb_map.r_addr = taddr2uaddr(nconf, addr); in rbllist_add()
748 if (rbl->rpcb_map.r_addr == NULL) in rbllist_add()
749 rbl->rpcb_map.r_addr = strdup(""); in rbllist_add()
750 rbl->rpcb_map.r_owner = strdup(superuser); in rbllist_add()
752 if (rbl->rpcb_map.r_netid == NULL || rbl->rpcb_map.r_addr == NULL || in rbllist_add()
753 rbl->rpcb_map.r_owner == NULL) { in rbllist_add()
H A Drpcb_stat.c194 if ((rbl == NULL) || (rbl->rpcb_map.r_vers != vers)) in rpcbs_rmtcall()
224 if ((rbl == NULL) || (rbl->rpcb_map.r_vers != vers)) { in rpcbs_rmtcall()
241 if ((rbl == NULL) || (rbl->rpcb_map.r_vers != vers)) in rpcbs_rmtcall()
/titanic_44/usr/src/cmd/rpcinfo/
H A Drpcinfo.c806 list->rpcb_map.r_prog = pmaphead->pml_map.pm_prog;
807 list->rpcb_map.r_vers = pmaphead->pml_map.pm_vers;
809 list->rpcb_map.r_netid = "udp";
811 list->rpcb_map.r_netid = "tcp";
814 list->rpcb_map.r_netid =
816 if (list->rpcb_map.r_netid == NULL)
818 (void) sprintf(list->rpcb_map.r_netid, "%6ld",
821 list->rpcb_map.r_owner = UNKNOWN;
824 list->rpcb_map.r_addr = strdup("0.0.0.0.XXX.XXX");
825 (void) sprintf(&list->rpcb_map.r_addr[8], "%d.%d",
[all …]
/titanic_44/usr/src/uts/common/rpc/
H A Drpcb_prot.x144 rpcb rpcb_map; member
157 % RPCB rpcb_map;
434 % RPCB rpcb_map;