🦄 refactor(stellar_module to module): simplify stellar module to module
This commit is contained in:
@@ -17,7 +17,7 @@ extern "C"
|
||||
#include <linux/mpls.h>
|
||||
|
||||
#include "stellar/exdata.h"
|
||||
#include "stellar/module_manager.h"
|
||||
#include "stellar/module.h"
|
||||
|
||||
struct packet;
|
||||
/******************************************************************************
|
||||
@@ -205,8 +205,9 @@ enum packet_stage
|
||||
PACKET_STAGE_MAX,
|
||||
};
|
||||
|
||||
#define PACKET_MANAGER_MODULE_NAME "packet_manager_module"
|
||||
struct packet_manager;
|
||||
struct packet_manager *stellar_module_get_packet_manager(struct stellar_module_manager *mod_mgr);
|
||||
struct packet_manager *module_to_packet_manager(struct module *mod);
|
||||
int packet_manager_new_packet_exdata_index(struct packet_manager *pkt_mgr, const char *name, exdata_free *func, void *arg);
|
||||
|
||||
typedef void on_packet_stage_callback(struct packet *pkt, enum packet_stage stage, void *arg);
|
||||
|
||||
Reference in New Issue
Block a user