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

@@ -177,7 +177,7 @@ void session_get_route_ctx(const struct session *sess, enum flow_direction dir,
void session_set_first_packet(struct session *sess, enum flow_direction dir, const struct packet *pkt)
{
sess->first_pkt[dir] = packet_dup(pkt);
sess->first_pkt[dir] = pkt;
}
const struct packet *session_get_first_packet(const struct session *sess, enum flow_direction dir)