Warning: This file is not a C or C++ file. It does not have highlighting.
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 |
27 |
Warning: This file is not a C or C++ file. It does not have highlighting.