Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
27 lines
414 B
C
27 lines
414 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef __LINUX_TC_EM_CMP_H
|
|
#define __LINUX_TC_EM_CMP_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/pkt_cls.h>
|
|
|
|
struct tcf_em_cmp {
|
|
__u32 val;
|
|
__u32 mask;
|
|
__u16 off;
|
|
__u8 align:4;
|
|
__u8 flags:4;
|
|
__u8 layer:4;
|
|
__u8 opnd:4;
|
|
};
|
|
|
|
enum {
|
|
TCF_EM_ALIGN_U8 = 1,
|
|
TCF_EM_ALIGN_U16 = 2,
|
|
TCF_EM_ALIGN_U32 = 4
|
|
};
|
|
|
|
#define TCF_EM_CMP_TRANS 1
|
|
|
|
#endif
|