#include "log.h"
#include "conntrackd.h"
#include <time.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
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) |
void close_log | ( | void | ) |
void dlog | ( | int | priority, |
const char * | format, | ||
... | |||
) |
References buf, CONFIG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_WARNING, NULL, and STATE.
Referenced by cthelper_init(), ctnl_init(), init(), killer(), main(), nl_flush_conntrack_table_selective(), nl_init_event_handler(), and nl_resize_socket_buffer().
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.
References buf, CONFIG, flags, LOG_ERR, LOG_INFO, NFCT_O_PLAIN, nfexp_snprintf(), NULL, and STATE.