From 0ddcb7afaca149eebe665bd24e83413a2191cdf5 Mon Sep 17 00:00:00 2001 From: "ARUNKUMAR KAYAMBU -X (akayambu - XORIANT CORPORATION at Cisco)" Date: Tue, 23 Jul 2024 18:48:26 +0000 Subject: [PATCH] Pull request #77: daq: added outstanding counter Merge in SNORT/libdaq from ~AKAYAMBU/libdaq:outstanding_pkts to master Squashed commit of the following: commit edf886a1e33f13ed9e62ebd1b76252822812ddc1 Author: Arunkumar Kayambu Date: Wed Jul 17 19:45:09 2024 -0400 daq: added outstanding counter --- api/daq_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/daq_common.h b/api/daq_common.h index 28aa92b..0e2a96a 100644 --- a/api/daq_common.h +++ b/api/daq_common.h @@ -32,7 +32,7 @@ extern "C" { #include // Comprehensive version number covering all elements of this header -#define DAQ_COMMON_API_VERSION 0x00030006 +#define DAQ_COMMON_API_VERSION 0x00030007 #ifndef DAQ_SO_PUBLIC # ifdef HAVE_VISIBILITY @@ -351,6 +351,7 @@ typedef struct _daq_stats uint64_t packets_received; /* Packets received by this instance */ uint64_t packets_filtered; /* Packets filtered by this instance's BPF */ uint64_t packets_injected; /* Packets injected by this instance */ + uint64_t packets_outstanding; /* Packets outstanding in this instance */ uint64_t verdicts[MAX_DAQ_VERDICT]; /* Counters of packets handled per-verdict. */ } DAQ_Stats_t;