summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2001-06-16 18:25:25 +0000
committerHarald Welte <laforge@gnumonks.org>2001-06-16 18:25:25 +0000
commit58918654563975e7bf3a6ec26af92a3bc222c229 (patch)
treecb16b31352e4c8f548b03988c2bf7c01d1c474cb /include
parent058eaad25715db2a1915bef283705b7d14868a67 (diff)
Added support for iptables-restore module-load-on-demand (a. van schie)
Diffstat (limited to 'include')
-rw-r--r--include/ip6tables.h1
-rw-r--r--include/iptables_common.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/ip6tables.h b/include/ip6tables.h
index baa3677e..9ac3835c 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -122,5 +122,6 @@ extern struct ip6tables_match *find_match(const char *name, enum ip6t_tryload);
extern int for_each_chain(int (*fn)(const ip6t_chainlabel, int, ip6tc_handle_t *), int verbose, int builtinstoo, ip6tc_handle_t *handle);
extern int flush_entries(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);
extern int delete_chain(const ip6t_chainlabel chain, int verbose, ip6tc_handle_t *handle);
+extern int ip6tables_insmod(const char *modname, const char *modprobe);
#endif /*_IP6TABLES_USER_H*/
diff --git a/include/iptables_common.h b/include/iptables_common.h
index 90ca74d7..be9c5508 100644
--- a/include/iptables_common.h
+++ b/include/iptables_common.h
@@ -11,6 +11,7 @@ extern void exit_printhelp() __attribute__((noreturn));
extern void exit_tryhelp(int) __attribute__((noreturn));
int check_inverse(const char option[], int *invert);
extern int string_to_number(const char *, int, int);
+extern int iptables_insmod(const char *modname, const char *modprobe);
void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
format(printf,2,3)));
extern const char *program_name, *program_version;