/* * 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_OPT_TO 0x01 #define IP6T_MAP66_OPT_NOCHECK 0x02 struct ip6t_MAP66_info { struct in6_addr prefix; /* The prefix to map to */ u_int16_t prefixcsum; /* Pre-calculated csum */ u_int8_t prefixlength; /* Prefix length DIV sizeof(u_int16_t) */ u_int8_t mapflags; /* Some flags */ }; extern void _init(void); #endif /*_IPT_MAP66_H*/