Lines Matching defs:rpc
60 #include <rpc/rpc.h>
78 struct rpcent rpc;
84 #define RPCDB "/etc/rpc"
103 struct rpcent *rpc;
106 while ((rpc = getrpcent()) != NULL) {
107 if (rpc->r_number == number)
111 return (rpc);
117 struct rpcent *rpc;
123 while ((rpc = getrpcent()) != NULL) {
124 if (strcmp(rpc->r_name, name) == 0)
126 for (rp = rpc->r_aliases; *rp != NULL; rp++) {
133 return (rpc);
203 d->rpc.r_name = d->line;
206 d->rpc.r_number = atoi(cp);
207 q = d->rpc.r_aliases = d->rpc_aliases;
223 return (&d->rpc);