summaryrefslogtreecommitdiffstats
path: root/kernel/linux2.5/net/bridge/br.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-09-16 19:50:06 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-09-16 19:50:06 +0000
commit009d0d0a8b8306847c3b287b978b0d3130ec2451 (patch)
treeb0960d3330ae60ccd0dd016750e62de91d744b0d /kernel/linux2.5/net/bridge/br.c
parentc84b4fc244292e65c85ce3651556871788c2e2ab (diff)
cleanup brouter interface + upgrade to 2.5.35
Diffstat (limited to 'kernel/linux2.5/net/bridge/br.c')
-rw-r--r--kernel/linux2.5/net/bridge/br.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/kernel/linux2.5/net/bridge/br.c b/kernel/linux2.5/net/bridge/br.c
index 02d9c47..1222e3d 100644
--- a/kernel/linux2.5/net/bridge/br.c
+++ b/kernel/linux2.5/net/bridge/br.c
@@ -5,7 +5,7 @@
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
- * $Id: br.c,v 1.1 2002/08/23 20:01:53 bdschuym Exp $
+ * $Id: br.c,v 1.2 2002/09/16 19:50:06 bdschuym Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -28,13 +28,7 @@
#include "../atm/lec.h"
#endif
-#if defined(CONFIG_BRIDGE_EBT_BROUTE) || \
- defined(CONFIG_BRIDGE_EBT_BROUTE_MODULE)
-unsigned int (*broute_decision) (unsigned int hook, struct sk_buff **pskb,
- const struct net_device *in,
- const struct net_device *out,
- int (*okfn)(struct sk_buff *)) = NULL;
-#endif
+int (*br_should_route_hook) (struct sk_buff **pskb) = NULL;
void br_dec_use_count()
{
@@ -82,10 +76,7 @@ static void __exit br_deinit(void)
#endif
}
-#if defined(CONFIG_BRIDGE_EBT_BROUTE) || \
- defined(CONFIG_BRIDGE_EBT_BROUTE_MODULE)
-EXPORT_SYMBOL(broute_decision);
-#endif
+EXPORT_SYMBOL(br_should_route_hook);
module_init(br_init)
module_exit(br_deinit)