blob: 1b314e2f84ac727397fa5bc167cae33e5203c82b [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Ben Cheng30692c62013-10-15 18:26:18 -07002/*
3 * Header file for iptables xt_AUDIT target
4 *
5 * (C) 2010-2011 Thomas Graf <tgraf@redhat.com>
6 * (C) 2010-2011 Red Hat, Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13#ifndef _XT_AUDIT_TARGET_H
14#define _XT_AUDIT_TARGET_H
15
16#include <linux/types.h>
17
18enum {
19 XT_AUDIT_TYPE_ACCEPT = 0,
20 XT_AUDIT_TYPE_DROP,
21 XT_AUDIT_TYPE_REJECT,
22 __XT_AUDIT_TYPE_MAX,
23};
24
25#define XT_AUDIT_TYPE_MAX (__XT_AUDIT_TYPE_MAX - 1)
26
27struct xt_audit_info {
28 __u8 type; /* XT_AUDIT_TYPE_* */
29};
30
31#endif /* _XT_AUDIT_TARGET_H */