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_ipportnet.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_getport.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_ipportnet4_elem
 
struct  hash_ipportnet4_telem
 
struct  hash_ipportnet6_elem
 
struct  hash_ipportnet6_telem
 

Macros

#define REVISION_MIN   0
 
#define REVISION_MAX   3 /* nomatch flag support added */
 
#define TYPE   hash_ipportnet
 
#define hash_ipportnet4_same_set   hash_ipportnet_same_set
 
#define hash_ipportnet6_same_set   hash_ipportnet_same_set
 
#define IP_SET_HASH_WITH_NETS_PACKED
 
#define IP_SET_HASH_WITH_PROTO
 
#define IP_SET_HASH_WITH_NETS
 
#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,port,net", REVISION_MIN, REVISION_MAX)
 
 MODULE_ALIAS ("ip_set_hash:ip,port,net")
 
 module_init (hash_ipportnet_init)
 
 module_exit (hash_ipportnet_fini)
 

Macro Definition Documentation

#define hash_ipportnet4_same_set   hash_ipportnet_same_set

Definition at line 44 of file ip_set_hash_ipportnet.c.

#define hash_ipportnet6_same_set   hash_ipportnet_same_set

Definition at line 45 of file ip_set_hash_ipportnet.c.

#define HOST_MASK   32

Definition at line 493 of file ip_set_hash_ipportnet.c.

#define HOST_MASK   128

Definition at line 493 of file ip_set_hash_ipportnet.c.

#define IP_SET_HASH_WITH_NETS

Definition at line 171 of file ip_set_hash_ipportnet.c.

#define IP_SET_HASH_WITH_NETS_PACKED

Definition at line 53 of file ip_set_hash_ipportnet.c.

#define IP_SET_HASH_WITH_PROTO

Definition at line 170 of file ip_set_hash_ipportnet.c.

#define PF   4

Definition at line 492 of file ip_set_hash_ipportnet.c.

#define PF   6

Definition at line 492 of file ip_set_hash_ipportnet.c.

#define REVISION_MAX   3 /* nomatch flag support added */

Definition at line 31 of file ip_set_hash_ipportnet.c.

#define REVISION_MIN   0

Definition at line 28 of file ip_set_hash_ipportnet.c.

#define TYPE   hash_ipportnet

Definition at line 39 of file ip_set_hash_ipportnet.c.

Function Documentation

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