netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
log.c File Reference
#include "log.h"
#include "conntrackd.h"
#include <time.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
Include dependency graph for log.c:

Functions

int init_log (void)
 
void dlog (int priority, const char *format,...)
 
void dlog_ct (FILE *fd, struct nf_conntrack *ct, unsigned int type)
 
void dlog_exp (FILE *fd, struct nf_expect *exp, unsigned int type)
 
void close_log (void)
 

Function Documentation

void close_log ( void  )

References CONFIG, NULL, and STATE.

Referenced by killer(), and main().

Here is the caller graph for this function:

void dlog ( int  priority,
const char *  format,
  ... 
)
void dlog_ct ( FILE *  fd,
struct nf_conntrack ct,
unsigned int  type 
)

References buf, CONFIG, flags, LOG_ERR, LOG_INFO, NFCT_O_PLAIN, NFCT_O_XML, NFCT_OF_TIME, nfct_snprintf(), NULL, and STATE.

Here is the call graph for this function:

void dlog_exp ( FILE *  fd,
struct nf_expect exp,
unsigned int  type 
)

References buf, CONFIG, flags, LOG_ERR, LOG_INFO, NFCT_O_PLAIN, nfexp_snprintf(), NULL, and STATE.

Here is the call graph for this function:

int init_log ( void  )

References CONFIG, NULL, and STATE.

Referenced by main().

Here is the caller graph for this function: