linux/net/netfilter/xt_AUDIT.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Creates audit record for dropped/accepted packets
 *
 * (C) 2010-2011 Thomas Graf <[email protected]>
 * (C) 2010-2011 Red Hat, Inc.
*/

#define pr_fmt(fmt)

#include <linux/audit.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/if_arp.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_AUDIT.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <net/ipv6.h>
#include <net/ip.h>

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

static bool audit_ip4(struct audit_buffer *ab, struct sk_buff *skb)
{}

static bool audit_ip6(struct audit_buffer *ab, struct sk_buff *skb)
{}

static unsigned int
audit_tg(struct sk_buff *skb, const struct xt_action_param *par)
{}

static unsigned int
audit_tg_ebt(struct sk_buff *skb, const struct xt_action_param *par)
{}

static int audit_tg_check(const struct xt_tgchk_param *par)
{}

static struct xt_target audit_tg_reg[] __read_mostly =;

static int __init audit_tg_init(void)
{}

static void __exit audit_tg_exit(void)
{}

module_init();
module_exit(audit_tg_exit);