eeepc-laptop: Fix hwmon interface
[linux-block.git] / include / linux / tc_ematch / tc_em_cmp.h
CommitLineData
1da177e4
LT
1#ifndef __LINUX_TC_EM_CMP_H
2#define __LINUX_TC_EM_CMP_H
3
4#include <linux/pkt_cls.h>
5
6struct tcf_em_cmp
7{
8 __u32 val;
9 __u32 mask;
10 __u16 off;
11 __u8 align:4;
12 __u8 flags:4;
13 __u8 layer:4;
14 __u8 opnd:4;
15};
16
17enum
18{
19 TCF_EM_ALIGN_U8 = 1,
20 TCF_EM_ALIGN_U16 = 2,
21 TCF_EM_ALIGN_U32 = 4
22};
23
24#define TCF_EM_CMP_TRANS 1
25
26#endif