brintos

brintos / linux-shallow public Read only

0
0
Text · 414 B · 2549d9d Raw
27 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2#ifndef __LINUX_TC_EM_CMP_H3#define __LINUX_TC_EM_CMP_H4 5#include <linux/types.h>6#include <linux/pkt_cls.h>7 8struct 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 18enum {19	TCF_EM_ALIGN_U8  = 1,20	TCF_EM_ALIGN_U16 = 2,21	TCF_EM_ALIGN_U32 = 422};23 24#define TCF_EM_CMP_TRANS	125 26#endif27