• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Header file for iptables xt_AUDIT target
3  *
4  * (C) 2010-2011 Thomas Graf <tgraf@redhat.com>
5  * (C) 2010-2011 Red Hat, Inc.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11 
12 #ifndef _XT_AUDIT_TARGET_H
13 #define _XT_AUDIT_TARGET_H
14 
15 #include <linux/types.h>
16 
17 enum {
18 	XT_AUDIT_TYPE_ACCEPT = 0,
19 	XT_AUDIT_TYPE_DROP,
20 	XT_AUDIT_TYPE_REJECT,
21 	__XT_AUDIT_TYPE_MAX,
22 };
23 
24 #define XT_AUDIT_TYPE_MAX (__XT_AUDIT_TYPE_MAX - 1)
25 
26 struct xt_audit_info {
27 	__u8 type; /* XT_AUDIT_TYPE_* */
28 };
29 
30 #endif /* _XT_AUDIT_TARGET_H */
31