Blame include/linux/netfilter_bridge.h
|
Packit |
7b22a4 |
#ifndef __LINUX_BRIDGE_NETFILTER_H
|
|
Packit |
7b22a4 |
#define __LINUX_BRIDGE_NETFILTER_H
|
|
Packit |
7b22a4 |
|
|
Packit |
7b22a4 |
/* bridge-specific defines for netfilter.
|
|
Packit |
7b22a4 |
*/
|
|
Packit |
7b22a4 |
#include <limits.h>
|
|
Packit |
7b22a4 |
|
|
Packit |
7b22a4 |
/* Bridge Hooks */
|
|
Packit |
7b22a4 |
/* After promisc drops, checksum checks. */
|
|
Packit |
7b22a4 |
#define NF_BR_PRE_ROUTING 0
|
|
Packit |
7b22a4 |
/* If the packet is destined for this box. */
|
|
Packit |
7b22a4 |
#define NF_BR_LOCAL_IN 1
|
|
Packit |
7b22a4 |
/* If the packet is destined for another interface. */
|
|
Packit |
7b22a4 |
#define NF_BR_FORWARD 2
|
|
Packit |
7b22a4 |
/* Packets coming from a local process. */
|
|
Packit |
7b22a4 |
#define NF_BR_LOCAL_OUT 3
|
|
Packit |
7b22a4 |
/* Packets about to hit the wire. */
|
|
Packit |
7b22a4 |
#define NF_BR_POST_ROUTING 4
|
|
Packit |
7b22a4 |
/* Not really a hook, but used for the ebtables broute table */
|
|
Packit |
7b22a4 |
#define NF_BR_BROUTING 5
|
|
Packit |
7b22a4 |
#define NF_BR_NUMHOOKS 6
|
|
Packit |
7b22a4 |
|
|
Packit |
7b22a4 |
enum nf_br_hook_priorities {
|
|
Packit |
7b22a4 |
NF_BR_PRI_FIRST = INT_MIN,
|
|
Packit |
7b22a4 |
NF_BR_PRI_FILTER_BRIDGED = -200,
|
|
Packit |
7b22a4 |
NF_BR_PRI_FILTER_OTHER = 200,
|
|
Packit |
7b22a4 |
NF_BR_PRI_NAT_DST_BRIDGED = -300,
|
|
Packit |
7b22a4 |
NF_BR_PRI_NAT_DST_OTHER = 100,
|
|
Packit |
7b22a4 |
NF_BR_PRI_NAT_SRC = 300,
|
|
Packit |
7b22a4 |
NF_BR_PRI_LAST = INT_MAX,
|
|
Packit |
7b22a4 |
};
|
|
Packit |
7b22a4 |
|
|
Packit |
7b22a4 |
#endif
|