netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ulogd_inpflow_NFACCT.c File Reference
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/time.h>
#include <time.h>
#include <netinet/in.h>
#include <ulogd/ulogd.h>
#include <ulogd/timer.h>
#include <libmnl/libmnl.h>
#include <libnetfilter_acct/libnetfilter_acct.h>
Include dependency graph for ulogd_inpflow_NFACCT.c:

Data Structures

struct  nfacct_pluginstance
 

Macros

#define pollint_ce(x)   (x->ces[0])
 
#define zerocounter_ce(x)   (x->ces[1])
 
#define timestamp_ce(x)   (x->ces[2])
 

Enumerations

enum  ulogd_nfacct_keys {
  ULOGD_NFACCT_NAME,
  ULOGD_NFACCT_PKTS,
  ULOGD_NFACCT_BYTES,
  ULOGD_NFACCT_RAW,
  ULOGD_NFACCT_TIME_SEC,
  ULOGD_NFACCT_TIME_USEC
}
 

Functions

void __attribute__ ((constructor))
 

Variables

struct nfacct_pluginstance __attribute__
 

Macro Definition Documentation

#define pollint_ce (   x)    (x->ces[0])
#define timestamp_ce (   x)    (x->ces[2])
#define zerocounter_ce (   x)    (x->ces[1])

Enumeration Type Documentation

Enumerator
ULOGD_NFACCT_NAME 
ULOGD_NFACCT_PKTS 
ULOGD_NFACCT_BYTES 
ULOGD_NFACCT_RAW 
ULOGD_NFACCT_TIME_SEC 
ULOGD_NFACCT_TIME_USEC 

Function Documentation

void __attribute__ ( (constructor)  )

References ulogd_register_plugin().

Here is the call graph for this function:

Variable Documentation

struct nfacct_pluginstance __attribute__