#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_netnet4_elem |
| struct | hash_netnet6_elem |
Macros | |
| #define | IPSET_TYPE_REV_MIN 0 |
| #define | IPSET_TYPE_REV_MAX 2 /* skbinfo support added */ |
| #define | HTYPE hash_netnet |
| #define | IP_SET_HASH_WITH_NETS |
| #define | IPSET_NET_COUNT 2 |
| #define | MTYPE hash_netnet4 |
| #define | PF 4 |
| #define | HOST_MASK 32 |
| #define | MTYPE hash_netnet6 |
| #define | PF 6 |
| #define | HOST_MASK 128 |
| #define | IP_SET_EMIT_CREATE |
Functions | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>") | |
| IP_SET_MODULE_DESC ("hash:net,net", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX) | |
| MODULE_ALIAS ("ip_set_hash:net,net") | |
| module_init (hash_netnet_init) | |
| module_exit (hash_netnet_fini) | |
| #define HOST_MASK 32 |
| #define HOST_MASK 128 |
| #define HTYPE hash_netnet |
| #define IP_SET_EMIT_CREATE |
| #define IP_SET_HASH_WITH_NETS |
| #define IPSET_NET_COUNT 2 |
| #define IPSET_TYPE_REV_MAX 2 /* skbinfo support added */ |
| #define IPSET_TYPE_REV_MIN 0 |
| #define MTYPE hash_netnet4 |
| #define MTYPE hash_netnet6 |
| #define PF 4 |
| #define PF 6 |
| IP_SET_MODULE_DESC | ( | "hash:net | , |
| net" | , | ||
| IPSET_TYPE_REV_MIN | , | ||
| IPSET_TYPE_REV_MAX | |||
| ) |
| MODULE_ALIAS | ( | "ip_set_hash:net | , |
| net" | |||
| ) |
| MODULE_AUTHOR | ( | "Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>" | ) |
| module_exit | ( | hash_netnet_fini | ) |
| module_init | ( | hash_netnet_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |