netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nfacct.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <errno.h>
#include <arpa/inet.h>
#include <libmnl/libmnl.h>
#include <libnetfilter_acct/libnetfilter_acct.h>
#include <linux/netfilter/nfnetlink_acct.h>
#include <linux/netfilter/nfnetlink.h>
Include dependency graph for nfacct.c:

Enumerations

enum  {
  NFACCT_CMD_NONE = 0,
  NFACCT_CMD_LIST,
  NFACCT_CMD_ADD,
  NFACCT_CMD_DELETE,
  NFACCT_CMD_GET,
  NFACCT_CMD_FLUSH,
  NFACCT_CMD_VERSION,
  NFACCT_CMD_HELP,
  NFACCT_CMD_RESTORE,
  NFACCT_CMD_LISTEN
}
 

Functions

int main (int argc, char *argv[])
 

Enumeration Type Documentation

anonymous enum
Enumerator
NFACCT_CMD_NONE 
NFACCT_CMD_LIST 
NFACCT_CMD_ADD 
NFACCT_CMD_DELETE 
NFACCT_CMD_GET 
NFACCT_CMD_FLUSH 
NFACCT_CMD_VERSION 
NFACCT_CMD_HELP 
NFACCT_CMD_RESTORE 
NFACCT_CMD_LISTEN 

Function Documentation