#define pr_fmt(fmt) …
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/skbuff.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_CT.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_l4proto.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <net/netfilter/nf_conntrack_ecache.h>
#include <net/netfilter/nf_conntrack_timeout.h>
#include <net/netfilter/nf_conntrack_zones.h>
static inline int xt_ct_target(struct sk_buff *skb, struct nf_conn *ct)
{ … }
static unsigned int xt_ct_target_v0(struct sk_buff *skb,
const struct xt_action_param *par)
{ … }
static unsigned int xt_ct_target_v1(struct sk_buff *skb,
const struct xt_action_param *par)
{ … }
static u8 xt_ct_find_proto(const struct xt_tgchk_param *par)
{ … }
static int
xt_ct_set_helper(struct nf_conn *ct, const char *helper_name,
const struct xt_tgchk_param *par)
{ … }
static int
xt_ct_set_timeout(struct nf_conn *ct, const struct xt_tgchk_param *par,
const char *timeout_name)
{ … }
static u16 xt_ct_flags_to_dir(const struct xt_ct_target_info_v1 *info)
{ … }
static void xt_ct_put_helper(struct nf_conn_help *help)
{ … }
static int xt_ct_tg_check(const struct xt_tgchk_param *par,
struct xt_ct_target_info_v1 *info)
{ … }
static int xt_ct_tg_check_v0(const struct xt_tgchk_param *par)
{ … }
static int xt_ct_tg_check_v1(const struct xt_tgchk_param *par)
{ … }
static int xt_ct_tg_check_v2(const struct xt_tgchk_param *par)
{ … }
static void xt_ct_tg_destroy(const struct xt_tgdtor_param *par,
struct xt_ct_target_info_v1 *info)
{ … }
static void xt_ct_tg_destroy_v0(const struct xt_tgdtor_param *par)
{ … }
static void xt_ct_tg_destroy_v1(const struct xt_tgdtor_param *par)
{ … }
static struct xt_target xt_ct_tg_reg[] __read_mostly = …;
static unsigned int
notrack_tg(struct sk_buff *skb, const struct xt_action_param *par)
{ … }
static struct xt_target notrack_tg_reg __read_mostly = …;
static int __init xt_ct_tg_init(void)
{ … }
static void __exit xt_ct_tg_exit(void)
{ … }
module_init(…) …;
module_exit(xt_ct_tg_exit);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;