Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 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 1 2 3 4 5 6


ebt_mark_t.h
01: #ifndef __LINUX_BRIDGE_EBT_MARK_T_H
02: #define __LINUX_BRIDGE_EBT_MARK_T_H
03: 
04: /* The target member is reused for adding new actions, the
05:  * value of the real target is -1 to -NUM_STANDARD_TARGETS.
06:  * For backward compatibility, the 4 lsb (2 would be enough,
07:  * but let's play it safe) are kept to designate this target.
08:  * The remaining bits designate the action. By making the set
09:  * action 0xfffffff0, the result will look ok for older
10:  * versions. [September 2006] */
11: #define MARK_SET_VALUE (0xfffffff0)
12: #define MARK_OR_VALUE  (0xffffffe0)
13: #define MARK_AND_VALUE (0xffffffd0)
14: #define MARK_XOR_VALUE (0xffffffc0)
15: 
16: struct ebt_mark_t_info {
17:         unsigned long mark;
18:         /* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */
19:         int target;
20: };
21: #define EBT_MARK_TARGET "mark"
22: 
23: #endif
24: 


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