ip6tables.h 823 B

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