linux/net/netfilter/nft_reject.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2008-2009 Patrick McHardy <[email protected]>
 * Copyright (c) 2013 Eric Leblond <[email protected]>
 *
 * Development of this code funded by Astaro AG (http://www.astaro.com/)
 */

#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/nft_reject.h>
#include <linux/icmp.h>
#include <linux/icmpv6.h>

const struct nla_policy nft_reject_policy[NFTA_REJECT_MAX + 1] =;
EXPORT_SYMBOL_GPL();

int nft_reject_validate(const struct nft_ctx *ctx,
			const struct nft_expr *expr,
			const struct nft_data **data)
{}
EXPORT_SYMBOL_GPL();

int nft_reject_init(const struct nft_ctx *ctx,
		    const struct nft_expr *expr,
		    const struct nlattr * const tb[])
{}
EXPORT_SYMBOL_GPL();

int nft_reject_dump(struct sk_buff *skb,
		    const struct nft_expr *expr, bool reset)
{}
EXPORT_SYMBOL_GPL();

static u8 icmp_code_v4[NFT_REJECT_ICMPX_MAX + 1] =;

int nft_reject_icmp_code(u8 code)
{}

EXPORT_SYMBOL_GPL();


static u8 icmp_code_v6[NFT_REJECT_ICMPX_MAX + 1] =;

int nft_reject_icmpv6_code(u8 code)
{}

EXPORT_SYMBOL_GPL();

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