2005-04-16 16:20:36 -06:00
|
|
|
#ifndef __LINUX_TC_EM_CMP_H
|
|
|
|
#define __LINUX_TC_EM_CMP_H
|
|
|
|
|
2009-01-30 07:42:01 -07:00
|
|
|
#include <linux/types.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
#include <linux/pkt_cls.h>
|
|
|
|
|
2009-11-04 10:50:58 -07:00
|
|
|
struct tcf_em_cmp {
|
2005-04-16 16:20:36 -06:00
|
|
|
__u32 val;
|
|
|
|
__u32 mask;
|
|
|
|
__u16 off;
|
|
|
|
__u8 align:4;
|
|
|
|
__u8 flags:4;
|
|
|
|
__u8 layer:4;
|
|
|
|
__u8 opnd:4;
|
|
|
|
};
|
|
|
|
|
2009-11-04 10:50:58 -07:00
|
|
|
enum {
|
2005-04-16 16:20:36 -06:00
|
|
|
TCF_EM_ALIGN_U8 = 1,
|
|
|
|
TCF_EM_ALIGN_U16 = 2,
|
|
|
|
TCF_EM_ALIGN_U32 = 4
|
|
|
|
};
|
|
|
|
|
|
|
|
#define TCF_EM_CMP_TRANS 1
|
|
|
|
|
|
|
|
#endif
|