route improvements

This commit is contained in:
jeka committed 2026-03-12 02:57:38 +03:00
1 parent 33629a17c6
commit aa5171bcd1
20 files changed
+183 -175

No files matched your search

+1
View File
@@ -81,6 +81,7 @@ static debug_category_t get_category_by_name(const char* name) {
{"socket", DEBUG_CATEGORY_SOCKET},
{"control", DEBUG_CATEGORY_CONTROL},
{"dump", DEBUG_CATEGORY_DUMP},
{"traffic", DEBUG_CATEGORY_TRAFFIC},
{"all", DEBUG_CATEGORY_ALL},
{NULL, 0}
};
+3 -2
View File
@@ -51,8 +51,9 @@ typedef uint64_t debug_category_t;
#define DEBUG_CATEGORY_BGP ((debug_category_t)1 << 12) // BGP route exchange
#define DEBUG_CATEGORY_SOCKET ((debug_category_t)1 << 13) // Socket operations
#define DEBUG_CATEGORY_CONTROL ((debug_category_t)1 << 14) // Control/monitoring server
#define DEBUG_CATEGORY_DUMP ((debug_category_t)1 << 15) // Packet dump/logging
#define DEBUG_CATEGORY_COUNT 16 // Total number of categories
#define DEBUG_CATEGORY_DUMP ((debug_category_t)1 << 15) // Packet dump/logging
#define DEBUG_CATEGORY_TRAFFIC ((debug_category_t)1 << 16) // Traffic flow (src/dst node IDs)
#define DEBUG_CATEGORY_COUNT 17 // Total number of categories
#define DEBUG_CATEGORY_ALL ((debug_category_t)0xFFFFFFFFUL)
/* Debug configuration structure */