|
Packit Service |
d1fe03 |
#ifndef _IPTABLES_USER_H
|
|
Packit Service |
d1fe03 |
#define _IPTABLES_USER_H
|
|
Packit Service |
d1fe03 |
|
|
Packit Service |
d1fe03 |
#include <netinet/ip.h>
|
|
Packit Service |
d1fe03 |
#include <xtables.h>
|
|
Packit Service |
d1fe03 |
#include <libiptc/libiptc.h>
|
|
Packit Service |
d1fe03 |
#include <iptables/internal.h>
|
|
Packit Service |
d1fe03 |
|
|
Packit Service |
d1fe03 |
/* Your shared library should call one of these. */
|
|
Packit Service |
d1fe03 |
extern int do_command4(int argc, char *argv[], char **table,
|
|
Packit Service |
d1fe03 |
struct xtc_handle **handle, bool restore);
|
|
Packit Service |
d1fe03 |
extern int delete_chain4(const xt_chainlabel chain, int verbose,
|
|
Packit Service |
d1fe03 |
struct xtc_handle *handle);
|
|
Packit Service |
d1fe03 |
extern int flush_entries4(const xt_chainlabel chain, int verbose,
|
|
Packit Service |
d1fe03 |
struct xtc_handle *handle);
|
|
Packit Service |
d1fe03 |
extern int for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *),
|
|
Packit Service |
d1fe03 |
int verbose, int builtinstoo, struct xtc_handle *handle);
|
|
Packit Service |
d1fe03 |
extern void print_rule4(const struct ipt_entry *e,
|
|
Packit Service |
d1fe03 |
struct xtc_handle *handle, const char *chain, int counters);
|
|
Packit Service |
d1fe03 |
|
|
Packit Service |
d1fe03 |
extern struct xtables_globals iptables_globals;
|
|
Packit Service |
d1fe03 |
|
|
Packit Service |
d1fe03 |
extern struct xtables_globals xtables_globals;
|
|
Packit Service |
d1fe03 |
|
|
Packit Service |
d1fe03 |
#endif /*_IPTABLES_USER_H*/
|