ip6tables.h revision 9680f2ecbdb7e5c61ab60e7399e9ca9f1013fd8d
1#ifndef _IP6TABLES_USER_H 2#define _IP6TABLES_USER_H 3 4#include <netinet/ip.h> 5#include <xtables.h> 6#include <libiptc/libip6tc.h> 7#include <iptables/internal.h> 8 9/* Your shared library should call one of these. */ 10extern int do_command6(int argc, char *argv[], char **table, 11 struct ip6tc_handle **handle); 12 13extern int for_each_chain6(int (*fn)(const ip6t_chainlabel, int, struct ip6tc_handle *), int verbose, int builtinstoo, struct ip6tc_handle *handle); 14extern int flush_entries6(const ip6t_chainlabel chain, int verbose, struct ip6tc_handle *handle); 15extern int delete_chain6(const ip6t_chainlabel chain, int verbose, struct ip6tc_handle *handle); 16void print_rule6(const struct ip6t_entry *e, struct ip6tc_handle *h, const char *chain, int counters); 17 18extern struct xtables_globals ip6tables_globals; 19 20#endif /*_IP6TABLES_USER_H*/ 21