when a session is closed, use the packet manager to create a pseudo packet,
set the session to be closed as packet Exdata, and schedule it to the packet forwarding stage.
when the pseudo packet free, the session will be free.
84 lines
1.7 KiB
Plaintext
84 lines
1.7 KiB
Plaintext
LIBSTELLAR_DEVEL {
|
|
global:
|
|
packet_get_layer_count;
|
|
packet_get_layer_by_idx;
|
|
packet_get_tunnel_count;
|
|
packet_get_tunnel_by_idx;
|
|
packet_prepend_sids;
|
|
packet_set_type;
|
|
packet_get_type;
|
|
packet_get_direction;
|
|
packet_set_action;
|
|
packet_get_action;
|
|
packet_get_raw_data;
|
|
packet_get_raw_len;
|
|
packet_get_payload_data;
|
|
packet_get_payload_len;
|
|
packet_manager_on_init;
|
|
packet_manager_on_exit;
|
|
packet_manager_on_thread_init;
|
|
packet_manager_on_thread_exit;
|
|
packet_manager_new_packet_exdata_index;
|
|
packet_manager_subscribe;
|
|
packet_manager_claim_packet;
|
|
packet_manager_schedule_packet;
|
|
packet_manager_build_tcp_packet;
|
|
packet_manager_build_udp_packet;
|
|
packet_manager_build_l3_packet;
|
|
packet_manager_dup_packet;
|
|
packet_manager_free_packet;
|
|
|
|
session_is_symmetric;
|
|
session_has_duplicate_traffic;
|
|
session_get_type;
|
|
session_get_current_state;
|
|
session_get_closing_reason;
|
|
session_get_direction;
|
|
session_get_flow_type;
|
|
session_get_first_packet;
|
|
session_get_id;
|
|
session_get_timestamp;
|
|
session_get_stat;
|
|
session_get_readable_addr;
|
|
session_set_discard;
|
|
session_get_exdata;
|
|
session_set_exdata;
|
|
session_manager_on_init;
|
|
session_manager_on_exit;
|
|
session_manager_on_thread_init;
|
|
session_manager_on_thread_exit;
|
|
session_manager_new_session_exdata_index;
|
|
packet_exdata_to_session;
|
|
|
|
session_monitor_on_init;
|
|
session_monitor_on_exit;
|
|
|
|
exdata_*;
|
|
mq_*;
|
|
module_*;
|
|
|
|
stellar_new;
|
|
stellar_run;
|
|
stellar_free;
|
|
stellar_loopbreak;
|
|
stellar_get_logger;
|
|
stellar_reload_log_level;
|
|
|
|
log_print;
|
|
log_check_level;
|
|
|
|
http_message_*;
|
|
http_decoder_init;
|
|
http_decoder_exit;
|
|
http_decoder_tcp_stream_msg_cb;
|
|
http_url_decode;
|
|
|
|
lpi_plus_init;
|
|
lpi_plus_exit;
|
|
lpi_plus_appid_subscribe;
|
|
|
|
monitor_on_init;
|
|
monitor_on_exit;
|
|
local: *;
|
|
};
|