linux/net/ipv6/netfilter/ip6table_mangle.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * IPv6 packet mangling table, a port of the IPv4 mangle table to IPv6
 *
 * Copyright (C) 2000-2001 by Harald Welte <[email protected]>
 * Copyright (C) 2000-2004 Netfilter Core Team <[email protected]>
 */
#include <linux/module.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <linux/slab.h>
#include <net/ipv6.h>

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

#define MANGLE_VALID_HOOKS

static const struct xt_table packet_mangler =;

static unsigned int
ip6t_mangle_out(void *priv, struct sk_buff *skb, const struct nf_hook_state *state)
{}

/* The work comes in here from netfilter.c. */
static unsigned int
ip6table_mangle_hook(void *priv, struct sk_buff *skb,
		     const struct nf_hook_state *state)
{}

static struct nf_hook_ops *mangle_ops __read_mostly;
static int ip6table_mangle_table_init(struct net *net)
{}

static void __net_exit ip6table_mangle_net_pre_exit(struct net *net)
{}

static void __net_exit ip6table_mangle_net_exit(struct net *net)
{}

static struct pernet_operations ip6table_mangle_net_ops =;

static int __init ip6table_mangle_init(void)
{}

static void __exit ip6table_mangle_fini(void)
{}

module_init();
module_exit(ip6table_mangle_fini);