rpc
return (rpc);
d->rpc.r_name = d->line;
d->rpc.r_number = strtonum(num, 0, INT_MAX, &errstr);
q = d->rpc.r_aliases = d->rpc_aliases;
return (&d->rpc);
struct rpcent rpc;
struct rpcent *rpc;
while ((rpc = getrpcent())) {
if (strcmp(rpc->r_name, name) == 0)
for (rp = rpc->r_aliases; *rp != NULL; rp++) {
vm_rpc_open(struct vm_rpc *rpc, uint32_t proto)
rpc->channel = frame.edx.part.high;
rpc->cookie1 = frame.esi.word;
rpc->cookie2 = frame.edi.word;
vm_rpc_close(struct vm_rpc *rpc)
frame.edx.part.high = rpc->channel;
frame.edi.word = rpc->cookie2;
frame.esi.word = rpc->cookie1;
rpc->channel = 0;
rpc->cookie1 = 0;
rpc->cookie2 = 0;
vm_rpc_send(const struct vm_rpc *rpc, const uint8_t *buf, uint32_t length)
frame.edx.part.high = rpc->channel;
frame.esi.word = rpc->cookie1;
frame.edi.word = rpc->cookie2;
frame.edx.part.high = rpc->channel;
frame.ebp.word = rpc->cookie1;
frame.edi.word = rpc->cookie2;
vm_rpc_send_str(const struct vm_rpc *rpc, const uint8_t *str)
return vm_rpc_send(rpc, str, strlen(str));
vm_rpc_get_data(const struct vm_rpc *rpc, char *data, uint32_t length,
frame.edx.part.high = rpc->channel;
frame.esi.word = rpc->cookie1;
frame.ebp.word = rpc->cookie2;
frame.edx.part.high = rpc->channel;
frame.esi.word = rpc->cookie1;
frame.edi.word = rpc->cookie2;
vm_rpc_get_length(const struct vm_rpc *rpc, uint32_t *length, uint16_t *dataid)
frame.edx.part.high = rpc->channel;
frame.esi.word = rpc->cookie1;
frame.edi.word = rpc->cookie2;
struct rpc_reply rpc;
int rpc;
rpc = strtonum(argv[i], 0, INT_MAX, &err);
re = getrpcbynumber(rpc);
static int rpc(int, char *[]);
{ "rpc", rpc, "stdio rpath", "/etc/rpc" },
struct rpcent *rpc;
rpc = getrpcbynumber(head->pml_map.pm_prog);
if (rpc)
n->rpcname = strdup(rpc->r_name);
struct rpcent *rpc;
rpc = getrpcbynumber(head->pml_map.pm_prog);
if (rpc)
printf(" %s\n", rpc->r_name);
struct rpcent *rpc;
rpc = getrpcbyname(arg);
if (rpc == NULL) {
*ulp = rpc->r_number;
int rpc;
must_read(fd, &rpc, sizeof(int));
rpce = getrpcbynumber(rpc);
priv_getrpcbynumber(int rpc, char *progname, size_t progname_len)
must_write(priv_fd, &rpc, sizeof(int));