diff options
Diffstat (limited to '9/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_connbytes.h')
-rw-r--r-- | 9/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_connbytes.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/9/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_connbytes.h b/9/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_connbytes.h new file mode 100644 index 0000000..16d1610 --- /dev/null +++ b/9/platforms/android-21/arch-arm/usr/include/linux/netfilter/xt_connbytes.h @@ -0,0 +1,45 @@ +/**************************************************************************** + **************************************************************************** + *** + *** 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_CONNBYTES_H +#define _XT_CONNBYTES_H +#include <linux/types.h> +enum xt_connbytes_what { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + XT_CONNBYTES_PKTS, + XT_CONNBYTES_BYTES, + XT_CONNBYTES_AVGPKT, +}; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +enum xt_connbytes_direction { + XT_CONNBYTES_DIR_ORIGINAL, + XT_CONNBYTES_DIR_REPLY, + XT_CONNBYTES_DIR_BOTH, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +}; +struct xt_connbytes_info { + struct { + __aligned_u64 from; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __aligned_u64 to; + } count; + __u8 what; + __u8 direction; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +}; +#endif |