suricata
respond-reject.c File Reference
#include "suricata-common.h"
#include "packet.h"
#include "decode.h"
#include "packet-queue.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-queuehandlers.h"
#include "tm-threads.h"
#include "action-globals.h"
#include "respond-reject.h"
#include "respond-reject-libnet11.h"
#include "util-debug.h"
#include "util-privs.h"
Include dependency graph for respond-reject.c:

Go to the source code of this file.

Functions

int RejectSendIPv4TCP (ThreadVars *, Packet *, void *)
 
int RejectSendIPv4ICMP (ThreadVars *, Packet *, void *)
 
int RejectSendIPv6TCP (ThreadVars *, Packet *, void *)
 
int RejectSendIPv6ICMP (ThreadVars *, Packet *, void *)
 
void TmModuleRespondRejectRegister (void)
 

Detailed Description

Author
William Metcalf willi.nosp@m.am.m.nosp@m.etcal.nosp@m.f@gm.nosp@m.ail.c.nosp@m.om

RespondReject is a threaded wrapper for sending Rejects

Definition in file respond-reject.c.

Function Documentation

◆ RejectSendIPv4ICMP()

int RejectSendIPv4ICMP ( ThreadVars tv,
Packet p,
void *  data 
)

Definition at line 110 of file respond-reject.c.

References ACTION_REJECT, ACTION_REJECT_BOTH, ACTION_REJECT_DST, PacketCheckAction(), REJECT_DIR_DST, REJECT_DIR_SRC, RejectSendLibnet11IPv4ICMP(), SCEnter, SCReturnInt, and tv.

Here is the call graph for this function:

◆ RejectSendIPv4TCP()

int RejectSendIPv4TCP ( ThreadVars tv,
Packet p,
void *  data 
)

Definition at line 93 of file respond-reject.c.

References ACTION_REJECT, ACTION_REJECT_BOTH, ACTION_REJECT_DST, PacketCheckAction(), REJECT_DIR_DST, REJECT_DIR_SRC, RejectSendLibnet11IPv4TCP(), SCEnter, SCReturnInt, and tv.

Here is the call graph for this function:

◆ RejectSendIPv6ICMP()

int RejectSendIPv6ICMP ( ThreadVars tv,
Packet p,
void *  data 
)

Definition at line 144 of file respond-reject.c.

References ACTION_REJECT, ACTION_REJECT_BOTH, ACTION_REJECT_DST, PacketCheckAction(), REJECT_DIR_DST, REJECT_DIR_SRC, RejectSendLibnet11IPv6ICMP(), SCEnter, SCReturnInt, and tv.

Here is the call graph for this function:

◆ RejectSendIPv6TCP()

int RejectSendIPv6TCP ( ThreadVars tv,
Packet p,
void *  data 
)

Definition at line 127 of file respond-reject.c.

References ACTION_REJECT, ACTION_REJECT_BOTH, ACTION_REJECT_DST, PacketCheckAction(), REJECT_DIR_DST, REJECT_DIR_SRC, RejectSendLibnet11IPv6TCP(), SCEnter, SCReturnInt, and tv.

Here is the call graph for this function:

◆ TmModuleRespondRejectRegister()

void TmModuleRespondRejectRegister ( void  )

Definition at line 50 of file respond-reject.c.

References TmModule_::Func, TmModule_::name, TmModule_::ThreadInit, tmm_modules, and TMM_RESPONDREJECT.

Referenced by RegisterAllModules().

Here is the caller graph for this function: