-/* Copyright (C) 2007-2014 Open Information Security Foundation
+/* Copyright (C) 2007-2024 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
#define TM_FLAG_DECODE_TM 0x02
#define TM_FLAG_STREAM_TM 0x04
#define TM_FLAG_DETECT_TM 0x08
-#define TM_FLAG_LOGAPI_TM 0x10 /**< TM is run by Log API */
-#define TM_FLAG_MANAGEMENT_TM 0x20
-#define TM_FLAG_COMMAND_TM 0x40
+#define TM_FLAG_MANAGEMENT_TM 0x10
+#define TM_FLAG_COMMAND_TM 0x20
typedef TmEcode (*ThreadInitFunc)(ThreadVars *, const void *, void **);
typedef TmEcode (*ThreadDeinitFunc)(ThreadVars *, void *);
-/* Copyright (C) 2007-2023 Open Information Security Foundation
+/* Copyright (C) 2007-2024 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
#endif
total = 0;
for (int m = 0; m < TMM_SIZE; m++) {
- if (tmm_modules[m].flags & TM_FLAG_LOGAPI_TM)
- continue;
-
for (int p = 0; p < 257; p++) {
SCProfilePacketData *pd = &packet_profile_tmm_data4[m][p];
total += pd->tot;
}
for (int m = 0; m < TMM_SIZE; m++) {
- if (tmm_modules[m].flags & TM_FLAG_LOGAPI_TM)
- continue;
-
for (int p = 0; p < 257; p++) {
SCProfilePacketData *pd = &packet_profile_tmm_data4[m][p];
if (pd->cnt == 0) {
}
for (int m = 0; m < TMM_SIZE; m++) {
- if (tmm_modules[m].flags & TM_FLAG_LOGAPI_TM)
- continue;
-
for (int p = 0; p < 257; p++) {
SCProfilePacketData *pd = &packet_profile_tmm_data6[m][p];
if (pd->cnt == 0) {
#endif
total = 0;
for (int m = 0; m < TMM_SIZE; m++) {
- if (!(tmm_modules[m].flags & TM_FLAG_LOGAPI_TM))
- continue;
-
for (int p = 0; p < 257; p++) {
SCProfilePacketData *pd = &packet_profile_tmm_data4[m][p];
total += pd->tot;
}
for (int m = 0; m < TMM_SIZE; m++) {
- if (!(tmm_modules[m].flags & TM_FLAG_LOGAPI_TM))
- continue;
-
for (int p = 0; p < 257; p++) {
SCProfilePacketData *pd = &packet_profile_tmm_data4[m][p];
if (pd->cnt == 0) {
}
for (int m = 0; m < TMM_SIZE; m++) {
- if (!(tmm_modules[m].flags & TM_FLAG_LOGAPI_TM))
- continue;
-
for (int p = 0; p < 257; p++) {
SCProfilePacketData *pd = &packet_profile_tmm_data6[m][p];
if (pd->cnt == 0) {