summaryrefslogtreecommitdiff
path: root/mainline/runtime/sdk/android/arm64/include/bionic/libc/kernel/uapi/linux/netfilter/xt_u32.h
blob: 1af1748420215d800ace6c188c1e0d6228c1be65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * This file is auto-generated. Modifications will be lost.
 *
 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
 * for more information.
 */
#ifndef _XT_U32_H
#define _XT_U32_H 1
#include <linux/types.h>
enum xt_u32_ops {
  XT_U32_AND,
  XT_U32_LEFTSH,
  XT_U32_RIGHTSH,
  XT_U32_AT,
};
struct xt_u32_location_element {
  __u32 number;
  __u8 nextop;
};
struct xt_u32_value_element {
  __u32 min;
  __u32 max;
};
#define XT_U32_MAXSIZE 10
struct xt_u32_test {
  struct xt_u32_location_element location[XT_U32_MAXSIZE + 1];
  struct xt_u32_value_element value[XT_U32_MAXSIZE + 1];
  __u8 nnums;
  __u8 nvalues;
};
struct xt_u32 {
  struct xt_u32_test tests[XT_U32_MAXSIZE + 1];
  __u8 ntests;
  __u8 invert;
};
#endif