Refactored packet API to support struct layer (using union to contain different types of encapsulation headers)
This commit is contained in:
@@ -71,15 +71,6 @@ struct packet_io_options
|
||||
uint16_t cpu_mask[MAX_THREAD_NUM];
|
||||
};
|
||||
|
||||
struct inject_packet_meta
|
||||
{
|
||||
struct route_ctx route;
|
||||
struct sid_list sids;
|
||||
uint64_t session_id;
|
||||
uint16_t link_id;
|
||||
int is_ctrl;
|
||||
};
|
||||
|
||||
struct packet_io;
|
||||
struct packet_io *packet_io_new(struct packet_io_options *opts);
|
||||
void packet_io_free(struct packet_io *packet_io);
|
||||
|
||||
Reference in New Issue
Block a user