diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-11-10 07:53:52 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-11-10 07:53:52 +0100 |
commit | a95082117ad4813141f5733e5c3dda8efc5dec16 (patch) | |
tree | 61edab08d7390e0179fc6c2900234c040168500a /ip6t_MAP66.h | |
parent | c25768e4311eaf9e9d9166e42fe74e9c597c466d (diff) | |
download | NPTv6-a95082117ad4813141f5733e5c3dda8efc5dec16.tar NPTv6-a95082117ad4813141f5733e5c3dda8efc5dec16.zip |
Make this work again.
Diffstat (limited to 'ip6t_MAP66.h')
-rw-r--r-- | ip6t_MAP66.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ip6t_MAP66.h b/ip6t_MAP66.h deleted file mode 100644 index b29592c..0000000 --- a/ip6t_MAP66.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * MAP66: Network Address Translation IPv6-to-IPv6 as - * proposed in the IETF's second NAT66 draft document. - * (c) 2010 sven-ola()gmx.de - */ - -#ifndef _IP6T_MAP66_H -#define _IP6T_MAP66_H - -#define IP6T_MAP66_DST_TO "dst-to" -#define IP6T_MAP66_SRC_TO "src-to" - -#define IP6T_MAP66_OPT_DST_TO 0x01 -#define IP6T_MAP66_OPT_SRC_TO 0x02 -#define IP6T_MAP66_OPT_NOCHECK 0x04 -#define IP6T_MAP66_OPT_CSUM 0x08 - -struct ip6t_MAP66_info { - struct in6_addr pfix_dst_to; /* The prefix to map destination addrs to */ - u_int16_t pfix_dst_len; /* Destination addrs prefix length DIV 16 */ - u_int16_t pfix_dst_csum; /* Pre-calculated csum for destination addrs */ - struct in6_addr pfix_src_to; /* The prefix to map source addrs from */ - u_int16_t pfix_src_len; /* Source addrs prefix length DIV 16 */ - u_int16_t pfix_src_csum; /* Pre-calculated csum for source addrs */ - u_int16_t mapflags; /* Some flags */ -}; - -extern void _init(void); - -#endif /*_IPT_MAP66_H*/ |