2005-04-16 16:20:36 -06:00
|
|
|
#ifndef _IPT_IPRANGE_H
|
|
|
|
#define _IPT_IPRANGE_H
|
|
|
|
|
2007-07-18 03:21:50 -06:00
|
|
|
#include <linux/types.h>
|
2008-01-15 00:42:47 -07:00
|
|
|
#include <linux/netfilter/xt_iprange.h>
|
2005-04-16 16:20:36 -06:00
|
|
|
|
|
|
|
struct ipt_iprange {
|
|
|
|
/* Inclusive: network order. */
|
2006-09-28 15:22:24 -06:00
|
|
|
__be32 min_ip, max_ip;
|
2005-04-16 16:20:36 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
struct ipt_iprange_info
|
|
|
|
{
|
|
|
|
struct ipt_iprange src;
|
|
|
|
struct ipt_iprange dst;
|
|
|
|
|
|
|
|
/* Flags from above */
|
|
|
|
u_int8_t flags;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _IPT_IPRANGE_H */
|