Add packet injector test frame
This commit is contained in:
@@ -83,6 +83,7 @@ struct inject_packet_meta
|
||||
struct packet_io;
|
||||
struct packet_io *packet_io_new(struct packet_io_options *opts);
|
||||
void packet_io_free(struct packet_io *packet_io);
|
||||
int packet_io_wait_exit(struct packet_io *packet_io); // used for dumpfile mode
|
||||
|
||||
int packet_io_init(struct packet_io *packet_io, uint16_t thr_idx);
|
||||
int packet_io_ingress(struct packet_io *packet_io, uint16_t thr_idx, struct packet *pkts, int nr_pkts);
|
||||
|
||||
Reference in New Issue
Block a user