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

#include <linux/types.h>

#define IPT_SAME_MAX_RANGE	10

#define IPT_SAME_NODST		0x01

struct ipt_same_info {
	unsigned char info;
	__u32 rangesize;
	__u32 ipnum;
	__u32 *iparray;

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

#endif /*_IPT_SAME_H*/