|
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 55 of file util-misc.c.
Referenced by GlobalsDestroy().

| void ParseSizeInit | ( | void | ) |
Definition at line 36 of file util-misc.c.
Referenced by InitGlobal().

| int ParseSizeStringU16 | ( | const char * | , |
| uint16_t * | |||
| ) |
Definition at line 157 of file util-misc.c.
| int ParseSizeStringU32 | ( | const char * | , |
| uint32_t * | |||
| ) |
Definition at line 174 of file util-misc.c.
Referenced by DatasetGetDefaultMemcap(), DatasetsInit(), PcapFileGlobalInit(), and SCConfLogOpenGeneric().

| int ParseSizeStringU64 | ( | const char * | , |
| uint64_t * | |||
| ) |
Definition at line 191 of file util-misc.c.
Referenced by DatasetGetDefaultMemcap(), FlowInitConfig(), HTPParseMemcap(), HttpRangeContainersInit(), RunModeInitializeThreadSettings(), and StreamTcpInitConfig().

| int ParseSizeStringU8 | ( | const char * | , |
| uint8_t * | |||
| ) |
Definition at line 140 of file util-misc.c.
| void ShortenString | ( | const char * | input, |
| char * | output, | ||
| size_t | output_size, | ||
| char | c | ||
| ) |
Definition at line 208 of file util-misc.c.
References DEBUG_VALIDATE_BUG_ON, and strlcat().

| void UtilMiscRegisterTests | ( | void | ) |
Definition at line 816 of file util-misc.c.
References UtRegisterTest().
