REPLAY_MAX
if (replay_index < REPLAY_MAX - 1)
struct rt_msg replay_rt[REPLAY_MAX];
extern struct rt_msg replay_rt[REPLAY_MAX];