Go to the documentation of this file.
22 #ifndef __UTIL_EXCEPTION_POLICY_H__
23 #define __UTIL_EXCEPTION_POLICY_H__
46 extern uint64_t g_eps_applayer_error_offset_ts;
47 extern uint64_t g_eps_applayer_error_offset_tc;
48 extern uint64_t g_eps_pcap_packet_loss;
49 extern uint64_t g_eps_stream_ssn_memcap;
50 extern uint64_t g_eps_stream_reassembly_memcap;
51 extern uint64_t g_eps_flow_memcap;
52 extern uint64_t g_eps_defrag_memcap;
53 extern bool g_eps_is_alert_queue_fail_mode;
enum ExceptionPolicy ExceptionPolicyParse(const char *option, const bool support_flow)
void SetMasterExceptionPolicy(void)
@ EXCEPTION_POLICY_DROP_PACKET
int ExceptionSimulationCommandLineParser(const char *name, const char *arg)
@ EXCEPTION_POLICY_REJECT
@ EXCEPTION_POLICY_PASS_PACKET
@ EXCEPTION_POLICY_DROP_FLOW
void ExceptionPolicyApply(Packet *p, enum ExceptionPolicy policy, enum PacketDropReason drop_reason)
@ EXCEPTION_POLICY_BYPASS_FLOW
enum ExceptionPolicy ExceptionPolicyMidstreamParse(bool midstream_enabled)
@ EXCEPTION_POLICY_PASS_FLOW
enum ExceptionPolicy g_eps_master_switch
@ EXCEPTION_POLICY_NOT_SET