mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
![Jan Engelhardt](/assets/img/avatar_default.png)
Introduces the xt_MARK target revision 2. It uses fixed types, and also uses the more expressive XOR logic. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
25 lines
348 B
C
25 lines
348 B
C
#ifndef _XT_MARK_H_target
|
|
#define _XT_MARK_H_target
|
|
|
|
/* Version 0 */
|
|
struct xt_mark_target_info {
|
|
unsigned long mark;
|
|
};
|
|
|
|
/* Version 1 */
|
|
enum {
|
|
XT_MARK_SET=0,
|
|
XT_MARK_AND,
|
|
XT_MARK_OR,
|
|
};
|
|
|
|
struct xt_mark_target_info_v1 {
|
|
unsigned long mark;
|
|
u_int8_t mode;
|
|
};
|
|
|
|
struct xt_mark_tginfo2 {
|
|
u_int32_t mark, mask;
|
|
};
|
|
|
|
#endif /*_XT_MARK_H_target */
|