1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _LINUX_NETFILTER_XT_IPRANGE_H
3 #define _LINUX_NETFILTER_XT_IPRANGE_H 1
5 #include <linux/types.h>
6 #include <linux/netfilter.h>
9 IPRANGE_SRC = 1 << 0, /* match source IP address */
10 IPRANGE_DST = 1 << 1, /* match destination IP address */
11 IPRANGE_SRC_INV = 1 << 4, /* negate the condition */
12 IPRANGE_DST_INV = 1 << 5, /* -"- */
15 struct xt_iprange_mtinfo {
16 union nf_inet_addr src_min, src_max;
17 union nf_inet_addr dst_min, dst_max;
21 #endif /* _LINUX_NETFILTER_XT_IPRANGE_H */