Add packet injector test frame

This commit is contained in:
luwenpeng
2024-05-15 11:40:00 +08:00
parent cda77c6f6f
commit b33dafff53
31 changed files with 458 additions and 140 deletions

View File

@@ -115,6 +115,11 @@ int main(int argc, char **argv)
stellar_stat_output(runtime->stat);
}
usleep(1000); // 1ms
if (packet_io_wait_exit(runtime->packet_io))
{
ATOMIC_SET(&runtime->need_exit, 1);
}
}
error_out: