[NETFILTER]: {ip,ip6}_tables: remove x_tables wrapper functions
[deliverable/linux.git] / net / ipv6 / netfilter / ip6t_frag.c
index cd22eaaccdca9547a90d9679dd299d971938c795..5a5da71321b6f5f6962ece60cf52997df3e3cedc 100644 (file)
@@ -14,6 +14,7 @@
 #include <net/checksum.h>
 #include <net/ipv6.h>
 
+#include <linux/netfilter/x_tables.h>
 #include <linux/netfilter_ipv6/ip6_tables.h>
 #include <linux/netfilter_ipv6/ip6t_frag.h>
 
@@ -135,8 +136,9 @@ checkentry(const char *tablename,
        return 1;
 }
 
-static struct ip6t_match frag_match = {
+static struct xt_match frag_match = {
        .name           = "frag",
+       .family         = AF_INET6,
        .match          = match,
        .matchsize      = sizeof(struct ip6t_frag),
        .checkentry     = checkentry,
@@ -145,12 +147,12 @@ static struct ip6t_match frag_match = {
 
 static int __init ip6t_frag_init(void)
 {
-       return ip6t_register_match(&frag_match);
+       return xt_register_match(&frag_match);
 }
 
 static void __exit ip6t_frag_fini(void)
 {
-       ip6t_unregister_match(&frag_match);
+       xt_unregister_match(&frag_match);
 }
 
 module_init(ip6t_frag_init);
This page took 0.024842 seconds and 5 git commands to generate.