suricata
util-exception-policy.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "util-exception-policy.h"
#include "util-misc.h"
Include dependency graph for util-exception-policy.c:

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)
 

Function Documentation

◆ ExceptionPolicyApply()

void ExceptionPolicyApply ( Packet p,
enum ExceptionPolicy  policy,
enum PacketDropReason  drop_reason 
)

Definition at line 27 of file util-exception-policy.c.

Referenced by AppLayerHandleTCPData().

Here is the caller graph for this function:

◆ ExceptionPolicyParse()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExceptionSimulationCommandlineParser()

int ExceptionSimulationCommandlineParser ( const char *  name,
const char *  arg 
)

Definition at line 111 of file util-exception-policy.c.