Linux Kernel
3.7.1
|
#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_ipport4_elem |
struct | hash_ipport4_telem |
struct | hash_ipport6_elem |
struct | hash_ipport6_telem |
Macros | |
#define | REVISION_MIN 0 |
#define | REVISION_MAX 1 /* SCTP and UDPLITE support added */ |
#define | TYPE hash_ipport |
#define | hash_ipport4_same_set hash_ipport_same_set |
#define | hash_ipport6_same_set hash_ipport_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", REVISION_MIN, REVISION_MAX) | |
MODULE_ALIAS ("ip_set_hash:ip,port") | |
module_init (hash_ipport_init) | |
module_exit (hash_ipport_fini) | |
#define hash_ipport4_same_set hash_ipport_same_set |
Definition at line 42 of file ip_set_hash_ipport.c.
#define hash_ipport6_same_set hash_ipport_same_set |
Definition at line 43 of file ip_set_hash_ipport.c.
#define HOST_MASK 32 |
Definition at line 348 of file ip_set_hash_ipport.c.
#define HOST_MASK 128 |
Definition at line 348 of file ip_set_hash_ipport.c.
#define PF 4 |
Definition at line 347 of file ip_set_hash_ipport.c.
#define PF 6 |
Definition at line 347 of file ip_set_hash_ipport.c.
Definition at line 29 of file ip_set_hash_ipport.c.
#define REVISION_MIN 0 |
Definition at line 28 of file ip_set_hash_ipport.c.
#define TYPE hash_ipport |
Definition at line 37 of file ip_set_hash_ipport.c.
IP_SET_MODULE_DESC | ( | "hash:ip | , |
port" | , | ||
REVISION_MIN | , | ||
REVISION_MAX | |||
) |
MODULE_ALIAS | ( | "ip_set_hash:ip | , |
port" | |||
) |
MODULE_AUTHOR | ( | "Jozsef Kadlecsik <[email protected]>" | ) |
module_exit | ( | hash_ipport_fini | ) |
module_init | ( | hash_ipport_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |