summaryrefslogtreecommitdiffstats
path: root/libip6t_NPTV6.h
blob: d091de6a4b0b85b749d07966fd8e91480abcc319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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*/