in_size = nbytes; in all the _get_ routines, need to check that in_ix + amount to be copied doesn't exceed in_size packet_size should not exceed MAX_RPC_SIZE rpc_num should be positive.