Lines Matching defs:call
93 int32_t rp_direction; /* call direction (0) */
105 int32_t rp_direction; /* call direction (1) */
130 * Call portmap to lookup a port number for a particular rpc program
140 u_int32_t prog; /* call program */
141 u_int32_t vers; /* call version */
142 u_int32_t proto; /* call protocol */
143 u_int32_t port; /* call port (unused) */
212 * Do a remote procedure call (RPC) and wait for its reply.
224 struct rpc_call *call;
285 call = mtod(mhead, struct rpc_call *);
286 mhead->m_len = sizeof(*call);
287 memset((void *)call, 0, sizeof(*call));
290 call->rp_xid = txdr_unsigned(xid);
291 /* call->rp_direction = 0; */
292 call->rp_rpcvers = txdr_unsigned(2);
293 call->rp_prog = txdr_unsigned(prog);
294 call->rp_vers = txdr_unsigned(vers);
295 call->rp_proc = txdr_unsigned(func);
297 call->rpc_auth.authtype = txdr_unsigned(RPCAUTH_UNIX);
298 call->rpc_auth.authlen = txdr_unsigned(sizeof(struct auth_unix));
300 call->rpc_verf.authtype = 0;
301 call->rpc_verf.authlen = 0;
344 /* Did the call succeed? */