summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tc_ematch/tc_em_nbyte.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/tc_ematch/tc_em_nbyte.h')
-rw-r--r--include/uapi/linux/tc_ematch/tc_em_nbyte.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/linux/tc_ematch/tc_em_nbyte.h b/include/uapi/linux/tc_ematch/tc_em_nbyte.h
new file mode 100644
index 000000000000..7172cfb999c1
--- /dev/null
+++ b/include/uapi/linux/tc_ematch/tc_em_nbyte.h
@@ -0,0 +1,13 @@
+#ifndef __LINUX_TC_EM_NBYTE_H
+#define __LINUX_TC_EM_NBYTE_H
+
+#include <linux/types.h>
+#include <linux/pkt_cls.h>
+
+struct tcf_em_nbyte {
+ __u16 off;
+ __u16 len:12;
+ __u8 layer:4;
+};
+
+#endif