version 1.9.2.7, 2012/05/16 16:36:10
|
version 1.9.2.8, 2012/05/17 12:52:30
|
Line 262 rpc_cli_execCall(rpc_cli_t *cli, int noreply, u_short
|
Line 262 rpc_cli_execCall(rpc_cli_t *cli, int noreply, u_short
|
rpc_addPktSession(&rpc->call_session, cli->cli_parent); |
rpc_addPktSession(&rpc->call_session, cli->cli_parent); |
rpc->call_argc = htons(io_arraySize(in_vars)); |
rpc->call_argc = htons(io_arraySize(in_vars)); |
rpc->call_tag = htons(tag); |
rpc->call_tag = htons(tag); |
|
rpc->call_seq = htons(random() % USHRT_MAX); |
|
|
/* set reply */ |
/* set reply */ |
rpc->call_req.flags = noreply ? RPC_NOREPLY : RPC_REPLY; |
rpc->call_req.flags = noreply ? RPC_NOREPLY : RPC_REPLY; |