Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
ebt_among.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  ebt_mac_wormhash_tuple
 
struct  ebt_mac_wormhash
 
struct  ebt_among_info
 

Macros

#define EBT_AMONG_DST   0x01
 
#define EBT_AMONG_SRC   0x02
 
#define ebt_mac_wormhash_size(x)
 
#define EBT_AMONG_DST_NEG   0x1
 
#define EBT_AMONG_SRC_NEG   0x2
 
#define ebt_among_wh_dst(x)
 
#define ebt_among_wh_src(x)
 
#define EBT_AMONG_MATCH   "among"
 

Macro Definition Documentation

#define EBT_AMONG_DST   0x01

Definition at line 6 of file ebt_among.h.

#define EBT_AMONG_DST_NEG   0x1

Definition at line 54 of file ebt_among.h.

#define EBT_AMONG_MATCH   "among"

Definition at line 62 of file ebt_among.h.

#define EBT_AMONG_SRC   0x02

Definition at line 7 of file ebt_among.h.

#define EBT_AMONG_SRC_NEG   0x2

Definition at line 55 of file ebt_among.h.

#define ebt_among_wh_dst (   x)
Value:
((x)->wh_dst_ofs ? \
(struct ebt_mac_wormhash*)((char*)(x) + (x)->wh_dst_ofs) : NULL)

Definition at line 57 of file ebt_among.h.

#define ebt_among_wh_src (   x)
Value:
((x)->wh_src_ofs ? \
(struct ebt_mac_wormhash*)((char*)(x) + (x)->wh_src_ofs) : NULL)

Definition at line 59 of file ebt_among.h.

#define ebt_mac_wormhash_size (   x)
Value:
((x) ? sizeof(struct ebt_mac_wormhash) \
+ (x)->poolsize * sizeof(struct ebt_mac_wormhash_tuple) : 0)

Definition at line 45 of file ebt_among.h.