30 Commits

Author SHA1 Message Date
liuwentan
9cdc57eaa7 [PACKET_IO]fix read pcap directory bug 2022-08-31 22:06:30 +08:00
liuwentan
c461ca3837 [PACKET_IO]fix pcap file mode counter bug 2022-08-31 22:04:56 +08:00
liuwentan
90b359ed40 [PACKET_IO]format api style 2022-08-31 22:04:05 +08:00
luwenpeng
0ed9a0ccca plugin_manager adapt session_manager API and rewrite plugin_manger gtest 2022-08-31 10:05:58 +08:00
liuxueli
e3ea4d0729 update session manager interface definition; define ex_data interface; delete the event design 2022-08-25 19:17:23 +08:00
luwenpeng
9cfa120ae7 feature: http decoder
* support parser uncompress request/response
    * define public API interface
2022-08-19 16:46:15 +08:00
luwenpeng
b9d93e042b rename fn_session_event_callback to plugin_event_callback and update API parameters
* plugin_event_callback delete 'struct stellar_packet *p'
    * plugin_event_callback rename 'uint16_t len' to 'size_t len'
    * plugin_event_callback rename 'void **pme' to 'void **ctx'
2022-08-16 11:07:29 +08:00
liuwentan
85c28ff17e [CIFIX]add extern 'C' in C++ code 2022-08-11 10:50:41 +08:00
liuwentan
1d7b9d8c94 Merge branch develop-0.0 2022-08-11 09:38:38 +08:00
luwenpeng
9df6bf07af Modify the implementation of the plugin manager take over
A plugin that is taken over, if the plugin was called before being taken over
    and has a registered SESSION_EVENT_CLOSING event,
    it will be called again when the SESSION_EVENT_CLOSING event comes.
    Otherwise, the plugin will not be called.
2022-08-10 10:19:22 +08:00
liuwentan
c2d5b9cdb7 [PACKET_IO] add pio_packet structure for pcap_live/pcap_file mode 2022-08-09 15:58:46 +08:00
luwenpeng
0f7468b994 Refactored pm_session_dettach_others to pm_session_take_over 2022-08-08 16:25:15 +08:00
liuwentan
7442cb09d5 [PACKET_IO] finish pcap live mode 2022-08-05 18:32:54 +08:00
liuwentan
9cf895fa07 [PACKET_IO] finish pcap_file mode 2022-08-05 11:03:11 +08:00
luwenpeng
5c790085eb Plugin management support pm_session_dettach_me and pm_session_dettach_others
Add test cases for pm_session_dettach_me and pm_session_dettach_others
2022-08-04 17:30:03 +08:00
luwenpeng
50111e7cd0 Plugin Management support C plugin 2022-08-02 18:50:17 +08:00
liuwentan
2cccb3ec04 [PACKET_IO]unallocated memory related bugfix for marsio mode 2022-08-01 15:19:57 +08:00
liuwentan
523748e05a [PACKET_IO]marsio mode add pkt_free function 2022-07-29 17:29:33 +08:00
liuwentan
7a52bf3c60 [PACKET_IO]format comment 2022-07-29 15:41:09 +08:00
liuwentan
ee2513fde4 [PACKET_IO]bugfix for marsio mode 2022-07-29 13:31:09 +08:00
liuwentan
90b60f637e [PACKET_IO] finish marsio mode 2022-07-28 21:22:44 +08:00
liuwentan
536bf31be1 [PAKCET_IO] framework intermediate state <the second time> 2022-07-28 20:30:48 +08:00
liuwentan
7ae4ca2e2a [PAKCET_IO] framework intermediate state 2022-07-28 15:12:46 +08:00
luwenpeng
61e3c264f3 Refactored plugin management interface 2022-07-27 15:57:43 +08:00
yangwei
4735a8073a 🦄 refactor(plugin manager): Updating interface definitions 2022-07-27 14:17:49 +08:00
yangwei
7a3bc7a888 🦄 refactor(plugin manager): update interface definition 2022-07-27 14:17:49 +08:00
yangwei
ba866fef10 feat(session_manager): init return with handle 2022-07-27 14:17:49 +08:00
yangwei
6f558132a1 rename packet_io_loop to stellar_event_base_loop 2022-07-27 14:17:49 +08:00
liuwentan
82a97ff067 [ADD] packet_io framework 2022-07-26 15:05:14 +08:00
yangwei
658108724c add deps directory
update inner include headers
2022-07-14 15:05:18 +08:00