xref: /utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/netfilter/xt_iprange.h (revision 53ee8cc121a030b8d368113ac3e966b4705770ef)
1 #ifndef _LINUX_NETFILTER_XT_IPRANGE_H
2 #define _LINUX_NETFILTER_XT_IPRANGE_H 1
3 
4 enum {
5 	IPRANGE_SRC     = 1 << 0,	/* match source IP address */
6 	IPRANGE_DST     = 1 << 1,	/* match destination IP address */
7 	IPRANGE_SRC_INV = 1 << 4,	/* negate the condition */
8 	IPRANGE_DST_INV = 1 << 5,	/* -"- */
9 };
10 
11 struct xt_iprange_mtinfo {
12 	union nf_inet_addr src_min, src_max;
13 	union nf_inet_addr dst_min, dst_max;
14 	u_int8_t flags;
15 };
16 
17 #endif /* _LINUX_NETFILTER_XT_IPRANGE_H */
18