#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 <linux/netfilter.h>
#include <linux/netfilter/ipset/pfxlen.h>
#include <linux/netfilter/ipset/ip_set.h>
#include <linux/netfilter/ipset/ip_set_hash.h>
#include "ip_set_hash_gen.h"
Data Structures | |
struct | hash_net4_elem |
struct | hash_net6_elem |
Macros | |
#define | IPSET_TYPE_REV_MIN 0 |
#define | IPSET_TYPE_REV_MAX 6 /* skbinfo mapping support added */ |
#define | HTYPE hash_net |
#define | IP_SET_HASH_WITH_NETS |
#define | MTYPE hash_net4 |
#define | PF 4 |
#define | HOST_MASK 32 |
#define | MTYPE hash_net6 |
#define | PF 6 |
#define | HOST_MASK 128 |
#define | IP_SET_EMIT_CREATE |
Functions | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>") | |
IP_SET_MODULE_DESC ("hash:net", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX) | |
MODULE_ALIAS ("ip_set_hash:net") | |
module_init (hash_net_init) | |
module_exit (hash_net_fini) | |
#define HOST_MASK 32 |
#define HOST_MASK 128 |
#define HTYPE hash_net |
#define IP_SET_EMIT_CREATE |
#define IP_SET_HASH_WITH_NETS |
#define IPSET_TYPE_REV_MAX 6 /* skbinfo mapping support added */ |
#define IPSET_TYPE_REV_MIN 0 |
#define MTYPE hash_net4 |
#define MTYPE hash_net6 |
#define PF 4 |
#define PF 6 |
IP_SET_MODULE_DESC | ( | "hash:net" | , |
IPSET_TYPE_REV_MIN | , | ||
IPSET_TYPE_REV_MAX | |||
) |
MODULE_ALIAS | ( | "ip_set_hash:net" | ) |
MODULE_AUTHOR | ( | "Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>" | ) |
module_exit | ( | hash_net_fini | ) |
module_init | ( | hash_net_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |