From 3893a312f54c802609a63bbef6db8c369bac3efa Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 16 Jun 2001 18:25:25 +0000 Subject: Added support for iptables-restore module-load-on-demand (a. van schie) --- include/ip6tables.h | 1 + include/iptables_common.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3