diff options
| author | yangwei <[email protected]> | 2024-09-04 14:44:30 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-09-04 14:44:30 +0800 |
| commit | 9ee8df58a7df931a46f2cd1b169379cbf7b71b53 (patch) | |
| tree | b78dee502e056bc36da9a852402506dfd477fe59 /include | |
| parent | 1bdfc4506ccf242a2d89508f91c75308d4d218a8 (diff) | |
✨ feat(plugin manager api): packet plugin register with stage
Diffstat (limited to 'include')
| -rw-r--r-- | include/stellar/stellar.h | 2 |
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 |
