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
blob2549d9d6e031063842f68e6b161a8e3deab433cf
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
5 #include <linux/types.h>
6 #include <linux/pkt_cls.h>
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;
18 enum {
19 TCF_EM_ALIGN_U8 = 1,
20 TCF_EM_ALIGN_U16 = 2,
21 TCF_EM_ALIGN_U32 = 4
24 #define TCF_EM_CMP_TRANS 1
26 #endif