Dr Andrew Scott G7VAV

My photo
 
July 2025
Mo Tu We Th Fr Sa Su
30 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 1 2 3
4 5 6 7 8 9 10


xt_SECMARK.h
01: #ifndef _XT_SECMARK_H_target
02: #define _XT_SECMARK_H_target
03: 
04: #include <linux/types.h>
05: 
06: /*
07:  * This is intended for use by various security subsystems (but not
08:  * at the same time).
09:  *
10:  * 'mode' refers to the specific security subsystem which the
11:  * packets are being marked for.
12:  */
13: #define SECMARK_MODE_SEL        0x01            /* SELinux */
14: #define SECMARK_SECCTX_MAX      256
15: 
16: struct xt_secmark_target_info {
17:         __u8 mode;
18:         __u32 secid;
19:         char secctx[SECMARK_SECCTX_MAX];
20: };
21: 
22: #endif /*_XT_SECMARK_H_target */
23: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/