summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-09-04 14:44:30 +0800
committeryangwei <[email protected]>2024-09-04 14:44:30 +0800
commit9ee8df58a7df931a46f2cd1b169379cbf7b71b53 (patch)
treeb78dee502e056bc36da9a852402506dfd477fe59 /include
parent1bdfc4506ccf242a2d89508f91c75308d4d218a8 (diff)
✨ feat(plugin manager api): packet plugin register with stage
Diffstat (limited to 'include')
-rw-r--r--include/stellar/stellar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stellar/stellar.h b/include/stellar/stellar.h
index 66a09f1..2cce7db 100644
--- a/include/stellar/stellar.h
+++ b/include/stellar/stellar.h
@@ -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