vnstat  2.9
About: vnStat is a console-based network traffic monitor (using the /proc filesystem).
  Fossies Dox: vnstat-2.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

DATA Struct Reference

#include <dbaccess.h>

Collaboration diagram for DATA:
[legend]

Data Fields

int version
 
char interface [32]
 
char nick [32]
 
int active
 
uint64_t totalrx
 
uint64_t totaltx
 
uint64_t currx
 
uint64_t curtx
 
int totalrxk
 
int totaltxk
 
time_t lastupdated
 
time_t created
 
DAY day [30]
 
MONTH month [12]
 
DAY top10 [10]
 
HOUR hour [24]
 
uint64_t btime
 

Detailed Description

Definition at line 36 of file dbaccess.h.

Field Documentation

◆ active

int DATA::active

Definition at line 40 of file dbaccess.h.

Referenced by initdb(), insertlegacydata(), and validatedb().

◆ btime

uint64_t DATA::btime

Definition at line 48 of file dbaccess.h.

Referenced by initdb(), and validatedb().

◆ created

time_t DATA::created

Definition at line 43 of file dbaccess.h.

Referenced by initdb(), insertlegacydata(), and validatedb().

◆ currx

uint64_t DATA::currx

Definition at line 41 of file dbaccess.h.

Referenced by initdb(), and insertlegacydata().

◆ curtx

uint64_t DATA::curtx

Definition at line 41 of file dbaccess.h.

Referenced by initdb(), and insertlegacydata().

◆ day

DAY DATA::day[30]

Definition at line 44 of file dbaccess.h.

Referenced by initdb(), insertlegacydata(), and validatedb().

◆ hour

HOUR DATA::hour[24]

Definition at line 47 of file dbaccess.h.

Referenced by initdb(), and insertlegacydata().

◆ interface

char DATA::interface[32]

Definition at line 38 of file dbaccess.h.

Referenced by readdb(), and validatedb().

◆ lastupdated

time_t DATA::lastupdated

Definition at line 43 of file dbaccess.h.

Referenced by initdb(), and validatedb().

◆ month

MONTH DATA::month[12]

Definition at line 45 of file dbaccess.h.

Referenced by initdb(), insertlegacydata(), and validatedb().

◆ nick

char DATA::nick[32]

Definition at line 39 of file dbaccess.h.

Referenced by insertlegacydata(), readdb(), and validatedb().

◆ top10

DAY DATA::top10[10]

Definition at line 46 of file dbaccess.h.

Referenced by initdb(), insertlegacydata(), and validatedb().

◆ totalrx

uint64_t DATA::totalrx

Definition at line 41 of file dbaccess.h.

Referenced by initdb(), insertlegacydata(), and validatedb().

◆ totalrxk

int DATA::totalrxk

Definition at line 42 of file dbaccess.h.

Referenced by initdb(), and insertlegacydata().

◆ totaltx

uint64_t DATA::totaltx

Definition at line 41 of file dbaccess.h.

Referenced by initdb(), insertlegacydata(), and validatedb().

◆ totaltxk

int DATA::totaltxk

Definition at line 42 of file dbaccess.h.

Referenced by initdb(), and insertlegacydata().

◆ version

int DATA::version

Definition at line 37 of file dbaccess.h.

Referenced by initdb(), readdb(), and validatedb().


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