linux/net/netfilter/nft_fib.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *
 * Generic part shared by ipv4 and ipv6 backends.
 */

#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_core.h>
#include <net/netfilter/nf_tables.h>
#include <net/netfilter/nft_fib.h>

#define NFTA_FIB_F_ALL

const struct nla_policy nft_fib_policy[NFTA_FIB_MAX + 1] =;
EXPORT_SYMBOL();

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

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

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

void nft_fib_store_result(void *reg, const struct nft_fib *priv,
			  const struct net_device *dev)
{}
EXPORT_SYMBOL_GPL();

bool nft_fib_reduce(struct nft_regs_track *track,
		    const struct nft_expr *expr)
{}
EXPORT_SYMBOL_GPL();

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