repo.or.cz
/
cris-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git]
/
include
/
uapi
/
linux
/
tc_ematch
/
tc_em_cmp.h
blob
2549d9d6e031063842f68e6b161a8e3deab433cf
1
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2
#ifndef __LINUX_TC_EM_CMP_H
3
#define __LINUX_TC_EM_CMP_H
4
5
#include <linux/types.h>
6
#include <linux/pkt_cls.h>
7
8
struct
tcf_em_cmp
{
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
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