2005-06-23 22:00:58 -06:00
|
|
|
#ifndef __LINUX_TC_EM_TEXT_H
|
|
|
|
#define __LINUX_TC_EM_TEXT_H
|
|
|
|
|
2009-01-30 07:44:36 -07:00
|
|
|
#include <linux/types.h>
|
2005-06-23 22:00:58 -06:00
|
|
|
#include <linux/pkt_cls.h>
|
|
|
|
|
|
|
|
#define TC_EM_TEXT_ALGOSIZ 16
|
|
|
|
|
2009-11-04 10:50:58 -07:00
|
|
|
struct tcf_em_text {
|
2005-06-23 22:00:58 -06:00
|
|
|
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
|