summaryrefslogtreecommitdiffstats
path: root/kernel/linux/net/bridge/netfilter/ebtable_nat.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2002-08-20 17:06:14 +0000
committerBart De Schuymer <bdschuym@pandora.be>2002-08-20 17:06:14 +0000
commitf382b8eae1527e8abab106436bb8ff54d137d6c6 (patch)
tree5ec242ea28ab74d3bd0064adcef9158fb453fc93 /kernel/linux/net/bridge/netfilter/ebtable_nat.c
parent831873ee9b24b205f74640e89b01fb137e32bf5c (diff)
cleanups
Diffstat (limited to 'kernel/linux/net/bridge/netfilter/ebtable_nat.c')
-rw-r--r--kernel/linux/net/bridge/netfilter/ebtable_nat.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/kernel/linux/net/bridge/netfilter/ebtable_nat.c b/kernel/linux/net/bridge/netfilter/ebtable_nat.c
index 348a167..f687c5a 100644
--- a/kernel/linux/net/bridge/netfilter/ebtable_nat.c
+++ b/kernel/linux/net/bridge/netfilter/ebtable_nat.c
@@ -9,8 +9,6 @@
*/
#include <linux/netfilter_bridge/ebtables.h>
-#include <linux/netfilter_bridge.h>
-#include <linux/netdevice.h>
#include <linux/module.h>
#define NAT_VALID_HOOKS ((1 << NF_BR_PRE_ROUTING) | (1 << NF_BR_LOCAL_OUT) | \
(1 << NF_BR_POST_ROUTING))
@@ -43,17 +41,15 @@ static struct ebt_table frame_nat =
};
static unsigned int
-ebt_nat_dst (unsigned int hook, struct sk_buff **pskb,
- const struct net_device *in, const struct net_device *out,
- int (*okfn)(struct sk_buff *))
+ebt_nat_dst(unsigned int hook, struct sk_buff **pskb, const struct net_device *in
+ , const struct net_device *out, int (*okfn)(struct sk_buff *))
{
return ebt_do_table(hook, pskb, in, out, &frame_nat);
}
-static unsigned int ebt_nat_src (unsigned int hook, struct sk_buff **pskb,
- const struct net_device *in,
- const struct net_device *out,
- int (*okfn)(struct sk_buff *))
+static unsigned int
+ebt_nat_src(unsigned int hook, struct sk_buff **pskb, const struct net_device *in
+ , const struct net_device *out, int (*okfn)(struct sk_buff *))
{
return ebt_do_table(hook, pskb, in, out, &frame_nat);
}