linux/net/netfilter/nf_conntrack_amanda.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* Amanda extension for IP connection tracking
 *
 * (C) 2002 by Brian J. Murrell <[email protected]>
 * based on HW's ip_conntrack_irc.c as well as other modules
 * (C) 2006 Patrick McHardy <[email protected]>
 */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/textsearch.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/udp.h>
#include <linux/netfilter.h>
#include <linux/gfp.h>

#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_expect.h>
#include <net/netfilter/nf_conntrack_ecache.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <linux/netfilter/nf_conntrack_amanda.h>

static unsigned int master_timeout __read_mostly =;
static char *ts_algo =;

#define HELPER_NAME

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();
MODULE_ALIAS_NFCT_HELPER();

module_param(master_timeout, uint, 0600);
MODULE_PARM_DESC();
module_param(ts_algo, charp, 0400);
MODULE_PARM_DESC();

unsigned int (*nf_nat_amanda_hook)(struct sk_buff *skb,
				   enum ip_conntrack_info ctinfo,
				   unsigned int protoff,
				   unsigned int matchoff,
				   unsigned int matchlen,
				   struct nf_conntrack_expect *exp)
				   __read_mostly;
EXPORT_SYMBOL_GPL();

enum amanda_strings {};

static struct {} search[] __read_mostly =;

static int amanda_help(struct sk_buff *skb,
		       unsigned int protoff,
		       struct nf_conn *ct,
		       enum ip_conntrack_info ctinfo)
{}

static const struct nf_conntrack_expect_policy amanda_exp_policy =;

static struct nf_conntrack_helper amanda_helper[2] __read_mostly =;

static void __exit nf_conntrack_amanda_fini(void)
{}

static int __init nf_conntrack_amanda_init(void)
{}

module_init();
module_exit(nf_conntrack_amanda_fini);