Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8afd351c772d1815347d5c46716b099fde00a579 Commit: 8afd351c772d1815347d5c46716b099fde00a579 Parent: 4bda4f250d21c3e4f2a2da5f4cef829a434a4046 Author: Pavel Emelyanov <[EMAIL PROTECTED]> AuthorDate: Sun Dec 16 13:29:36 2007 -0800 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 14:58:08 2008 -0800
[NETNS]: Add the netns_ipv4 struct The ipv4 will store its parameters inside this structure. This one is empty now, but it will be eventually filled. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- include/net/net_namespace.h | 2 ++ include/net/netns/ipv4.h | 9 +++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 18da0af..d04ddf2 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -10,6 +10,7 @@ #include <net/netns/unix.h> #include <net/netns/packet.h> +#include <net/netns/ipv4.h> struct proc_dir_entry; struct net_device; @@ -46,6 +47,7 @@ struct net { struct netns_packet packet; struct netns_unix unx; + struct netns_ipv4 ipv4; }; #ifdef CONFIG_NET diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h new file mode 100644 index 0000000..ce830d5 --- /dev/null +++ b/include/net/netns/ipv4.h @@ -0,0 +1,9 @@ +/* + * ipv4 in net namespaces + */ + +#ifndef __NETNS_IPV4_H__ +#define __NETNS_IPV4_H__ +struct netns_ipv4 { +}; +#endif - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html