File Index
Files and directories
Sign in
FILE

xt_connmark.h

File preview with syntax highlighting.

linux-6.19.14/include/uapi/linux/netfilter/xt_connmark.h C
 1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
 2/* Copyright (C) 2002,2004 MARA Systems AB <https://www.marasystems.com>
 3 * by Henrik Nordstrom <hno@marasystems.com>
 4 */
 5
 6#ifndef _XT_CONNMARK_H
 7#define _XT_CONNMARK_H
 8
 9#include <linux/types.h>
10
11enum {
12	XT_CONNMARK_SET = 0,
13	XT_CONNMARK_SAVE,
14	XT_CONNMARK_RESTORE
15};
16
17enum {
18	D_SHIFT_LEFT = 0,
19	D_SHIFT_RIGHT,
20};
21
22struct xt_connmark_tginfo1 {
23	__u32 ctmark, ctmask, nfmask;
24	__u8 mode;
25};
26
27struct xt_connmark_tginfo2 {
28	__u32 ctmark, ctmask, nfmask;
29	__u8 shift_dir, shift_bits, mode;
30};
31
32struct xt_connmark_mtinfo1 {
33	__u32 mark, mask;
34	__u8 invert;
35};
36
37#endif /*_XT_CONNMARK_H*/
~/ Read-only file preview.