#include <linux/sysctl.h>
#include <net/lwtunnel.h>
#include <net/netfilter/nf_hooks_lwtunnel.h>
#include <linux/netfilter.h>
#include "nf_internals.h"
static inline int nf_hooks_lwtunnel_get(void)
{ … }
static inline int nf_hooks_lwtunnel_set(int enable)
{ … }
#ifdef CONFIG_SYSCTL
int nf_hooks_lwtunnel_sysctl_handler(const struct ctl_table *table, int write,
void *buffer, size_t *lenp, loff_t *ppos)
{ … }
EXPORT_SYMBOL_GPL(…);
static struct ctl_table nf_lwtunnel_sysctl_table[] = …;
static int __net_init nf_lwtunnel_net_init(struct net *net)
{ … }
static void __net_exit nf_lwtunnel_net_exit(struct net *net)
{ … }
static struct pernet_operations nf_lwtunnel_net_ops = …;
int __init netfilter_lwtunnel_init(void)
{ … }
void netfilter_lwtunnel_fini(void)
{ … }
#else
int __init netfilter_lwtunnel_init(void) { return 0; }
void netfilter_lwtunnel_fini(void) {}
#endif