Home | History | Annotate | Download | only in netfilter
      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2 /*
      3  * Header file for iptables xt_AUDIT target
      4  *
      5  * (C) 2010-2011 Thomas Graf <tgraf (at) 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 
     18 enum {
     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 
     27 struct xt_audit_info {
     28 	__u8 type; /* XT_AUDIT_TYPE_* */
     29 };
     30 
     31 #endif /* _XT_AUDIT_TARGET_H */
     32