Bug fixes
[cbs-scheduler.git] / include / linux / tc_ematch / tc_em_text.h
blobd12a73a225fc2ae019e93fc1848e4d7f6df68b80
1 #ifndef __LINUX_TC_EM_TEXT_H
2 #define __LINUX_TC_EM_TEXT_H
4 #include <linux/types.h>
5 #include <linux/pkt_cls.h>
7 #define TC_EM_TEXT_ALGOSIZ 16
9 struct tcf_em_text
11 char algo[TC_EM_TEXT_ALGOSIZ];
12 __u16 from_offset;
13 __u16 to_offset;
14 __u16 pattern_len;
15 __u8 from_layer:4;
16 __u8 to_layer:4;
17 __u8 pad;
20 #endif