aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/netfilter/xt_connlabel.h
blob: 323f0dfc2a4e2403ca50b13fc46b74f4d44a779c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */

#ifndef _UAPI_XT_CONNLABEL_H
#define _UAPI_XT_CONNLABEL_H

#include <linux/types.h>

#define XT_CONNLABEL_MAXBIT 127
enum xt_connlabel_mtopts {
	XT_CONNLABEL_OP_INVERT = 1 << 0,
	XT_CONNLABEL_OP_SET    = 1 << 1,
};

struct xt_connlabel_mtinfo {
	__u16 bit;
	__u16 options;
};

#endif /* _UAPI_XT_CONNLABEL_H */