summaryrefslogtreecommitdiff
path: root/include/uapi/linux/tc_ematch/tc_em_text.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-09 12:49:06 +0400
committerDavid Howells <dhowells@redhat.com>2012-10-09 12:49:06 +0400
commitb6bf56c6be2be7ccebebfd91b1f11889296cbd9e (patch)
tree3d5d76b71cdc2c3c69593bac67e5153488cbfb84 /include/uapi/linux/tc_ematch/tc_em_text.h
parent611128eb3927941abcfdca5b7515cf02aab601ec (diff)
downloadlinux-b6bf56c6be2be7ccebebfd91b1f11889296cbd9e.tar.xz
UAPI: (Scripted) Disintegrate include/linux/tc_ematch
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/uapi/linux/tc_ematch/tc_em_text.h')
-rw-r--r--include/uapi/linux/tc_ematch/tc_em_text.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/uapi/linux/tc_ematch/tc_em_text.h b/include/uapi/linux/tc_ematch/tc_em_text.h
new file mode 100644
index 000000000000..5aac4045ba88
--- /dev/null
+++ b/include/uapi/linux/tc_ematch/tc_em_text.h
@@ -0,0 +1,19 @@
+#ifndef __LINUX_TC_EM_TEXT_H
+#define __LINUX_TC_EM_TEXT_H
+
+#include <linux/types.h>
+#include <linux/pkt_cls.h>
+
+#define TC_EM_TEXT_ALGOSIZ 16
+
+struct tcf_em_text {
+ char algo[TC_EM_TEXT_ALGOSIZ];
+ __u16 from_offset;
+ __u16 to_offset;
+ __u16 pattern_len;
+ __u8 from_layer:4;
+ __u8 to_layer:4;
+ __u8 pad;
+};
+
+#endif