dda.c and dda_queue.c: replace SREG/cli/sei