diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-09-16 21:06:14 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-09-16 21:06:14 +0000 |
commit | 5c76206c0af8fabfd805fb5a696c5de60c1018df (patch) | |
tree | 30301e7fc7c4d4a97fb13370eebe0fed8dd9ae89 /kernel/linux/net/bridge/br.c | |
parent | 02a235b3821e03b751bd9617027b40c6859adabf (diff) |
cleanup brouter interface
Diffstat (limited to 'kernel/linux/net/bridge/br.c')
-rw-r--r-- | kernel/linux/net/bridge/br.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/kernel/linux/net/bridge/br.c b/kernel/linux/net/bridge/br.c index c1fc9da..1c7b938 100644 --- a/kernel/linux/net/bridge/br.c +++ b/kernel/linux/net/bridge/br.c @@ -5,7 +5,7 @@ * Authors: * Lennert Buytenhek <buytenh@gnu.org> * - * $Id: br.c,v 1.3 2002/08/29 21:23:19 bdschuym Exp $ + * $Id: br.c,v 1.4 2002/09/16 21:10:43 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,12 +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); -#else -EXPORT_NO_SYMBOLS; -#endif +EXPORT_SYMBOL(br_should_route_hook); module_init(br_init) module_exit(br_deinit) |