Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ip_set_hash_ip.c File Reference
#include <linux/jhash.h>
#include <linux/module.h>
#include <linux/ip.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
#include <linux/random.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include <net/netlink.h>
#include <net/tcp.h>
#include <linux/netfilter.h>
#include <linux/netfilter/ipset/pfxlen.h>
#include <linux/netfilter/ipset/ip_set.h>
#include <linux/netfilter/ipset/ip_set_timeout.h>
#include <linux/netfilter/ipset/ip_set_hash.h>
#include <linux/netfilter/ipset/ip_set_ahash.h>

Go to the source code of this file.

Data Structures

struct  hash_ip4_elem
 
struct  hash_ip4_telem
 
struct  hash_ip6_elem
 
struct  hash_ip6_telem
 

Macros

#define REVISION_MIN   0
 
#define REVISION_MAX   0
 
#define TYPE   hash_ip
 
#define hash_ip4_same_set   hash_ip_same_set
 
#define hash_ip6_same_set   hash_ip_same_set
 
#define IP_SET_HASH_WITH_NETMASK
 
#define PF   4
 
#define HOST_MASK   32
 
#define PF   6
 
#define HOST_MASK   128
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jozsef Kadlecsik <[email protected]>")
 
 IP_SET_MODULE_DESC ("hash:ip", REVISION_MIN, REVISION_MAX)
 
 MODULE_ALIAS ("ip_set_hash:ip")
 
 module_init (hash_ip_init)
 
 module_exit (hash_ip_fini)
 

Macro Definition Documentation

#define hash_ip4_same_set   hash_ip_same_set

Definition at line 41 of file ip_set_hash_ip.c.

#define hash_ip6_same_set   hash_ip_same_set

Definition at line 42 of file ip_set_hash_ip.c.

#define HOST_MASK   32

Definition at line 298 of file ip_set_hash_ip.c.

#define HOST_MASK   128

Definition at line 298 of file ip_set_hash_ip.c.

#define IP_SET_HASH_WITH_NETMASK

Definition at line 112 of file ip_set_hash_ip.c.

#define PF   4

Definition at line 297 of file ip_set_hash_ip.c.

#define PF   6

Definition at line 297 of file ip_set_hash_ip.c.

#define REVISION_MAX   0

Definition at line 28 of file ip_set_hash_ip.c.

#define REVISION_MIN   0

Definition at line 27 of file ip_set_hash_ip.c.

#define TYPE   hash_ip

Definition at line 36 of file ip_set_hash_ip.c.

Function Documentation

IP_SET_MODULE_DESC ( "hash:ip"  ,
REVISION_MIN  ,
REVISION_MAX   
)
MODULE_ALIAS ( "ip_set_hash:ip"  )
MODULE_AUTHOR ( "Jozsef Kadlecsik <[email protected]>"  )
module_exit ( hash_ip_fini  )
module_init ( hash_ip_init  )
MODULE_LICENSE ( "GPL"  )