linux/net/ipv6/netfilter/ip6table_filter.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x.
 *
 * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling
 * Copyright (C) 2000-2004 Netfilter Core Team <[email protected]>
 */

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/slab.h>

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();

#define FILTER_VALID_HOOKS

static const struct xt_table packet_filter =;

static struct nf_hook_ops *filter_ops __read_mostly;

/* Default to forward because I got too much mail already. */
static bool forward =;
module_param(forward, bool, 0000);

static int ip6table_filter_table_init(struct net *net)
{}

static int __net_init ip6table_filter_net_init(struct net *net)
{}

static void __net_exit ip6table_filter_net_pre_exit(struct net *net)
{}

static void __net_exit ip6table_filter_net_exit(struct net *net)
{}

static struct pernet_operations ip6table_filter_net_ops =;

static int __init ip6table_filter_init(void)
{}

static void __exit ip6table_filter_fini(void)
{}

module_init();
module_exit(ip6table_filter_fini);