Commit 8afd351c authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by David S. Miller

[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: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4bda4f25
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <net/netns/unix.h> #include <net/netns/unix.h>
#include <net/netns/packet.h> #include <net/netns/packet.h>
#include <net/netns/ipv4.h>
struct proc_dir_entry; struct proc_dir_entry;
struct net_device; struct net_device;
...@@ -46,6 +47,7 @@ struct net { ...@@ -46,6 +47,7 @@ struct net {
struct netns_packet packet; struct netns_packet packet;
struct netns_unix unx; struct netns_unix unx;
struct netns_ipv4 ipv4;
}; };
#ifdef CONFIG_NET #ifdef CONFIG_NET
......
/*
* ipv4 in net namespaces
*/
#ifndef __NETNS_IPV4_H__
#define __NETNS_IPV4_H__
struct netns_ipv4 {
};
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment