suricata
|
Go to the source code of this file.
Macros | |
#define | WarnInvalidConfEntry(param_name, format, value) |
Generic API that can be used by all to log an invalid conf entry. More... | |
Functions | |
int | ParseSizeStringU8 (const char *, uint8_t *) |
int | ParseSizeStringU16 (const char *, uint16_t *) |
int | ParseSizeStringU32 (const char *, uint32_t *) |
int | ParseSizeStringU64 (const char *, uint64_t *) |
void | UtilMiscRegisterTests (void) |
void | ParseSizeInit (void) |
void | ParseSizeDeinit (void) |
void | ShortenString (const char *input, char *output, size_t output_size, char c) |
Definition in file util-misc.h.
#define WarnInvalidConfEntry | ( | param_name, | |
format, | |||
value | |||
) |
Generic API that can be used by all to log an invalid conf entry.
param_name | A string specifying the param name. |
format | Format for the below value. For example "%s", "%"PRIu32, etc. |
value | Default value to be printed. |
Definition at line 36 of file util-misc.h.
void ParseSizeDeinit | ( | void | ) |
Definition at line 54 of file util-misc.c.
Referenced by GlobalsDestroy().
void ParseSizeInit | ( | void | ) |
Definition at line 35 of file util-misc.c.
Referenced by InitGlobal().
int ParseSizeStringU16 | ( | const char * | , |
uint16_t * | |||
) |
Definition at line 156 of file util-misc.c.
Referenced by StreamTcpInitConfig().
int ParseSizeStringU32 | ( | const char * | , |
uint32_t * | |||
) |
Definition at line 173 of file util-misc.c.
Referenced by PcapFileGlobalInit(), and StreamTcpInitConfig().
int ParseSizeStringU64 | ( | const char * | , |
uint64_t * | |||
) |
Definition at line 190 of file util-misc.c.
Referenced by FlowInitConfig(), HTPParseMemcap(), HttpRangeContainersInit(), RunModeInitializeThreadSettings(), and StreamTcpInitConfig().
int ParseSizeStringU8 | ( | const char * | , |
uint8_t * | |||
) |
Definition at line 139 of file util-misc.c.
void ShortenString | ( | const char * | input, |
char * | output, | ||
size_t | output_size, | ||
char | c | ||
) |
Definition at line 207 of file util-misc.c.
References strlcat().
Referenced by DetectAppLayerMpmRegisterByParentId().
void UtilMiscRegisterTests | ( | void | ) |
Definition at line 809 of file util-misc.c.
References UtRegisterTest().