1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _XT_CONNBYTES_H
3 #define _XT_CONNBYTES_H
5 #include <linux/types.h>
7 enum xt_connbytes_what {
13 enum xt_connbytes_direction {
14 XT_CONNBYTES_DIR_ORIGINAL,
15 XT_CONNBYTES_DIR_REPLY,
16 XT_CONNBYTES_DIR_BOTH,
19 struct xt_connbytes_info {
21 __aligned_u64 from; /* count to be matched */
22 __aligned_u64 to; /* count to be matched */
24 __u8 what; /* ipt_connbytes_what */
25 __u8 direction; /* ipt_connbytes_direction */