feat(stellar core): module & node register in stellar_new

This commit is contained in:
yangwei
2024-11-26 14:37:05 +08:00
parent 1ddd1f6b78
commit 78562a8dd8
7 changed files with 87 additions and 29 deletions

View File

@@ -238,6 +238,12 @@ struct packet *packet_manager_build_l3_packet(struct packet_manager *pkt_mgr, ui
struct packet *packet_manager_dup_packet(struct packet_manager *pkt_mgr, uint16_t thread_id, const struct packet *origin_pkt);
void packet_manager_free_packet(struct packet_manager *pkt_mgr, uint16_t thread_id, struct packet *pkt);
struct module *packet_manager_on_init(struct module_manager *mod_mgr);
void packet_manager_on_exit(struct module_manager *mod_mgr __attribute__((unused)), struct module *mod);
struct module *packet_manager_on_thread_init(struct module_manager *mod_mgr __attribute__((unused)), int thread_id, struct module *mod);
void packet_manager_on_thread_exit(struct module_manager *mod_mgr __attribute__((unused)), int thread_id, struct module *mod);
#ifdef __cplusplus
}
#endif