netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ulogd_output_JSON.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <inttypes.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
#include <jansson.h>
Include dependency graph for ulogd_output_JSON.c:

Data Structures

struct  json_priv
 

Macros

#define ULOGD_JSON_DEFAULT   "/var/log/ulogd.json"
 
#define ULOGD_JSON_DEFAULT_DEVICE   "Netfilter"
 
#define MAX_LOCAL_TIME_STRING   32
 

Enumerations

enum  json_conf {
  JSON_CONF_FILENAME = 0,
  JSON_CONF_SYNC,
  JSON_CONF_TIMESTAMP,
  JSON_CONF_DEVICE,
  JSON_CONF_BOOLEAN_LABEL,
  JSON_CONF_MAX
}
 

Functions

void __attribute__ ((constructor))
 

Macro Definition Documentation

#define MAX_LOCAL_TIME_STRING   32
#define ULOGD_JSON_DEFAULT   "/var/log/ulogd.json"
#define ULOGD_JSON_DEFAULT_DEVICE   "Netfilter"

Enumeration Type Documentation

enum json_conf
Enumerator
JSON_CONF_FILENAME 
JSON_CONF_SYNC 
JSON_CONF_TIMESTAMP 
JSON_CONF_DEVICE 
JSON_CONF_BOOLEAN_LABEL 
JSON_CONF_MAX 

Function Documentation

void __attribute__ ( (constructor)  )

References ulogd_register_plugin().

Here is the call graph for this function: