179dee0702b18c8ea1d1f7a2b1f6b29349466986bRusty Russell#ifndef _IP6TABLES_USER_H
279dee0702b18c8ea1d1f7a2b1f6b29349466986bRusty Russell#define _IP6TABLES_USER_H
379dee0702b18c8ea1d1f7a2b1f6b29349466986bRusty Russell
4ef18e8147903885708d1c264904129af4fb636d6Jan Engelhardt#include <netinet/ip.h>
50d502bcdbc97ed359e84f6a21dfa0049b3b60a6cYasuyuki KOZAKAI#include <xtables.h>
6ef18e8147903885708d1c264904129af4fb636d6Jan Engelhardt#include <libiptc/libip6tc.h>
7c02e80878979d2205f3d89d05548397871e598e9Jan Engelhardt#include <iptables/internal.h>
879dee0702b18c8ea1d1f7a2b1f6b29349466986bRusty Russell
979dee0702b18c8ea1d1f7a2b1f6b29349466986bRusty Russell/* Your shared library should call one of these. */
1079dee0702b18c8ea1d1f7a2b1f6b29349466986bRusty Russellextern int do_command6(int argc, char *argv[], char **table,
11d7aeda5ed45ac7ca959f12180690caa371b5b14bPablo Neira Ayuso		       struct xtc_handle **handle, bool restore);
129867e814492275cabfbccd6b30375b0e23eb10cbYasuyuki KOZAKAI
131639fe86579f86f5f6a954a9b0adde2e16ad1980Jan Engelhardtextern int for_each_chain6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), int verbose, int builtinstoo, struct xtc_handle *handle);
141639fe86579f86f5f6a954a9b0adde2e16ad1980Jan Engelhardtextern int flush_entries6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle);
151639fe86579f86f5f6a954a9b0adde2e16ad1980Jan Engelhardtextern int delete_chain6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle);
161639fe86579f86f5f6a954a9b0adde2e16ad1980Jan Engelhardtvoid print_rule6(const struct ip6t_entry *e, struct xtc_handle *h, const char *chain, int counters);
17764316a133db8e5e2d1f2a9d941ffae993d7c9d9András Kis-Szabó
18617d3d140f4739558dce2ef8ed01aef251cf5487Jamal Hadi Salimextern struct xtables_globals ip6tables_globals;
19617d3d140f4739558dce2ef8ed01aef251cf5487Jamal Hadi Salim
2079dee0702b18c8ea1d1f7a2b1f6b29349466986bRusty Russell#endif /*_IP6TABLES_USER_H*/
21