Merge remote-tracking branch 'origin/topic/awelzel/expose-num-packets-unprocessed'

* origin/topic/awelzel/expose-num-packets-unprocessed:
  ConnStats: Expose num_packets_unprocessed
  packet_analysis/Manager: Rename GetUnprocessedCount() to PacketsUnprocessed()
This commit is contained in:
Arne Welzel 2025-07-29 10:12:18 +02:00
commit 12518e8256
11 changed files with 47 additions and 8 deletions

View file

@ -169,11 +169,16 @@ public:
return pkt_filter;
}
[[deprecated("Remove in v8.1: Use PacketsUnprocessed() instead.")]]
uint64_t GetUnprocessedCount() const {
return PacketsUnprocessed();
}
/**
* Returns the total number of packets received that weren't considered
* processed by some analyzer.
*/
uint64_t GetUnprocessedCount() const { return total_not_processed; }
uint64_t PacketsUnprocessed() const { return total_not_processed; }
/**
* Tracks the given analyzer for the current packet's analyzer history.