suricata
|
Go to the source code of this file.
Functions | |
void | ExceptionPolicyApply (Packet *p, enum ExceptionPolicy policy, enum PacketDropReason drop_reason) |
enum ExceptionPolicy | ExceptionPolicyParse (const char *option, const bool support_flow) |
int | ExceptionSimulationCommandlineParser (const char *name, const char *arg) |
enum ExceptionPolicy |
Enumerator | |
---|---|
EXCEPTION_POLICY_IGNORE | |
EXCEPTION_POLICY_PASS_PACKET | |
EXCEPTION_POLICY_PASS_FLOW | |
EXCEPTION_POLICY_BYPASS_FLOW | |
EXCEPTION_POLICY_DROP_PACKET | |
EXCEPTION_POLICY_DROP_FLOW |
Definition at line 25 of file util-exception-policy.h.
void ExceptionPolicyApply | ( | Packet * | p, |
enum ExceptionPolicy | policy, | ||
enum PacketDropReason | drop_reason | ||
) |
Definition at line 27 of file util-exception-policy.c.
Referenced by AppLayerHandleTCPData().
enum ExceptionPolicy ExceptionPolicyParse | ( | const char * | option, |
const bool | support_flow | ||
) |
Definition at line 27 of file util-exception-policy.c.
References EngineModeIsIPS(), EXCEPTION_POLICY_DROP_FLOW, EXCEPTION_POLICY_DROP_PACKET, EXCEPTION_POLICY_IGNORE, Flow_::flags, Packet_::flow, FLOW_ACTION_DROP, Packet_::pcap_cnt, and SCLogDebug.
Referenced by FlowInitConfig(), and StreamTcpInitConfig().
int ExceptionSimulationCommandlineParser | ( | const char * | name, |
const char * | arg | ||
) |
Definition at line 111 of file util-exception-policy.c.