suricata
|
#include "detect-content.h"
Go to the source code of this file.
Functions | |
DetectReplaceList * | DetectReplaceAddToList (DetectReplaceList *replist, uint8_t *found, const DetectContentData *cd) |
void | DetectReplaceExecuteInternal (Packet *p, DetectReplaceList *replist) |
void | DetectReplaceFreeInternal (DetectReplaceList *replist) |
void | DetectReplaceRegister (void) |
Definition in file detect-replace.h.
DetectReplaceList* DetectReplaceAddToList | ( | DetectReplaceList * | replist, |
uint8_t * | found, | ||
const DetectContentData * | cd | ||
) |
Definition at line 167 of file detect-replace.c.
References DetectReplaceList_::cd, DetectContentData_::content_len, DetectReplaceList_::found, DetectReplaceList_::next, DetectContentData_::replace_len, SCLogDebug, SCMalloc, and unlikely.
void DetectReplaceExecuteInternal | ( | Packet * | p, |
DetectReplaceList * | replist | ||
) |
Definition at line 184 of file detect-replace.c.
References DetectReplaceList_::cd, Packet_::flags, DetectReplaceList_::found, DetectReplaceList_::next, PKT_STREAM_MODIFIED, ReCalculateChecksum(), DetectContentData_::replace, DetectContentData_::replace_len, SCFree, and SCLogDebug.
void DetectReplaceFreeInternal | ( | DetectReplaceList * | replist | ) |
Definition at line 201 of file detect-replace.c.
References DetectReplaceList_::next, SCFree, and SCLogDebug.
void DetectReplaceRegister | ( | void | ) |
Definition at line 58 of file detect-replace.c.
References SigTableElmt_::desc, DETECT_REPLACE, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().