Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ebt_vlan.c File Reference
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter_bridge/ebt_vlan.h>

Go to the source code of this file.

Macros

#define MODULE_VERS   "0.6"
 
#define GET_BITMASK(_BIT_MASK_)   info->bitmask & _BIT_MASK_
 
#define EXIT_ON_MISMATCH(_MATCH_, _MASK_)   {if (!((info->_MATCH_ == _MATCH_)^!!(info->invflags & _MASK_))) return false; }
 

Functions

 MODULE_AUTHOR ("Nick Fedchik <nick@fedchik.org.ua>")
 
 MODULE_DESCRIPTION ("Ebtables: 802.1Q VLAN tag match")
 
 MODULE_LICENSE ("GPL")
 
 module_init (ebt_vlan_init)
 
 module_exit (ebt_vlan_fini)
 

Macro Definition Documentation

#define EXIT_ON_MISMATCH (   _MATCH_,
  _MASK_ 
)    {if (!((info->_MATCH_ == _MATCH_)^!!(info->invflags & _MASK_))) return false; }

Definition at line 36 of file ebt_vlan.c.

#define GET_BITMASK (   _BIT_MASK_)    info->bitmask & _BIT_MASK_

Definition at line 35 of file ebt_vlan.c.

#define MODULE_VERS   "0.6"

Definition at line 29 of file ebt_vlan.c.

Function Documentation

MODULE_AUTHOR ( "Nick Fedchik <nick@fedchik.org.ua>"  )
MODULE_DESCRIPTION ( "Ebtables: 802.1Q VLAN tag match"  )
module_exit ( ebt_vlan_fini  )
module_init ( ebt_vlan_init  )
MODULE_LICENSE ( "GPL"  )