repo.or.cz
/
linux-2.6
/
next.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'docs-next' of git://git.lwn.net/linux-2.6
[linux-2.6/next.git]
/
include
/
linux
/
tc_ematch
/
tc_em_cmp.h
blob
38e7f7b25ec2de7d4aa02b0ac26bb8cd4db6b99e
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
7
struct
tcf_em_cmp
8
{
9
__u32 val
;
10
__u32 mask
;
11
__u16 off
;
12
__u8 align
:
4
;
13
__u8 flags
:
4
;
14
__u8 layer
:
4
;
15
__u8 opnd
:
4
;
16
};
17
18
enum
19
{
20
TCF_EM_ALIGN_U8
=
1
,
21
TCF_EM_ALIGN_U16
=
2
,
22
TCF_EM_ALIGN_U32
=
4
23
};
24
25
#define TCF_EM_CMP_TRANS 1
26
27
#endif