summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYasuyuki KOZAKAI <yasuyuki@netfilter.org>2006-11-13 05:09:16 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2006-11-13 05:09:16 +0000
commit740d72705d49373c4ee05b77b34aeb385854389e (patch)
tree87d226926445e619bd7a54ed259221d560fac166 /include
parent4ebfad0cf7ff3e414a20c82513579789e8283c9f (diff)
load ip_[6]tables.ko just before checking revision support in kernel.
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 8fe7899b..7907f66b 100644
--- a/include/ip6tables.h
+++ b/include/ip6tables.h
@@ -172,5 +172,6 @@ extern int for_each_chain(int (*fn)(const ip6t_chainlabel, int, ip6tc_handle_t *
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);
+extern int load_ip6tables_ko(const char *modprobe);
#endif /*_IP6TABLES_USER_H*/
diff --git a/include/iptables_common.h b/include/iptables_common.h
index 05516ac0..6f7e4295 100644
--- a/include/iptables_common.h
+++ b/include/iptables_common.h
@@ -28,6 +28,7 @@ extern int string_to_number_ll(const char *,
unsigned long long int,
unsigned long long *);
extern int iptables_insmod(const char *modname, const char *modprobe);
+extern int load_iptables_ko(const char *modprobe);
void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
format(printf,2,3)));
extern const char *program_name, *program_version;