Skip to content

Commit

Permalink
Pull request #77: daq: added outstanding counter
Browse files Browse the repository at this point in the history
Merge in SNORT/libdaq from ~AKAYAMBU/libdaq:outstanding_pkts to master

Squashed commit of the following:

commit edf886a1e33f13ed9e62ebd1b76252822812ddc1
Author: Arunkumar Kayambu <[email protected]>
Date:   Wed Jul 17 19:45:09 2024 -0400

    daq: added outstanding counter
  • Loading branch information
arunkayambu authored and Steven Baigal (sbaigal) committed Jul 23, 2024
1 parent 1b20345 commit 0ddcb7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/daq_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern "C" {
#include <unistd.h>

// 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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 0ddcb7a

Please sign in to comment.