summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_SAME.h
blob: 428b21378cde69b1f2792844fcde3d93519578ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _IPT_SAME_H
#define _IPT_SAME_H

#define IPT_SAME_MAX_RANGE	10

#define IPT_SAME_NODST		0x01

struct ipt_same_info
{
	unsigned char info;

	unsigned int rangesize;

	unsigned int ipnum;

	u_int32_t *iparray;

	/* hangs off end. */
	struct ip_nat_range range[IPT_SAME_MAX_RANGE];
};

#endif /*_IPT_SAME_H*/