Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 6b7b284958d47b77d06745b36bc7f36dab769d9b authored by Linus Torvalds on 24 December 2009, 21:09:41 UTC
Linux 2.6.33-rc2
Tip revision: 6b7b284
xt_iprange.h
#ifndef _LINUX_NETFILTER_XT_IPRANGE_H
#define _LINUX_NETFILTER_XT_IPRANGE_H 1

#include <linux/types.h>

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;
	__u8 flags;
};

#endif /* _LINUX_NETFILTER_XT_IPRANGE_H */
back to top