#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <time.h>
#include <ctype.h>
#include <signal.h>
#include <dlfcn.h>
#include <sys/types.h>
#include <dirent.h>
#include <getopt.h>
#include <pwd.h>
#include <grp.h>
#include <syslog.h>
#include <libipulog/libipulog.h>
#include <ulogd/conffile.h>
#include <ulogd/ulogd.h>
#define DEBUGP |
( |
|
format, |
|
|
|
args... |
|
) |
| |
#define INTERH_ALLOC_GRAN 5 |
#define KEYH_ALLOC_GRAN 20 |
#define ULOGD_BUFSIZE_DEFAULT 150000 |
#define ULOGD_LOGFILE_DEFAULT "/var/log/ulogd.log" |
#define ULOGD_NLGROUP_DEFAULT 32 |
#define ULOGD_RMEM_DEFAULT 131071 |
#define ULOGD_VERSION "1.23" |
void __ulogd_log |
( |
int |
level, |
|
|
char * |
file, |
|
|
int |
line, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
unsigned int interh_getid |
( |
const char * |
name | ) |
|
unsigned int keyh_getid |
( |
const char * |
name | ) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
References config_register_file(), DEBUGP, handle_packet(), ulog_output::init, ipulog_create_handle(), ipulog_errno, ipulog_get_packet(), ipulog_group2gmask(), ipulog_perror(), ipulog_read(), len, ulog_output::next, NULL, config_entry::string, config_entry::u, ULOGD_ERROR, ULOGD_FATAL, ULOGD_INFO, ulogd_log, ULOGD_NOTICE, ULOGD_VERSION, and config_entry::value.
References ulog_iret::key, ulog_interpreter::key_num, ulog_interpreter::name, ulog_iret::next, ulog_interpreter::next, ulog_interpreter::result, ULOGD_ERROR, ULOGD_INFO, ulogd_log, and ULOGD_NOTICE.
Referenced by _base_reg_ip(), and _local_reg_ip().