suricata
util-exception-policy.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "packet.h"
#include "util-exception-policy.h"
#include "util-misc.h"
#include "stream-tcp-reassemble.h"
#include "action-globals.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 30 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 30 of file util-exception-policy.c.

References ACTION_REJECT, EngineModeIsIPS(), EXCEPTION_POLICY_DROP_FLOW, EXCEPTION_POLICY_IGNORE, EXCEPTION_POLICY_REJECT, Flow_::flags, Packet_::flow, FLOW_ACTION_DROP, PacketDrop(), 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 126 of file util-exception-policy.c.