|
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 <linux/rbtree.h>#include <net/ip.h>#include <net/ipv6.h>#include <net/netlink.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 | iface_node |
| struct | hash_netiface4_elem_hashed |
| struct | hash_netiface4_elem |
| struct | hash_netiface4_telem |
| struct | hash_netiface6_elem_hashed |
| struct | hash_netiface6_elem |
| struct | hash_netiface6_telem |
Macros | |
| #define | REVISION_MIN 0 |
| #define | REVISION_MAX 2 /* /0 support added */ |
| #define | iface_data(n) (rb_entry(n, struct iface_node, node)->iface) |
| #define | TYPE hash_netiface |
| #define | hash_netiface4_same_set hash_netiface_same_set |
| #define | hash_netiface6_same_set hash_netiface_same_set |
| #define | STREQ(a, b) (strcmp(a, b) == 0) |
| #define | HKEY_DATALEN sizeof(struct hash_netiface4_elem_hashed) |
| #define | IP_SET_HASH_WITH_NETS |
| #define | IP_SET_HASH_WITH_RBTREE |
| #define | IP_SET_HASH_WITH_MULTI |
| #define | PF 4 |
| #define | HOST_MASK 32 |
| #define | IFACE(dir) (par->dir ? par->dir->name : NULL) |
| #define | PHYSDEV(dir) (nf_bridge->dir ? nf_bridge->dir->name : NULL) |
| #define | SRCDIR (opt->flags & IPSET_DIM_TWO_SRC) |
| #define | HKEY_DATALEN sizeof(struct hash_netiface6_elem_hashed) |
| #define | PF 6 |
| #define | HOST_MASK 128 |
Functions | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Jozsef Kadlecsik <[email protected]>") | |
| IP_SET_MODULE_DESC ("hash:net,iface", REVISION_MIN, REVISION_MAX) | |
| MODULE_ALIAS ("ip_set_hash:net,iface") | |
| module_init (hash_netiface_init) | |
| module_exit (hash_netiface_fini) | |
| #define hash_netiface4_same_set hash_netiface_same_set |
Definition at line 135 of file ip_set_hash_netiface.c.
| #define hash_netiface6_same_set hash_netiface_same_set |
Definition at line 136 of file ip_set_hash_netiface.c.
| #define HKEY_DATALEN sizeof(struct hash_netiface4_elem_hashed) |
Definition at line 448 of file ip_set_hash_netiface.c.
| #define HKEY_DATALEN sizeof(struct hash_netiface6_elem_hashed) |
Definition at line 448 of file ip_set_hash_netiface.c.
| #define HOST_MASK 32 |
Definition at line 576 of file ip_set_hash_netiface.c.
| #define HOST_MASK 128 |
Definition at line 576 of file ip_set_hash_netiface.c.
Definition at line 43 of file ip_set_hash_netiface.c.
| #define IP_SET_HASH_WITH_MULTI |
Definition at line 270 of file ip_set_hash_netiface.c.
| #define IP_SET_HASH_WITH_NETS |
Definition at line 268 of file ip_set_hash_netiface.c.
| #define IP_SET_HASH_WITH_RBTREE |
Definition at line 269 of file ip_set_hash_netiface.c.
| #define PF 4 |
Definition at line 575 of file ip_set_hash_netiface.c.
| #define PF 6 |
Definition at line 575 of file ip_set_hash_netiface.c.
| #define REVISION_MAX 2 /* /0 support added */ |
Definition at line 29 of file ip_set_hash_netiface.c.
| #define REVISION_MIN 0 |
Definition at line 27 of file ip_set_hash_netiface.c.
| #define SRCDIR (opt->flags & IPSET_DIM_TWO_SRC) |
| #define TYPE hash_netiface |
Definition at line 130 of file ip_set_hash_netiface.c.
| IP_SET_MODULE_DESC | ( | "hash:net | , |
| iface" | , | ||
| REVISION_MIN | , | ||
| REVISION_MAX | |||
| ) |
| MODULE_ALIAS | ( | "ip_set_hash:net | , |
| iface" | |||
| ) |
| MODULE_AUTHOR | ( | "Jozsef Kadlecsik <[email protected]>" | ) |
| module_exit | ( | hash_netiface_fini | ) |
| module_init | ( | hash_netiface_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2