#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <pcap.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
Data Structures | |
struct | pcap_timeval |
struct | pcap_sf_pkthdr |
struct | intr_id |
Macros | |
#define | ULOGD_PCAP_DEFAULT "/var/log/ulogd.pcap" |
#define | ULOGD_PCAP_SYNC_DEFAULT 0 |
#define | NIPQUAD(addr) |
#define | INTR_IDS 5 |
#define | GET_VALUE(x) ulogd_keyh[intr_ids[x].id].interp->result[ulogd_keyh[intr_ids[x].id].offset].value |
#define | GET_FLAGS(x) ulogd_keyh[intr_ids[x].id].interp->result[ulogd_keyh[intr_ids[x].id].offset].flags |
#define | LINKTYPE_RAW 101 |
#define | TCPDUMP_MAGIC 0xa1b2c3d4 |
Functions | |
void | append_create_outfile (void) |
void | _init (void) |
#define GET_FLAGS | ( | x | ) | ulogd_keyh[intr_ids[x].id].interp->result[ulogd_keyh[intr_ids[x].id].offset].flags |
#define GET_VALUE | ( | x | ) | ulogd_keyh[intr_ids[x].id].interp->result[ulogd_keyh[intr_ids[x].id].offset].value |
#define INTR_IDS 5 |
#define LINKTYPE_RAW 101 |
#define NIPQUAD | ( | addr | ) |
#define TCPDUMP_MAGIC 0xa1b2c3d4 |
#define ULOGD_PCAP_DEFAULT "/var/log/ulogd.pcap" |
#define ULOGD_PCAP_SYNC_DEFAULT 0 |
void _init | ( | void | ) |
void append_create_outfile | ( | void | ) |
References config_entry::string, config_entry::u, ULOGD_FATAL, and ulogd_log.