summaryrefslogtreecommitdiffstats
path: root/ip6t_NPTV6.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-11-10 07:53:52 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-11-10 07:53:52 +0100
commita95082117ad4813141f5733e5c3dda8efc5dec16 (patch)
tree61edab08d7390e0179fc6c2900234c040168500a /ip6t_NPTV6.h
parentc25768e4311eaf9e9d9166e42fe74e9c597c466d (diff)
downloadNPTv6-a95082117ad4813141f5733e5c3dda8efc5dec16.tar
NPTv6-a95082117ad4813141f5733e5c3dda8efc5dec16.zip
Make this work again.
Diffstat (limited to 'ip6t_NPTV6.h')
-rw-r--r--ip6t_NPTV6.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ip6t_NPTV6.h b/ip6t_NPTV6.h
new file mode 100644
index 0000000..a1e5e77
--- /dev/null
+++ b/ip6t_NPTV6.h
@@ -0,0 +1,16 @@
+/*
+ * 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 _IP6T_NPTV6_H
+#define _IP6T_NPTV6_H
+
+struct ip6t_nptv6_info {
+ struct in6_addr nptv6_prefix; /* Adress prefix to map to/from */
+ u_int16_t nptv6_prefix_len; /* Address prefix length */
+};
+
+#endif /*_IP6T_NPTV6_H*/