PageRenderTime 23ms CodeModel.GetById 21ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/include/linux/netfilter_ipv4/ipt_SAME.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t
C Header | 20 lines | 13 code | 6 blank | 1 comment | 0 complexity | c39b64ebd71dad32d030d5156798a56e MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1#ifndef _IPT_SAME_H
 2#define _IPT_SAME_H
 3
 4#include <linux/types.h>
 5
 6#define IPT_SAME_MAX_RANGE	10
 7
 8#define IPT_SAME_NODST		0x01
 9
10struct ipt_same_info {
11	unsigned char info;
12	__u32 rangesize;
13	__u32 ipnum;
14	__u32 *iparray;
15
16	/* hangs off end. */
17	struct nf_nat_range range[IPT_SAME_MAX_RANGE];
18};
19
20#endif /*_IPT_SAME_H*/