#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
Data Structures | |
struct | intr_id |
Macros | |
#define | HOST_NAME_MAX (255+1) |
#define | NIPQUAD(addr) |
#define | INTR_IDS 35 |
#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 |
Functions | |
int | printpkt_print (ulog_iret_t *res, char *buf, int prefix) |
int | printpkt_init (void) |
#define GET_FLAGS | ( | x | ) | ulogd_keyh[intr_ids[x].id].interp->result[ulogd_keyh[intr_ids[x].id].offset].flags |
Referenced by printpkt_print().
#define GET_VALUE | ( | x | ) | ulogd_keyh[intr_ids[x].id].interp->result[ulogd_keyh[intr_ids[x].id].offset].value |
Referenced by printpkt_print().
#define HOST_NAME_MAX (255+1) |
#define INTR_IDS 35 |
#define NIPQUAD | ( | addr | ) |
int printpkt_init | ( | void | ) |
References ULOGD_FATAL, and ulogd_log.
Referenced by _init().
int printpkt_print | ( | ulog_iret_t * | res, |
char * | buf, | ||
int | prefix | ||
) |
References buf, GET_FLAGS, GET_VALUE, and ULOGD_RETF_VALID.