]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Import tc_em_ipt.h from kernel at commit 08009a760213
authorDavid Ahern <dsahern@gmail.com>
Tue, 27 Feb 2018 17:42:23 +0000 (09:42 -0800)
committerDavid Ahern <dsahern@gmail.com>
Tue, 27 Feb 2018 17:42:23 +0000 (09:42 -0800)
Signed-off-by: David Ahern <dsahern@gmail.com>
include/uapi/linux/tc_ematch/tc_em_ipt.h [new file with mode: 0644]

diff --git a/include/uapi/linux/tc_ematch/tc_em_ipt.h b/include/uapi/linux/tc_ematch/tc_em_ipt.h
new file mode 100644 (file)
index 0000000..49a6553
--- /dev/null
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef __LINUX_TC_EM_IPT_H
+#define __LINUX_TC_EM_IPT_H
+
+#include <linux/types.h>
+#include <linux/pkt_cls.h>
+
+enum {
+       TCA_EM_IPT_UNSPEC,
+       TCA_EM_IPT_HOOK,
+       TCA_EM_IPT_MATCH_NAME,
+       TCA_EM_IPT_MATCH_REVISION,
+       TCA_EM_IPT_NFPROTO,
+       TCA_EM_IPT_MATCH_DATA,
+       __TCA_EM_IPT_MAX
+};
+
+#define TCA_EM_IPT_MAX (__TCA_EM_IPT_MAX - 1)
+
+#endif