netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ulogd.c File Reference
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <time.h>
#include <ctype.h>
#include <signal.h>
#include <dlfcn.h>
#include <sys/types.h>
#include <fcntl.h>
#include <dirent.h>
#include <getopt.h>
#include <pwd.h>
#include <grp.h>
#include <syslog.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <ulogd/conffile.h>
#include <ulogd/ulogd.h>
Include dependency graph for ulogd.c:

Macros

#define DEBUGP(format, args...)
 
#define COPYRIGHT
 
#define logfile_ce   ulogd_kset.ces[0]
 
#define plugin_ce   ulogd_kset.ces[1]
 
#define loglevel_ce   ulogd_kset.ces[2]
 
#define stack_ce   ulogd_kset.ces[3]
 

Functions

int ulogd_key_size (struct ulogd_key *key)
 
int ulogd_wildcard_inputkeys (struct ulogd_pluginstance *upi)
 
char * type_to_string (int type)
 
void get_plugin_infos (struct ulogd_plugin *me)
 
void ulogd_register_plugin (struct ulogd_plugin *me)
 
void __ulogd_log (int level, char *file, int line, const char *format,...)
 
void ulogd_propagate_results (struct ulogd_pluginstance *pi)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define COPYRIGHT
Value:
"(C) 2000-2006 Harald Welte <laforge@netfilter.org>\n" \
"(C) 2008-2012 Pablo Neira Ayuso <pablo@netfilter.org>\n" \
"(C) 2008-2012 Eric Leblond <eric@regit.org>\n"

Referenced by main().

#define DEBUGP (   format,
  args... 
)
#define logfile_ce   ulogd_kset.ces[0]
#define loglevel_ce   ulogd_kset.ces[2]

Referenced by __ulogd_log(), and main().

#define plugin_ce   ulogd_kset.ces[1]
#define stack_ce   ulogd_kset.ces[3]

Function Documentation

void __ulogd_log ( int  level,
char *  file,
int  line,
const char *  format,
  ... 
)
int main ( int  argc,
char *  argv[] 
)
char* type_to_string ( int  type)
void ulogd_register_plugin ( struct ulogd_plugin me)

References get_plugin_infos(), ulogd_plugin::list, ulogd_plugin::name, ULOGD_DEBUG, ulogd_log, ULOGD_NOTICE, and ulogd_plugin::version.

Referenced by __attribute__().

Here is the call graph for this function:

Here is the caller graph for this function: