diff options
Diffstat (limited to '9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_ipvs.h')
-rw-r--r-- | 9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_ipvs.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_ipvs.h b/9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_ipvs.h new file mode 100644 index 0000000..4a03df2 --- /dev/null +++ b/9/platforms/android-21/arch-x86/usr/include/linux/netfilter/xt_ipvs.h @@ -0,0 +1,48 @@ +/**************************************************************************** + **************************************************************************** + *** + *** 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 _XT_IPVS_H +#define _XT_IPVS_H +#include <linux/types.h> +enum { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + XT_IPVS_IPVS_PROPERTY = 1 << 0, + XT_IPVS_PROTO = 1 << 1, + XT_IPVS_VADDR = 1 << 2, + XT_IPVS_VPORT = 1 << 3, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + XT_IPVS_DIR = 1 << 4, + XT_IPVS_METHOD = 1 << 5, + XT_IPVS_VPORTCTL = 1 << 6, + XT_IPVS_MASK = (1 << 7) - 1, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + XT_IPVS_ONCE_MASK = XT_IPVS_MASK & ~XT_IPVS_IPVS_PROPERTY +}; +struct xt_ipvs_mtinfo { + union nf_inet_addr vaddr, vmask; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __be16 vport; + __u8 l4proto; + __u8 fwd_method; + __be16 vportctl; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __u8 invert; + __u8 bitmask; +}; +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |