#include <linux/module.h>
#include <linux/ip.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/errno.h>
#include <linux/if_ether.h>
#include <linux/netlink.h>
#include <linux/jiffies.h>
#include <linux/timer.h>
#include <net/netlink.h>
#include <linux/netfilter/ipset/pfxlen.h>
#include <linux/netfilter/ipset/ip_set.h>
#include <linux/netfilter/ipset/ip_set_bitmap.h>
#include "ip_set_bitmap_gen.h"
Data Structures | |
struct | bitmap_ipmac |
struct | bitmap_ipmac_adt_elem |
struct | bitmap_ipmac_elem |
Macros | |
#define | IPSET_TYPE_REV_MIN 0 |
#define | IPSET_TYPE_REV_MAX 3 /* skbinfo support added */ |
#define | MTYPE bitmap_ipmac |
#define | IP_SET_BITMAP_STORED_TIMEOUT |
Enumerations | |
enum | { MAC_UNSET, MAC_FILLED } |
Functions | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>") | |
IP_SET_MODULE_DESC ("bitmap:ip,mac", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX) | |
MODULE_ALIAS ("ip_set_bitmap:ip,mac") | |
struct bitmap_ipmac_elem | __attribute__ ((aligned)) |
module_init (bitmap_ipmac_init) | |
module_exit (bitmap_ipmac_fini) | |
Variables | |
unsigned char | ether [ETH_ALEN] |
unsigned char | filled |
#define IP_SET_BITMAP_STORED_TIMEOUT |
#define IPSET_TYPE_REV_MAX 3 /* skbinfo support added */ |
#define IPSET_TYPE_REV_MIN 0 |
#define MTYPE bitmap_ipmac |
struct bitmap_ipmac_elem __attribute__ | ( | (aligned) | ) |
IP_SET_MODULE_DESC | ( | "bitmap:ip | , |
mac" | , | ||
IPSET_TYPE_REV_MIN | , | ||
IPSET_TYPE_REV_MAX | |||
) |
MODULE_ALIAS | ( | "ip_set_bitmap:ip | , |
mac" | |||
) |
MODULE_AUTHOR | ( | "Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>" | ) |
module_exit | ( | bitmap_ipmac_fini | ) |
module_init | ( | bitmap_ipmac_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
Referenced by ipset_parse_ether(), and ipset_print_ether().
unsigned char filled |