1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2#ifndef _XT_CONNMARK_H
3#define _XT_CONNMARK_H
4
5#include <linux/types.h>
6
7/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
8 * by Henrik Nordstrom <hno@marasystems.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 */
15
16enum {
17	XT_CONNMARK_SET = 0,
18	XT_CONNMARK_SAVE,
19	XT_CONNMARK_RESTORE
20};
21
22struct xt_connmark_tginfo1 {
23	__u32 ctmark, ctmask, nfmask;
24	__u8 mode;
25};
26
27struct xt_connmark_mtinfo1 {
28	__u32 mark, mask;
29	__u8 invert;
30};
31
32#endif /*_XT_CONNMARK_H*/
33