✨ feat(plugin manager api): packet plugin register with stage
This commit is contained in:
@@ -57,7 +57,7 @@ struct packet;
|
||||
typedef void plugin_on_packet_func(struct packet *pkt, unsigned char ip_protocol, void *plugin_env);
|
||||
|
||||
//return packet plugin_id
|
||||
int stellar_packet_plugin_register(struct stellar *st, unsigned char ip_protocol, plugin_on_packet_func on_packet, void *plugin_env);
|
||||
int stellar_packet_plugin_register(struct stellar *st, unsigned char ip_protocol, plugin_on_packet_func on_packet_input, plugin_on_packet_func on_packet_output, void *plugin_env);
|
||||
|
||||
|
||||
//return polling work result, 0: no work, 1: work
|
||||
|
||||
Reference in New Issue
Block a user