Blame SOURCES/0033-Import-tc_act-tc_ct.h-uapi-file.patch

0ac2f3
From 4c330f41bce887a4a06d6c84c62a3a8c1b0b5160 Mon Sep 17 00:00:00 2001
0ac2f3
From: Andrea Claudi <aclaudi@redhat.com>
0ac2f3
Date: Tue, 9 Jun 2020 15:45:55 +0200
0ac2f3
Subject: [PATCH] Import tc_act/tc_ct.h uapi file
0ac2f3
0ac2f3
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1844637
0ac2f3
Upstream Status: iproute2.git commit f47081befffc5
0ac2f3
0ac2f3
commit f47081befffc50a5eef734d0a6654b59047e7808
0ac2f3
Author: David Ahern <dsahern@gmail.com>
0ac2f3
Date:   Thu Jul 18 15:40:07 2019 -0700
0ac2f3
0ac2f3
    Import tc_act/tc_ct.h uapi file
0ac2f3
0ac2f3
    Import include/uapi/linux/tc_act/tc_ct.h header from commit of last
0ac2f3
    kernel headers sync.
0ac2f3
0ac2f3
    Signed-off-by: David Ahern <dsahern@gmail.com>
0ac2f3
---
0ac2f3
 include/uapi/linux/tc_act/tc_ct.h | 41 +++++++++++++++++++++++++++++++
0ac2f3
 1 file changed, 41 insertions(+)
0ac2f3
 create mode 100644 include/uapi/linux/tc_act/tc_ct.h
0ac2f3
0ac2f3
diff --git a/include/uapi/linux/tc_act/tc_ct.h b/include/uapi/linux/tc_act/tc_ct.h
0ac2f3
new file mode 100644
0ac2f3
index 0000000000000..5fb1d7ac10272
0ac2f3
--- /dev/null
0ac2f3
+++ b/include/uapi/linux/tc_act/tc_ct.h
0ac2f3
@@ -0,0 +1,41 @@
0ac2f3
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0ac2f3
+#ifndef __UAPI_TC_CT_H
0ac2f3
+#define __UAPI_TC_CT_H
0ac2f3
+
0ac2f3
+#include <linux/types.h>
0ac2f3
+#include <linux/pkt_cls.h>
0ac2f3
+
0ac2f3
+enum {
0ac2f3
+	TCA_CT_UNSPEC,
0ac2f3
+	TCA_CT_PARMS,
0ac2f3
+	TCA_CT_TM,
0ac2f3
+	TCA_CT_ACTION,		/* u16 */
0ac2f3
+	TCA_CT_ZONE,		/* u16 */
0ac2f3
+	TCA_CT_MARK,		/* u32 */
0ac2f3
+	TCA_CT_MARK_MASK,	/* u32 */
0ac2f3
+	TCA_CT_LABELS,		/* u128 */
0ac2f3
+	TCA_CT_LABELS_MASK,	/* u128 */
0ac2f3
+	TCA_CT_NAT_IPV4_MIN,	/* be32 */
0ac2f3
+	TCA_CT_NAT_IPV4_MAX,	/* be32 */
0ac2f3
+	TCA_CT_NAT_IPV6_MIN,	/* struct in6_addr */
0ac2f3
+	TCA_CT_NAT_IPV6_MAX,	/* struct in6_addr */
0ac2f3
+	TCA_CT_NAT_PORT_MIN,	/* be16 */
0ac2f3
+	TCA_CT_NAT_PORT_MAX,	/* be16 */
0ac2f3
+	TCA_CT_PAD,
0ac2f3
+	__TCA_CT_MAX
0ac2f3
+};
0ac2f3
+
0ac2f3
+#define TCA_CT_MAX (__TCA_CT_MAX - 1)
0ac2f3
+
0ac2f3
+#define TCA_CT_ACT_COMMIT	(1 << 0)
0ac2f3
+#define TCA_CT_ACT_FORCE	(1 << 1)
0ac2f3
+#define TCA_CT_ACT_CLEAR	(1 << 2)
0ac2f3
+#define TCA_CT_ACT_NAT		(1 << 3)
0ac2f3
+#define TCA_CT_ACT_NAT_SRC	(1 << 4)
0ac2f3
+#define TCA_CT_ACT_NAT_DST	(1 << 5)
0ac2f3
+
0ac2f3
+struct tc_ct {
0ac2f3
+	tc_gen;
0ac2f3
+};
0ac2f3
+
0ac2f3
+#endif /* __UAPI_TC_CT_H */
0ac2f3
-- 
0ac2f3
2.26.2
0ac2f3