blob: efc17a8305fb71f93741ad1579dae6f9da3075d1 [file] [log] [blame]
Harald Welte2e4e6a12006-01-12 13:30:04 -08001#ifndef _XT_CONNMARK_H
2#define _XT_CONNMARK_H
3
Arnd Bergmann60c195c2009-02-26 00:51:43 +01004#include <linux/types.h>
5
Harald Welte2e4e6a12006-01-12 13:30:04 -08006/* 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 Engelhardtb8f00ba2010-02-26 14:20:32 +010015enum {
16 XT_CONNMARK_SET = 0,
17 XT_CONNMARK_SAVE,
18 XT_CONNMARK_RESTORE
19};
20
21struct xt_connmark_tginfo1 {
22 __u32 ctmark, ctmask, nfmask;
23 __u8 mode;
24};
25
Jan Engelhardt96e32272008-01-14 23:39:13 -080026struct xt_connmark_mtinfo1 {
Arnd Bergmann60c195c2009-02-26 00:51:43 +010027 __u32 mark, mask;
28 __u8 invert;
Jan Engelhardt96e32272008-01-14 23:39:13 -080029};
30
Harald Welte2e4e6a12006-01-12 13:30:04 -080031#endif /*_XT_CONNMARK_H*/