diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-04-14 05:15:43 -0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-14 05:15:43 -0400 |
commit | 4abff0775d5e4feb20b21371e1c63a1b30fc2140 (patch) | |
tree | cba00aea0e9f9c8a3daf099c7ebc95de6b14f0f3 /include | |
parent | 72b72949db9aabaafd791a9077f02188a866824d (diff) |
[NETFILTER]: remove arpt_table indirection macro
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_arp/arp_tables.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h index db223ca92c8b..102c4134a713 100644 --- a/include/linux/netfilter_arp/arp_tables.h +++ b/include/linux/netfilter_arp/arp_tables.h | |||
@@ -24,7 +24,6 @@ | |||
24 | #define ARPT_FUNCTION_MAXNAMELEN XT_FUNCTION_MAXNAMELEN | 24 | #define ARPT_FUNCTION_MAXNAMELEN XT_FUNCTION_MAXNAMELEN |
25 | #define ARPT_TABLE_MAXNAMELEN XT_TABLE_MAXNAMELEN | 25 | #define ARPT_TABLE_MAXNAMELEN XT_TABLE_MAXNAMELEN |
26 | #define arpt_target xt_target | 26 | #define arpt_target xt_target |
27 | #define arpt_table xt_table | ||
28 | 27 | ||
29 | #define ARPT_DEV_ADDR_LEN_MAX 16 | 28 | #define ARPT_DEV_ADDR_LEN_MAX 16 |
30 | 29 | ||
@@ -271,15 +270,15 @@ struct arpt_error | |||
271 | xt_register_target(tgt); }) | 270 | xt_register_target(tgt); }) |
272 | #define arpt_unregister_target(tgt) xt_unregister_target(tgt) | 271 | #define arpt_unregister_target(tgt) xt_unregister_target(tgt) |
273 | 272 | ||
274 | extern struct arpt_table *arpt_register_table(struct net *net, | 273 | extern struct xt_table *arpt_register_table(struct net *net, |
275 | struct arpt_table *table, | 274 | struct xt_table *table, |
276 | const struct arpt_replace *repl); | 275 | const struct arpt_replace *repl); |
277 | extern void arpt_unregister_table(struct arpt_table *table); | 276 | extern void arpt_unregister_table(struct xt_table *table); |
278 | extern unsigned int arpt_do_table(struct sk_buff *skb, | 277 | extern unsigned int arpt_do_table(struct sk_buff *skb, |
279 | unsigned int hook, | 278 | unsigned int hook, |
280 | const struct net_device *in, | 279 | const struct net_device *in, |
281 | const struct net_device *out, | 280 | const struct net_device *out, |
282 | struct arpt_table *table); | 281 | struct xt_table *table); |
283 | 282 | ||
284 | #define ARPT_ALIGN(s) XT_ALIGN(s) | 283 | #define ARPT_ALIGN(s) XT_ALIGN(s) |
285 | 284 | ||