]>
Commit | Line | Data |
---|---|---|
6054c1eb | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1ffd7fd2 | 2 | #ifndef _IP6TABLES_USER_H |
3 | #define _IP6TABLES_USER_H | |
4 | ||
5cd1adba SH |
5 | #include <netinet/ip.h> |
6 | #include <xtables.h> | |
7 | #include <libiptc/libip6tc.h> | |
8 | #include <iptables/internal.h> | |
1ffd7fd2 | 9 | |
10 | /* Your shared library should call one of these. */ | |
1ffd7fd2 | 11 | extern int do_command6(int argc, char *argv[], char **table, |
5cd1adba | 12 | struct xtc_handle **handle, bool restore); |
1ffd7fd2 | 13 | |
5cd1adba SH |
14 | extern int for_each_chain6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), int verbose, int builtinstoo, struct xtc_handle *handle); |
15 | extern int flush_entries6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle); | |
16 | extern int delete_chain6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle); | |
17 | void print_rule6(const struct ip6t_entry *e, struct xtc_handle *h, const char *chain, int counters); | |
1ffd7fd2 | 18 | |
5cd1adba | 19 | extern struct xtables_globals ip6tables_globals; |
1ffd7fd2 | 20 | |
21 | #endif /*_IP6TABLES_USER_H*/ |