aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-10-08 05:35:17 -0400
committerPatrick McHardy <kaber@trash.net>2008-10-08 05:35:17 -0400
commit367c679007fa4f990eb7ee381326ec59d8148b0e (patch)
treea543f22332eba9ef972ed8ea6e66448921671ef7 /include
parent147c3844ad381b58715a6ee2ea697594e3c06284 (diff)
netfilter: xtables: do centralized checkentry call (1/2)
It used to be that {ip,ip6,etc}_tables called extension->checkentry themselves, but this can be moved into the xtables core. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/x_tables.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index 6989b22716e6..85aa42785a5e 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -330,10 +330,12 @@ extern void xt_unregister_matches(struct xt_match *match, unsigned int n);
330 330
331extern int xt_check_match(const struct xt_match *match, unsigned short family, 331extern int xt_check_match(const struct xt_match *match, unsigned short family,
332 unsigned int size, const char *table, unsigned int hook, 332 unsigned int size, const char *table, unsigned int hook,
333 unsigned short proto, int inv_proto); 333 unsigned short proto, int inv_proto,
334 const void *entry, void *matchinfo);
334extern int xt_check_target(const struct xt_target *target, unsigned short family, 335extern int xt_check_target(const struct xt_target *target, unsigned short family,
335 unsigned int size, const char *table, unsigned int hook, 336 unsigned int size, const char *table, unsigned int hook,
336 unsigned short proto, int inv_proto); 337 unsigned short proto, int inv_proto,
338 const void *entry, void *targinfo);
337 339
338extern struct xt_table *xt_register_table(struct net *net, 340extern struct xt_table *xt_register_table(struct net *net,
339 struct xt_table *table, 341 struct xt_table *table,