RAWNAT: add extension's kernel and userspace modules

RAWNAT provides stateless 1:1 network address translation.
This commit is contained in:
Jan Engelhardt
2009-03-26 20:37:00 +01:00
parent 03aeed615d
commit 637516f2d4
13 changed files with 804 additions and 2 deletions

9
extensions/xt_RAWNAT.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef _LINUX_NETFILTER_XT_TARGET_RAWNAT
#define _LINUX_NETFILTER_XT_TARGET_RAWNAT 1
struct xt_rawnat_tginfo {
union nf_inet_addr addr;
__u8 mask;
};
#endif /* _LINUX_NETFILTER_XT_TARGET_RAWNAT */