linux/net/ipv4/netfilter/nft_dup_ipv4.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2015 Pablo Neira Ayuso <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/netlink.h>
#include <linux/netfilter.h>
#include <linux/netfilter/nf_tables.h>
#include <net/netfilter/nf_tables.h>
#include <net/netfilter/ipv4/nf_dup_ipv4.h>

struct nft_dup_ipv4 {};

static void nft_dup_ipv4_eval(const struct nft_expr *expr,
			      struct nft_regs *regs,
			      const struct nft_pktinfo *pkt)
{}

static int nft_dup_ipv4_init(const struct nft_ctx *ctx,
			     const struct nft_expr *expr,
			     const struct nlattr * const tb[])
{}

static int nft_dup_ipv4_dump(struct sk_buff *skb,
			     const struct nft_expr *expr, bool reset)
{}

static struct nft_expr_type nft_dup_ipv4_type;
static const struct nft_expr_ops nft_dup_ipv4_ops =;

static const struct nla_policy nft_dup_ipv4_policy[NFTA_DUP_MAX + 1] =;

static struct nft_expr_type nft_dup_ipv4_type __read_mostly =;

static int __init nft_dup_ipv4_module_init(void)
{}

static void __exit nft_dup_ipv4_module_exit(void)
{}

module_init();
module_exit(nft_dup_ipv4_module_exit);

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