|
|
@ -27,9 +27,13 @@
|
|
|
|
#include "app-layer-parser.h"
|
|
|
|
#include "app-layer-parser.h"
|
|
|
|
#include "util-cuda.h"
|
|
|
|
#include "util-cuda.h"
|
|
|
|
#include "util-unittest.h"
|
|
|
|
#include "util-unittest.h"
|
|
|
|
|
|
|
|
#include "util-debug.h"
|
|
|
|
|
|
|
|
#include "conf-yaml-loader.h"
|
|
|
|
|
|
|
|
|
|
|
|
int ListKeywords(const char *keyword_info)
|
|
|
|
int ListKeywords(const char *keyword_info)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (ConfYamlLoadFile(DEFAULT_CONF_FILE) != -1)
|
|
|
|
|
|
|
|
SCLogLoadConfig(0, 0);
|
|
|
|
MpmTableSetup();
|
|
|
|
MpmTableSetup();
|
|
|
|
AppLayerSetup();
|
|
|
|
AppLayerSetup();
|
|
|
|
SigTableSetup(); /* load the rule keywords */
|
|
|
|
SigTableSetup(); /* load the rule keywords */
|
|
|
@ -39,6 +43,8 @@ int ListKeywords(const char *keyword_info)
|
|
|
|
|
|
|
|
|
|
|
|
int ListAppLayerProtocols()
|
|
|
|
int ListAppLayerProtocols()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (ConfYamlLoadFile(DEFAULT_CONF_FILE) != -1)
|
|
|
|
|
|
|
|
SCLogLoadConfig(0, 0);
|
|
|
|
MpmTableSetup();
|
|
|
|
MpmTableSetup();
|
|
|
|
AppLayerSetup();
|
|
|
|
AppLayerSetup();
|
|
|
|
AppLayerListSupportedProtocols();
|
|
|
|
AppLayerListSupportedProtocols();
|
|
|
|