Blame include/iptables.h

Packit Service 3880ab
/* SPDX-License-Identifier: GPL-2.0 */
Packit Service 3880ab
#ifndef _IPTABLES_USER_H
Packit Service 3880ab
#define _IPTABLES_USER_H
Packit Service 3880ab
Packit Service 3880ab
#include <netinet/ip.h>
Packit Service 3880ab
#include <xtables.h>
Packit Service 3880ab
#include <libiptc/libiptc.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_command4(int argc, char *argv[], char **table,
Packit Service 3880ab
		      struct xtc_handle **handle, bool restore);
Packit Service 3880ab
extern int delete_chain4(const xt_chainlabel chain, int verbose,
Packit Service 3880ab
			struct xtc_handle *handle);
Packit Service 3880ab
extern int flush_entries4(const xt_chainlabel chain, int verbose, 
Packit Service 3880ab
			struct xtc_handle *handle);
Packit Service 3880ab
extern int for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *),
Packit Service 3880ab
		int verbose, int builtinstoo, struct xtc_handle *handle);
Packit Service 3880ab
extern void print_rule4(const struct ipt_entry *e,
Packit Service 3880ab
		struct xtc_handle *handle, const char *chain, int counters);
Packit Service 3880ab
Packit Service 3880ab
extern struct xtables_globals iptables_globals;
Packit Service 3880ab
Packit Service 3880ab
extern struct xtables_globals xtables_globals;
Packit Service 3880ab
Packit Service 3880ab
#endif /*_IPTABLES_USER_H*/