A question about netfilter hooks and network namespaces

Mark Ryden markryde at gmail.com
Thu May 14 02:05:14 PDT 2009


Hello,

I am a newbie to containers.
I have a module which calls nf_register_hook() to register a method in a
PRE_ROUTING point. Suppose I will try to use this module for two addresses
assigned to a machine (each with a different IP/subnet)
using network namespaces. Will it work ? There is currently no parameter of
type struct net* to nf_register_hook().

Regards,
Mark


More information about the Containers mailing list