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_ipportip.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_ipportip4_elem
 
struct  hash_ipportip4_telem
 
struct  hash_ipportip6_elem
 
struct  hash_ipportip6_telem
 

Macros

#define REVISION_MIN   0
 
#define REVISION_MAX   1 /* SCTP and UDPLITE support added */
 
#define TYPE   hash_ipportip
 
#define hash_ipportip4_same_set   hash_ipportip_same_set
 
#define hash_ipportip6_same_set   hash_ipportip_same_set
 
#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,ip", REVISION_MIN, REVISION_MAX)
 
 MODULE_ALIAS ("ip_set_hash:ip,port,ip")
 
 module_init (hash_ipportip_init)
 
 module_exit (hash_ipportip_fini)
 

Macro Definition Documentation

#define hash_ipportip4_same_set   hash_ipportip_same_set

Definition at line 42 of file ip_set_hash_ipportip.c.

#define hash_ipportip6_same_set   hash_ipportip_same_set

Definition at line 43 of file ip_set_hash_ipportip.c.

#define HOST_MASK   32

Definition at line 361 of file ip_set_hash_ipportip.c.

#define HOST_MASK   128

Definition at line 361 of file ip_set_hash_ipportip.c.

#define PF   4

Definition at line 360 of file ip_set_hash_ipportip.c.

#define PF   6

Definition at line 360 of file ip_set_hash_ipportip.c.

#define REVISION_MAX   1 /* SCTP and UDPLITE support added */

Definition at line 29 of file ip_set_hash_ipportip.c.

#define REVISION_MIN   0

Definition at line 28 of file ip_set_hash_ipportip.c.

#define TYPE   hash_ipportip

Definition at line 37 of file ip_set_hash_ipportip.c.

Function Documentation

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