Blame include/ip6tables.h

Packit Service 3880ab
/* SPDX-License-Identifier: GPL-2.0 */
Packit Service 3880ab
#ifndef _IP6TABLES_USER_H
Packit Service 3880ab
#define _IP6TABLES_USER_H
Packit Service 3880ab
Packit Service 3880ab
#include <netinet/ip.h>
Packit Service 3880ab
#include <xtables.h>
Packit Service 3880ab
#include <libiptc/libip6tc.h>
Packit Service 3880ab
#include <iptables/internal.h>
Packit Service 3880ab
Packit Service 3880ab
/* Your shared library should call one of these. */
Packit Service 3880ab
extern int do_command6(int argc, char *argv[], char **table,
Packit Service 3880ab
		       struct xtc_handle **handle, bool restore);
Packit Service 3880ab
Packit Service 3880ab
extern int for_each_chain6(int (*fn)(const xt_chainlabel, int, struct xtc_handle *), int verbose, int builtinstoo, struct xtc_handle *handle);
Packit Service 3880ab
extern int flush_entries6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle);
Packit Service 3880ab
extern int delete_chain6(const xt_chainlabel chain, int verbose, struct xtc_handle *handle);
Packit Service 3880ab
void print_rule6(const struct ip6t_entry *e, struct xtc_handle *h, const char *chain, int counters);
Packit Service 3880ab
Packit Service 3880ab
extern struct xtables_globals ip6tables_globals;
Packit Service 3880ab
Packit Service 3880ab
#endif /*_IP6TABLES_USER_H*/