Linux Kernel
3.7.1
|
#include <uapi/linux/netfilter_bridge/ebtables.h>
Go to the source code of this file.
Data Structures | |
struct | ebt_match |
struct | ebt_watcher |
struct | ebt_target |
struct | ebt_chainstack |
struct | ebt_table_info |
struct | ebt_table |
Macros | |
#define | EBT_MATCH 0 |
#define | EBT_NOMATCH 1 |
#define | EBT_ALIGN(s) |
#define | FWINV(bool, invflg) ((bool) ^ !!(info->invflags & invflg)) |
#define | BASE_CHAIN (par->hook_mask & (1 << NF_BR_NUMHOOKS)) |
#define | CLEAR_BASE_CHAIN_BIT (par->hook_mask &= ~(1 << NF_BR_NUMHOOKS)) |
#define | INVALID_TARGET (info->target < -NUM_STANDARD_TARGETS || info->target >= 0) |
Functions | |
struct ebt_table * | ebt_register_table (struct net *net, const struct ebt_table *table) |
void | ebt_unregister_table (struct net *net, struct ebt_table *table) |
unsigned int | ebt_do_table (unsigned int hook, struct sk_buff *skb, const struct net_device *in, const struct net_device *out, struct ebt_table *table) |
#define BASE_CHAIN (par->hook_mask & (1 << NF_BR_NUMHOOKS)) |
Definition at line 121 of file ebtables.h.
#define CLEAR_BASE_CHAIN_BIT (par->hook_mask &= ~(1 << NF_BR_NUMHOOKS)) |
Definition at line 123 of file ebtables.h.
#define EBT_ALIGN | ( | s | ) |
Definition at line 108 of file ebtables.h.
#define EBT_MATCH 0 |
Definition at line 19 of file ebtables.h.
#define EBT_NOMATCH 1 |
Definition at line 20 of file ebtables.h.
Definition at line 118 of file ebtables.h.
#define INVALID_TARGET (info->target < -NUM_STANDARD_TARGETS || info->target >= 0) |
Definition at line 125 of file ebtables.h.
unsigned int ebt_do_table | ( | unsigned int | hook, |
struct sk_buff * | skb, | ||
const struct net_device * | in, | ||
const struct net_device * | out, | ||
struct ebt_table * | table | ||
) |
Definition at line 185 of file ebtables.c.
Definition at line 1143 of file ebtables.c.