mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
20 lines
296 B
C
20 lines
296 B
C
![]() |
#ifndef __LINUX_TC_EM_TEXT_H
|
||
|
#define __LINUX_TC_EM_TEXT_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
|