Rework IPv6 header matching with dynamic filters and add packet length to logging event.

This commit is contained in:
Christian Deacon
2025-03-10 17:08:03 -04:00
parent 9ecbf7fc4a
commit c88a010aae
5 changed files with 20 additions and 14 deletions

View File

@@ -142,6 +142,8 @@ struct filter_log_event
u64 ts;
int filter_id;
int length;
u32 src_ip;
u32 src_ip6[4];
@@ -158,7 +160,8 @@ struct filter_log_event
u64 bps;
} typedef filter_log_event_t;
struct lpm_trie_key {
struct lpm_trie_key
{
u32 prefix_len;
u32 data;
} typedef LpmTrieKey;