call
struct rpc_call *call;
send_head -= sizeof(*call);
call = (struct rpc_call *)send_head;
call->rp_xid = htonl(rpc_xid);
call->rp_direction = htonl(RPC_CALL);
call->rp_rpcvers = htonl(RPC_VER2);
call->rp_prog = htonl(prog);
call->rp_vers = htonl(vers);
call->rp_proc = htonl(proc);
call 1f; \
static int call = 0;
if (++call > 2000) {
call = 0;
if (++call > 2000) {
call = 0;
struct bootp_packet call;
bzero((caddr_t) &ifctx->call, sizeof(ifctx->call));
ifctx->call.op = BOOTP_REQUEST; /* BOOTREQUEST */
ifctx->call.htype = 1; /* 10mb ethernet */
ifctx->call.hlen = ifctx->sdl->sdl_alen;/* Hardware address length */
ifctx->call.hops = 0;
ifctx->call.xid = txdr_unsigned(ifctx->xid);
bcopy(LLADDR(ifctx->sdl), &ifctx->call.chaddr, ifctx->sdl->sdl_alen);
vendp = ifctx->call.vend;
ifctx->call.secs = 0;
ifctx->call.flags = htons(0x8000); /* We need an broadcast answer */
aio.iov_base = (caddr_t) &ifctx->call;
aio.iov_len = sizeof(ifctx->call);
auio.uio_resid = sizeof(ifctx->call);
ifctx->call.secs = htons(gctx->secs);
if (gctx->reply.xid != ifctx->call.xid)
if (gctx->reply.hlen != ifctx->call.hlen)
ifctx->call.chaddr,
ifctx->call.hlen) != 0)
struct rpc_call *call;
call = mtod(mhead, struct rpc_call *);
mhead->m_len = sizeof(*call);
bzero((caddr_t)call, sizeof(*call));
call->rp_xid = txdr_unsigned(xid);
call->rp_rpcvers = txdr_unsigned(2);
call->rp_prog = txdr_unsigned(prog);
call->rp_vers = txdr_unsigned(vers);
call->rp_proc = txdr_unsigned(func);
call->rpc_auth.authtype = txdr_unsigned(RPCAUTH_UNIX);
call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix));
call->rpc_verf.authtype = 0;
call->rpc_verf.authlen = 0;
pushq %rbp; leaq (%rsp),%rbp; call PIC_PLT(__mcount); popq %rbp
(void) call(bye, "bye", "fromquit", 0);
(void) call(status, "status", "notmuch", 0);
(void) call(status, "status", "notmuch", 0);
static int call(intrtn_t, ...);
#define ac(call) \
int acret = (call); \