PageRenderTime 25ms CodeModel.GetById 23ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/include/linux/tc_ematch/tc_em_cmp.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t
C Header | 25 lines | 20 code | 5 blank | 0 comment | 0 complexity | 7140b7fc8936965c45a9ba27f738fa7b MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1#ifndef __LINUX_TC_EM_CMP_H
 2#define __LINUX_TC_EM_CMP_H
 3
 4#include <linux/types.h>
 5#include <linux/pkt_cls.h>
 6
 7struct tcf_em_cmp {
 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	TCF_EM_ALIGN_U8  = 1,
19	TCF_EM_ALIGN_U16 = 2,
20	TCF_EM_ALIGN_U32 = 4
21};
22
23#define TCF_EM_CMP_TRANS	1
24
25#endif