forked from Qortal/Brooklyn
2a709f28fa
* 0day explit mitigation * Memory corruption prevention * Privilege escalation prevention * Buffer over flow prevention * File System corruption defense * Thread escape prevention This may very well be the most intensive inclusion to BrooklynR. This will not be part of an x86 suite nor it will be released as tool kit. The security core toolkit will remain part of kernel base.
26 lines
351 B
C
26 lines
351 B
C
#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
|