Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
ip_set_bitmap_ipmac.c File Reference
#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_timeout.h>
#include <linux/netfilter/ipset/ip_set_bitmap.h>

Go to the source code of this file.

Data Structures

struct  bitmap_ipmac
 
struct  ipmac
 
struct  ipmac_elem
 
struct  ipmac_telem
 

Macros

#define REVISION_MIN   0
 
#define REVISION_MAX   0
 

Enumerations

enum  { MAC_EMPTY, MAC_FILLED, MAC_UNSET }
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jozsef Kadlecsik <[email protected]>")
 
 IP_SET_MODULE_DESC ("bitmap:ip,mac", REVISION_MIN, REVISION_MAX)
 
 MODULE_ALIAS ("ip_set_bitmap:ip,mac")
 
struct ipmac_elem __attribute__ ((aligned))
 
 module_init (bitmap_ipmac_init)
 
 module_exit (bitmap_ipmac_fini)
 

Variables

unsigned char ether [ETH_ALEN]
 
unsigned char match
 
unsigned long timeout
 

Macro Definition Documentation

#define REVISION_MAX   0

Definition at line 30 of file ip_set_bitmap_ipmac.c.

#define REVISION_MIN   0

Definition at line 29 of file ip_set_bitmap_ipmac.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
MAC_EMPTY 
MAC_FILLED 
MAC_UNSET 

Definition at line 37 of file ip_set_bitmap_ipmac.c.

Function Documentation

IP_SET_MODULE_DESC ( "bitmap:ip  ,
mac ,
REVISION_MIN  ,
REVISION_MAX   
)
MODULE_ALIAS ( "ip_set_bitmap:ip  ,
mac  
)
MODULE_AUTHOR ( "Jozsef Kadlecsik <[email protected]>"  )
module_exit ( bitmap_ipmac_fini  )
module_init ( bitmap_ipmac_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

unsigned char ether

Definition at line 65 of file ip_set_bitmap_ipmac.c.

unsigned char match

Definition at line 66 of file ip_set_bitmap_ipmac.c.

unsigned long timeout

Definition at line 73 of file ip_set_bitmap_ipmac.c.