[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 <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4bda4f250d
commit
8afd351c77
@@ -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
|
||||
|
Reference in New Issue
Block a user