Warning: This file is not a C or C++ file. It does not have highlighting.

1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _XT_QUOTA_H
3#define _XT_QUOTA_H
4
5#include <linux/types.h>
6
7enum xt_quota_flags {
8 XT_QUOTA_INVERT = 0x1,
9};
10#define XT_QUOTA_MASK 0x1
11
12struct xt_quota_priv;
13
14struct xt_quota_info {
15 __u32 flags;
16 __u32 pad;
17 __aligned_u64 quota;
18
19 /* Used internally by the kernel */
20 struct xt_quota_priv *master;
21};
22
23#endif /* _XT_QUOTA_H */
24

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/include/uapi/linux/netfilter/xt_quota.h