]> git.proxmox.com Git - mirror_iproute2.git/blame - include/ip6tables.h
Merge branch 'master' into net-next
[mirror_iproute2.git] / include / ip6tables.h
CommitLineData
1ffd7fd2 1#ifndef _IP6TABLES_USER_H
2#define _IP6TABLES_USER_H
3
5cd1adba
SH
4#include <netinet/ip.h>
5#include <xtables.h>
6#include <libiptc/libip6tc.h>
7#include <iptables/internal.h>
1ffd7fd2 8
9/* Your shared library should call one of these. */
1ffd7fd2 10extern int do_command6(int argc, char *argv[], char **table,
5cd1adba 11 struct xtc_handle **handle, bool restore);
1ffd7fd2 12
5cd1adba
SH
13extern int for_each_chain6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), int verbose, int builtinstoo, struct xtc_handle *handle);
14extern int flush_entries6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle);
15extern int delete_chain6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle);
16void print_rule6(const struct ip6t_entry *e, struct xtc_handle *h, const char *chain, int counters);
1ffd7fd2 17
5cd1adba 18extern struct xtables_globals ip6tables_globals;
1ffd7fd2 19
20#endif /*_IP6TABLES_USER_H*/