diff options
author | Maciej Zenczykowski <maze@google.com> | 2011-04-19 09:14:04 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-04-19 09:14:04 +0200 |
commit | b32b361a725c8fe3a3aa494e6cdec09a80785aac (patch) | |
tree | 21a265f222bf5142ea8a9f6aa42110981c0fe18c /xshared.h | |
parent | 57a92c7b7ed01ad8f49c680af63341409c3afb1a (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |