OpenCores
URL https://opencores.org/ocsvn/hf-risc/hf-risc/trunk

Subversion Repositories hf-risc

[/] [hf-risc/] [trunk/] [tools/] [riscv-gnu-toolchain-master/] [linux-headers/] [include/] [linux/] [tc_ematch/] [tc_em_cmp.h] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 serginhofr
#ifndef __LINUX_TC_EM_CMP_H
2
#define __LINUX_TC_EM_CMP_H
3
 
4
#include <linux/types.h>
5
#include <linux/pkt_cls.h>
6
 
7
struct tcf_em_cmp {
8
        __u32           val;
9
        __u32           mask;
10
        __u16           off;
11
        __u8            align:4;
12
        __u8            flags:4;
13
        __u8            layer:4;
14
        __u8            opnd:4;
15
};
16
 
17
enum {
18
        TCF_EM_ALIGN_U8  = 1,
19
        TCF_EM_ALIGN_U16 = 2,
20
        TCF_EM_ALIGN_U32 = 4
21
};
22
 
23
#define TCF_EM_CMP_TRANS        1
24
 
25
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.