This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
2008-01-15 07:42:47 +00:00
|
|
|
#ifndef _LINUX_NETFILTER_XT_IPRANGE_H
|
|
|
|
#define _LINUX_NETFILTER_XT_IPRANGE_H 1
|
|
|
|
|
2009-02-25 23:51:43 +00:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2008-01-15 07:42:47 +00:00
|
|
|
enum {
|
|
|
|
IPRANGE_SRC = 1 << 0, /* match source IP address */
|
|
|
|
IPRANGE_DST = 1 << 1, /* match destination IP address */
|
|
|
|
IPRANGE_SRC_INV = 1 << 4, /* negate the condition */
|
|
|
|
IPRANGE_DST_INV = 1 << 5, /* -"- */
|
|
|
|
};
|
|
|
|
|
|
|
|
struct xt_iprange_mtinfo {
|
|
|
|
union nf_inet_addr src_min, src_max;
|
|
|
|
union nf_inet_addr dst_min, dst_max;
|
2009-02-25 23:51:43 +00:00
|
|
|
__u8 flags;
|
2008-01-15 07:42:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _LINUX_NETFILTER_XT_IPRANGE_H */
|