netfilter: nf_tables: minor nf_chain_type cleanups
[deliverable/linux.git] / net / ipv6 / netfilter / nft_chain_route_ipv6.c
index 3fe40f0456add7bd0272b25a6df05a4d34752632..b2b7effa896b5e0d63798910f76323ace27dc62d 100644 (file)
@@ -59,15 +59,15 @@ static unsigned int nf_route_table_hook(const struct nf_hook_ops *ops,
        return ret;
 }
 
-static struct nf_chain_type nft_chain_route_ipv6 = {
-       .family         = NFPROTO_IPV6,
+static const struct nf_chain_type nft_chain_route_ipv6 = {
        .name           = "route",
        .type           = NFT_CHAIN_T_ROUTE,
+       .family         = NFPROTO_IPV6,
+        .owner         = THIS_MODULE,
        .hook_mask      = (1 << NF_INET_LOCAL_OUT),
-       .fn             = {
+       .hooks          = {
                 [NF_INET_LOCAL_OUT]    = nf_route_table_hook,
         },
-        .me            = THIS_MODULE,
 };
 
 static int __init nft_chain_route_init(void)
This page took 0.025972 seconds and 5 git commands to generate.