Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ip6_tables.c File Reference
#include <linux/capability.h>
#include <linux/in.h>
#include <linux/skbuff.h>
#include <linux/kmod.h>
#include <linux/vmalloc.h>
#include <linux/netdevice.h>
#include <linux/module.h>
#include <linux/poison.h>
#include <linux/icmpv6.h>
#include <net/ipv6.h>
#include <net/compat.h>
#include <asm/uaccess.h>
#include <linux/mutex.h>
#include <linux/proc_fs.h>
#include <linux/err.h>
#include <linux/cpumask.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/netfilter/x_tables.h>
#include <net/netfilter/nf_log.h>
#include "../../netfilter/xt_repldata.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define dprintf(format, args...)
 
#define duprintf(format, args...)
 
#define IP_NF_ASSERT(x)
 
#define FWINV(bool, invflg)   ((bool) ^ !!(ip6info->invflags & (invflg)))
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Netfilter Core Team <[email protected]>")
 
 MODULE_DESCRIPTION ("IPv6 packet filter")
 
voidip6t_alloc_initial_table (const struct xt_table *info)
 
 EXPORT_SYMBOL_GPL (ip6t_alloc_initial_table)
 
unsigned int ip6t_do_table (struct sk_buff *skb, unsigned int hook, const struct net_device *in, const struct net_device *out, struct xt_table *table)
 
struct xt_tableip6t_register_table (struct net *net, const struct xt_table *table, const struct ip6t_replace *repl)
 
void ip6t_unregister_table (struct net *net, struct xt_table *table)
 
int ipv6_find_hdr (const struct sk_buff *skb, unsigned int *offset, int target, unsigned short *fragoff, int *flags)
 
 EXPORT_SYMBOL (ip6t_register_table)
 
 EXPORT_SYMBOL (ip6t_unregister_table)
 
 EXPORT_SYMBOL (ip6t_do_table)
 
 EXPORT_SYMBOL (ipv6_find_hdr)
 
 module_init (ip6_tables_init)
 
 module_exit (ip6_tables_fini)
 

Macro Definition Documentation

#define dprintf (   format,
  args... 
)

Definition at line 45 of file ip6_tables.c.

#define duprintf (   format,
  args... 
)

Definition at line 51 of file ip6_tables.c.

#define FWINV (   bool,
  invflg 
)    ((bool) ^ !!(ip6info->invflags & (invflg)))
#define IP_NF_ASSERT (   x)

Definition at line 57 of file ip6_tables.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 11 of file ip6_tables.c.

Function Documentation

EXPORT_SYMBOL ( ip6t_register_table  )
EXPORT_SYMBOL ( ip6t_unregister_table  )
EXPORT_SYMBOL ( ip6t_do_table  )
EXPORT_SYMBOL ( ipv6_find_hdr  )
EXPORT_SYMBOL_GPL ( ip6t_alloc_initial_table  )
void* ip6t_alloc_initial_table ( const struct xt_table info)

Definition at line 66 of file ip6_tables.c.

unsigned int ip6t_do_table ( struct sk_buff skb,
unsigned int  hook,
const struct net_device in,
const struct net_device out,
struct xt_table table 
)

Definition at line 314 of file ip6_tables.c.

struct xt_table* ip6t_register_table ( struct net net,
const struct xt_table table,
const struct ip6t_replace repl 
)
read

Definition at line 2068 of file ip6_tables.c.

void ip6t_unregister_table ( struct net net,
struct xt_table table 
)

Definition at line 2105 of file ip6_tables.c.

int ipv6_find_hdr ( const struct sk_buff skb,
unsigned int offset,
int  target,
unsigned short fragoff,
int flags 
)

Definition at line 2300 of file ip6_tables.c.

MODULE_AUTHOR ( "Netfilter Core Team <[email protected]>"  )
MODULE_DESCRIPTION ( "IPv6 packet filter )
module_exit ( ip6_tables_fini  )
module_init ( ip6_tables_init  )
MODULE_LICENSE ( "GPL"  )