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 /libip6t_NPTV6.h | |
parent | c25768e4311eaf9e9d9166e42fe74e9c597c466d (diff) | |
download | NPTv6-a95082117ad4813141f5733e5c3dda8efc5dec16.tar NPTv6-a95082117ad4813141f5733e5c3dda8efc5dec16.zip |
Make this work again.
Diffstat (limited to 'libip6t_NPTV6.h')
-rw-r--r-- | libip6t_NPTV6.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libip6t_NPTV6.h b/libip6t_NPTV6.h new file mode 100644 index 0000000..d091de6 --- /dev/null +++ b/libip6t_NPTV6.h @@ -0,0 +1,29 @@ +/* + * NATv6: IPv6-to-IPv6 Network Prefix Translation as + * proposed in RFC 6296. + * Based on MAP66 (c) 2010 sven-ola()gmx.de + * (c) 2011 mschiffer()universe-factory.net "I'm the one to blame for any problems with this version ;P" + */ + +#ifndef _LIBIP6T_NPTV6_H +#define _LIBIP6T_NPTV6_H + +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <getopt.h> +#include <limits.h> +#include <arpa/inet.h> +#include <xtables.h> +#include <linux/netfilter_ipv6/ip6_tables.h> + +#include "ip6t_NPTV6.h" + + +void NPTV6_help_note(void); +void NPTV6_parse(struct xt_option_call *cb); +void NPTV6_print(const void *ip, const struct xt_entry_target *target, int numeric); + +void _init(void); + +#endif /*_LIBIP6T_NPTV6_H*/ |