netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ulogd_output_PCAP.c File Reference
#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 <errno.h>
#include <ulogd/ulogd.h>
#include <ulogd/conffile.h>
Include dependency graph for ulogd_output_PCAP.c:

Data Structures

struct  pcap_timeval
 
struct  pcap_sf_pkthdr
 
struct  pcap_instance
 
struct  intr_id
 

Macros

#define ULOGD_PCAP_DEFAULT   "/var/log/ulogd.pcap"
 
#define ULOGD_PCAP_SYNC_DEFAULT   0
 
#define NIPQUAD(addr)
 
#define INTR_IDS   7
 
#define GET_FLAGS(res, x)   (res[x].u.source->flags)
 
#define LINKTYPE_RAW   101
 
#define TCPDUMP_MAGIC   0xa1b2c3d4
 

Functions

void __attribute__ ((constructor))
 

Macro Definition Documentation

#define GET_FLAGS (   res,
 
)    (res[x].u.source->flags)
#define INTR_IDS   7
#define LINKTYPE_RAW   101
#define NIPQUAD (   addr)
Value:
((unsigned char *)&addr)[0], \
((unsigned char *)&addr)[1], \
((unsigned char *)&addr)[2], \
((unsigned char *)&addr)[3]
#define TCPDUMP_MAGIC   0xa1b2c3d4
#define ULOGD_PCAP_DEFAULT   "/var/log/ulogd.pcap"
#define ULOGD_PCAP_SYNC_DEFAULT   0

Function Documentation

void __attribute__ ( (constructor)  )

References ulogd_register_plugin().

Here is the call graph for this function: