Home | History | Annotate | Download | only in rpcinfo

Lines Matching defs:rpc

4  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
7 * may copy or modify Sun RPC without charge, but are not authorized
11 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
15 * Sun RPC is provided with no support and without any obligation on the
20 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
45 * rpcinfo: ping a particular rpc program
66 #include <rpc/rpc.h>
68 #include <rpc/rpcb_prot.h>
69 #include <rpc/rpcent.h>
70 #include <rpc/nettype.h>
82 #include <rpc/pmap_prot.h>
83 #include <rpc/pmap_clnt.h>
474 struct rpcent *rpc;
546 rpc = getrpcbynumber((int)head->pml_map.pm_prog);
547 if (rpc)
548 (void)printf(" %s\n", rpc->r_name);
686 struct rpcent *rpc;
806 rpc = getrpcbynumber((int)p->rpcb_map.r_prog);
807 if (rpc)
808 (void)printf(" %-10s", rpc->r_name);
864 rpc = getrpcbynumber((int)rs->prog);
865 if (rpc)
866 (void)printf(" %-11s", rpc->r_name);
900 struct rpcent *rpc;
978 rpc = getrpcbynumber((int)parms.r_prog);
979 if (rpc)
980 (void)printf(" %-13s", rpc->r_name);
1511 struct rpcent *rpc;
1518 rpc = getrpcbyname(arg);
1519 if (rpc == NULL)
1521 prognum = rpc->r_number;
1670 const struct rpcent *rpc;
1678 rpc = getrpcbynumber((int)pr->prog);
1679 if (rpc)
1680 (void)printf("%-16s", rpc->r_name);
1696 const struct rpcent *rpc;
1700 rpc = getrpcbynumber((int)al->prog);
1701 if (rpc)
1702 (void)printf("%-16s", rpc->r_name);