suricata
StatsCounter_ Struct Reference

Container to hold the counter variable. More...

#include <counters.h>

Collaboration diagram for StatsCounter_:

Data Fields

int type
 
uint16_t id
 
uint16_t gid
 
uint64_t value
 
uint64_t updates
 
uint64_t(* Func )(void)
 
const char * name
 
struct StatsCounter_next
 

Detailed Description

Container to hold the counter variable.

Definition at line 34 of file counters.h.

Field Documentation

uint64_t(* StatsCounter_::Func) (void)

Definition at line 49 of file counters.h.

Referenced by StatsSetUI64().

uint16_t StatsCounter_::gid

Definition at line 41 of file counters.h.

Referenced by StatsSetUI64().

uint16_t StatsCounter_::id

Definition at line 38 of file counters.h.

Referenced by StatsSetUI64().

const char* StatsCounter_::name

Definition at line 52 of file counters.h.

Referenced by StatsSetUI64().

struct StatsCounter_* StatsCounter_::next

Definition at line 55 of file counters.h.

Referenced by StatsReleaseCounters(), StatsSetUI64(), and StatsThreadCleanup().

int StatsCounter_::type

Definition at line 35 of file counters.h.

Referenced by StatsSetUI64().

uint64_t StatsCounter_::updates

number of updates (for avg)

Definition at line 45 of file counters.h.

Referenced by StatsSetUI64().

uint64_t StatsCounter_::value

sum of updates/increments, or 'set' value

Definition at line 44 of file counters.h.

Referenced by StatsSetUI64(), and StatsThreadCleanup().


The documentation for this struct was generated from the following file: