blob: 514519b47651fc446268e708f76fc4fb8dab45e9 [file] [log] [blame]
Ben Cheng30692c62013-10-15 18:26:18 -07001#ifndef _UAPI__LINUX_BRIDGE_NETFILTER_H
2#define _UAPI__LINUX_BRIDGE_NETFILTER_H
3
4/* bridge-specific defines for netfilter.
5 */
6
Christopher Ferrisccfaccd2016-08-24 12:11:31 -07007#include <linux/in.h>
Ben Cheng30692c62013-10-15 18:26:18 -07008#include <linux/netfilter.h>
9#include <linux/if_ether.h>
10#include <linux/if_vlan.h>
11#include <linux/if_pppox.h>
12
13/* Bridge Hooks */
14/* After promisc drops, checksum checks. */
15#define NF_BR_PRE_ROUTING 0
16/* If the packet is destined for this box. */
17#define NF_BR_LOCAL_IN 1
18/* If the packet is destined for another interface. */
19#define NF_BR_FORWARD 2
20/* Packets coming from a local process. */
21#define NF_BR_LOCAL_OUT 3
22/* Packets about to hit the wire. */
23#define NF_BR_POST_ROUTING 4
24/* Not really a hook, but used for the ebtables broute table */
25#define NF_BR_BROUTING 5
26#define NF_BR_NUMHOOKS 6
27
28#endif /* _UAPI__LINUX_BRIDGE_NETFILTER_H */