summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlaforge <laforge>2001-06-16 18:25:25 +0000
committerlaforge <laforge>2001-06-16 18:25:25 +0000
commit3893a312f54c802609a63bbef6db8c369bac3efa (patch)
treecb16b31352e4c8f548b03988c2bf7c01d1c474cb /include
parent0d9ced51d7caef751a9fc8b62cee5e79e755179b (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 baa3677..9ac3835 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 90ca74d..be9c550 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;