diff options
Diffstat (limited to '9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_recent.h')
-rw-r--r-- | 9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_recent.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_recent.h b/9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_recent.h new file mode 100644 index 0000000..2ad685f --- /dev/null +++ b/9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_recent.h @@ -0,0 +1,60 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _LINUX_NETFILTER_XT_RECENT_H +#define _LINUX_NETFILTER_XT_RECENT_H 1 +#include <linux/types.h> +enum { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + XT_RECENT_CHECK = 1 << 0, + XT_RECENT_SET = 1 << 1, + XT_RECENT_UPDATE = 1 << 2, + XT_RECENT_REMOVE = 1 << 3, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + XT_RECENT_TTL = 1 << 4, + XT_RECENT_REAP = 1 << 5, + XT_RECENT_SOURCE = 0, + XT_RECENT_DEST = 1, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + XT_RECENT_NAME_LEN = 200, +}; +#define XT_RECENT_MODIFIERS (XT_RECENT_TTL|XT_RECENT_REAP) +#define XT_RECENT_VALID_FLAGS (XT_RECENT_CHECK|XT_RECENT_SET|XT_RECENT_UPDATE| XT_RECENT_REMOVE|XT_RECENT_TTL|XT_RECENT_REAP) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct xt_recent_mtinfo { + __u32 seconds; + __u32 hit_count; + __u8 check_set; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __u8 invert; + char name[XT_RECENT_NAME_LEN]; + __u8 side; +}; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct xt_recent_mtinfo_v1 { + __u32 seconds; + __u32 hit_count; + __u8 check_set; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __u8 invert; + char name[XT_RECENT_NAME_LEN]; + __u8 side; + union nf_inet_addr mask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +}; +#endif |