Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 1 | #ifndef _XT_CONNMARK_H |
| 2 | #define _XT_CONNMARK_H |
| 3 | |
Arnd Bergmann | 60c195c | 2009-02-26 00:51:43 +0100 | [diff] [blame] | 4 | #include <linux/types.h> |
| 5 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 6 | /* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com> |
| 7 | * by Henrik Nordstrom <hno@marasystems.com> |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License as published by |
| 11 | * the Free Software Foundation; either version 2 of the License, or |
| 12 | * (at your option) any later version. |
| 13 | */ |
| 14 | |
Jan Engelhardt | b8f00ba | 2010-02-26 14:20:32 +0100 | [diff] [blame] | 15 | enum { |
| 16 | XT_CONNMARK_SET = 0, |
| 17 | XT_CONNMARK_SAVE, |
| 18 | XT_CONNMARK_RESTORE |
| 19 | }; |
| 20 | |
| 21 | struct xt_connmark_tginfo1 { |
| 22 | __u32 ctmark, ctmask, nfmask; |
| 23 | __u8 mode; |
| 24 | }; |
| 25 | |
Jan Engelhardt | 96e3227 | 2008-01-14 23:39:13 -0800 | [diff] [blame] | 26 | struct xt_connmark_mtinfo1 { |
Arnd Bergmann | 60c195c | 2009-02-26 00:51:43 +0100 | [diff] [blame] | 27 | __u32 mark, mask; |
| 28 | __u8 invert; |
Jan Engelhardt | 96e3227 | 2008-01-14 23:39:13 -0800 | [diff] [blame] | 29 | }; |
| 30 | |
Harald Welte | 2e4e6a1 | 2006-01-12 13:30:04 -0800 | [diff] [blame] | 31 | #endif /*_XT_CONNMARK_H*/ |