summaryrefslogtreecommitdiffstats
path: root/xshared.h
diff options
context:
space:
mode:
authorMaciej Zenczykowski <maze@google.com>2011-04-19 09:14:04 +0200
committerPatrick McHardy <kaber@trash.net>2011-04-19 09:14:04 +0200
commitb32b361a725c8fe3a3aa494e6cdec09a80785aac (patch)
tree21a265f222bf5142ea8a9f6aa42110981c0fe18c /xshared.h
parent57a92c7b7ed01ad8f49c680af63341409c3afb1a (diff)
Don't load ip6?_tables module when already loaded
Signed-off-by: Maciej Zenczykowski <maze@google.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'xshared.h')
-rw-r--r--xshared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xshared.h b/xshared.h
index be53535b..34f3265c 100644
--- a/xshared.h
+++ b/xshared.h
@@ -29,6 +29,7 @@ struct xtables_target;
/**
* xtables_afinfo - protocol family dependent information
* @kmod: kernel module basename (e.g. "ip_tables")
+ * @proc_exists: file which exists in procfs when module already loaded
* @libprefix: prefix of .so library name (e.g. "libipt_")
* @family: nfproto family
* @ipproto: used by setsockopt (e.g. IPPROTO_IP)
@@ -37,6 +38,7 @@ struct xtables_target;
*/
struct xtables_afinfo {
const char *kmod;
+ const char *proc_exists;
const char *libprefix;
uint8_t family;
uint8_t ipproto;