Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nf_log.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/skbuff.h>
#include <linux/netfilter.h>
#include <linux/seq_file.h>
#include <net/protocol.h>
#include <net/netfilter/nf_log.h>
#include "nf_internals.h"

Go to the source code of this file.


#define NF_LOG_PREFIXLEN   128
#define NFLOGGER_NAME_LEN   64


int nf_log_register (u_int8_t pf, struct nf_logger *logger)
 EXPORT_SYMBOL (nf_log_register)
void nf_log_unregister (struct nf_logger *logger)
 EXPORT_SYMBOL (nf_log_unregister)
int nf_log_bind_pf (u_int8_t pf, const struct nf_logger *logger)
 EXPORT_SYMBOL (nf_log_bind_pf)
void nf_log_unbind_pf (u_int8_t pf)
 EXPORT_SYMBOL (nf_log_unbind_pf)
void nf_log_packet (u_int8_t pf, unsigned int hooknum, const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, const struct nf_loginfo *loginfo, const char *fmt,...)
 EXPORT_SYMBOL (nf_log_packet)
int __init netfilter_log_init (void)

Macro Definition Documentation

#define NF_LOG_PREFIXLEN   128

Definition at line 16 of file nf_log.c.

#define NFLOGGER_NAME_LEN   64

Definition at line 17 of file nf_log.c.

Function Documentation

EXPORT_SYMBOL ( nf_log_register  )
EXPORT_SYMBOL ( nf_log_unregister  )
EXPORT_SYMBOL ( nf_log_bind_pf  )
EXPORT_SYMBOL ( nf_log_unbind_pf  )
EXPORT_SYMBOL ( nf_log_packet  )
int __init netfilter_log_init ( void  )

Definition at line 293 of file nf_log.c.

int nf_log_bind_pf ( u_int8_t  pf,
const struct nf_logger logger 

Definition at line 86 of file nf_log.c.

void nf_log_packet ( u_int8_t  pf,
unsigned int  hooknum,
const struct sk_buff skb,
const struct net_device in,
const struct net_device out,
const struct nf_loginfo loginfo,
const char fmt,

Definition at line 111 of file nf_log.c.

int nf_log_register ( u_int8_t  pf,
struct nf_logger logger 

Definition at line 36 of file nf_log.c.

void nf_log_unbind_pf ( u_int8_t  pf)

Definition at line 101 of file nf_log.c.

void nf_log_unregister ( struct nf_logger logger)

Definition at line 67 of file nf_log.c.