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 __UAPI_TC_CT_H
20 #define __UAPI_TC_CT_H
21 #include <linux/types.h>
22 #include <linux/pkt_cls.h>
23 enum {
24   TCA_CT_UNSPEC,
25   TCA_CT_PARMS,
26   TCA_CT_TM,
27   TCA_CT_ACTION,
28   TCA_CT_ZONE,
29   TCA_CT_MARK,
30   TCA_CT_MARK_MASK,
31   TCA_CT_LABELS,
32   TCA_CT_LABELS_MASK,
33   TCA_CT_NAT_IPV4_MIN,
34   TCA_CT_NAT_IPV4_MAX,
35   TCA_CT_NAT_IPV6_MIN,
36   TCA_CT_NAT_IPV6_MAX,
37   TCA_CT_NAT_PORT_MIN,
38   TCA_CT_NAT_PORT_MAX,
39   TCA_CT_PAD,
40   __TCA_CT_MAX
41 };
42 #define TCA_CT_MAX (__TCA_CT_MAX - 1)
43 #define TCA_CT_ACT_COMMIT (1 << 0)
44 #define TCA_CT_ACT_FORCE (1 << 1)
45 #define TCA_CT_ACT_CLEAR (1 << 2)
46 #define TCA_CT_ACT_NAT (1 << 3)
47 #define TCA_CT_ACT_NAT_SRC (1 << 4)
48 #define TCA_CT_ACT_NAT_DST (1 << 5)
49 struct tc_ct {
50   tc_gen;
51 };
52 #endif
53