Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 159371 | Differences between
and this patch

Collapse All | Expand All

(-)include/linux/netfilter_bridge.h.orig (-12 / +12 lines)
Lines 1-18 Link Here
1
#ifndef __LINUX_BRIDGE_NETFILTER_H
1
#ifndef __LINUX_BRIDGE_NETFILTER_H
2
#define __LINUX_BRIDGE_NETFILTER_H
2
#define __LINUX_BRIDGE_NETFILTER_H
3
3
4
/* bridge-specific defines for netfilter. 
5
 */
6
7
#include <linux/config.h>
8
#include <linux/netfilter.h>
9
#if defined(__KERNEL__) && defined(CONFIG_BRIDGE_NETFILTER)
10
#include <asm/atomic.h>
11
#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
12
#include <linux/if_ether.h>
13
#endif
14
#endif
15
16
/* Bridge Hooks */
4
/* Bridge Hooks */
17
/* After promisc drops, checksum checks. */
5
/* After promisc drops, checksum checks. */
18
#define NF_BR_PRE_ROUTING	0
6
#define NF_BR_PRE_ROUTING	0
Lines 30-35 Link Here
30
18
31
#ifdef __KERNEL__
19
#ifdef __KERNEL__
32
20
21
/* bridge-specific defines for netfilter. 
22
 */
23
24
#include <linux/config.h>
25
#include <linux/netfilter.h>
26
#ifdef CONFIG_BRIDGE_NETFILTER
27
#include <asm/atomic.h>
28
#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
29
#include <linux/if_ether.h>
30
#endif
31
#endif
32
33
enum nf_br_hook_priorities {
33
enum nf_br_hook_priorities {
34
	NF_BR_PRI_FIRST = INT_MIN,
34
	NF_BR_PRI_FIRST = INT_MIN,
35
	NF_BR_PRI_NAT_DST_BRIDGED = -300,
35
	NF_BR_PRI_NAT_DST_BRIDGED = -300,

Return to bug 159371