1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _XT_U32_H
20#define _XT_U32_H 1
21#include <linux/types.h>
22enum xt_u32_ops {
23  XT_U32_AND,
24  XT_U32_LEFTSH,
25  XT_U32_RIGHTSH,
26  XT_U32_AT,
27};
28struct xt_u32_location_element {
29  __u32 number;
30  __u8 nextop;
31};
32struct xt_u32_value_element {
33  __u32 min;
34  __u32 max;
35};
36#define XT_U32_MAXSIZE 10
37struct xt_u32_test {
38  struct xt_u32_location_element location[XT_U32_MAXSIZE + 1];
39  struct xt_u32_value_element value[XT_U32_MAXSIZE + 1];
40  __u8 nnums;
41  __u8 nvalues;
42};
43struct xt_u32 {
44  struct xt_u32_test tests[XT_U32_MAXSIZE + 1];
45  __u8 ntests;
46  __u8 invert;
47};
48#endif
49