diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-09-12 11:50:50 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:49:03 -0700 |
commit | 5f256becd868bf63b70da8f2769033d6734670e9 (patch) | |
tree | 0a3550303488e7740f349e7b5f7b296dfeb276ef /include/Kbuild | |
parent | 32da477a5bfe96b6dfc8960e0d22d89ca09fd10a (diff) |
[NET]: Basic network namespace infrastructure.
This is the basic infrastructure needed to support network
namespaces. This infrastructure is:
- Registration functions to support initializing per network
namespace data when a network namespaces is created or destroyed.
- struct net. The network namespace data structure.
This structure will grow as variables are made per network
namespace but this is the minimal starting point.
- Functions to grab a reference to the network namespace.
I provide both get/put functions that keep a network namespace
from being freed. And hold/release functions serve as weak references
and will warn if their count is not zero when the data structure
is freed. Useful for dealing with more complicated data structures
like the ipv4 route cache.
- A list of all of the network namespaces so we can iterate over them.
- A slab for the network namespace data structure allowing leaks
to be spotted.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions