• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/include/linux/netfilter_ipv4/
1#ifndef _IPT_IPRANGE_H
2#define _IPT_IPRANGE_H
3
4#define IPRANGE_SRC		0x01	/* Match source IP address */
5#define IPRANGE_DST		0x02	/* Match destination IP address */
6#define IPRANGE_SRC_INV		0x10	/* Negate the condition */
7#define IPRANGE_DST_INV		0x20	/* Negate the condition */
8
9struct ipt_iprange {
10	/* Inclusive: network order. */
11	u_int32_t min_ip, max_ip;
12};
13
14struct ipt_iprange_info
15{
16	struct ipt_iprange src;
17	struct ipt_iprange dst;
18
19	/* Flags from above */
20	u_int8_t flags;
21};
22
23#endif /* _IPT_IPRANGE_H */
24