|
@@ -9,6 +9,7 @@
|
|
#include <linux/list.h>
|
|
#include <linux/list.h>
|
|
#include <linux/sysctl.h>
|
|
#include <linux/sysctl.h>
|
|
|
|
|
|
|
|
+#include <net/flow.h>
|
|
#include <net/netns/core.h>
|
|
#include <net/netns/core.h>
|
|
#include <net/netns/mib.h>
|
|
#include <net/netns/mib.h>
|
|
#include <net/netns/unix.h>
|
|
#include <net/netns/unix.h>
|
|
@@ -131,14 +132,6 @@ struct net {
|
|
atomic_t fnhe_genid;
|
|
atomic_t fnhe_genid;
|
|
};
|
|
};
|
|
|
|
|
|
-/*
|
|
|
|
- * ifindex generation is per-net namespace, and loopback is
|
|
|
|
- * always the 1st device in ns (see net_dev_init), thus any
|
|
|
|
- * loopback device should get ifindex 1
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-#define LOOPBACK_IFINDEX 1
|
|
|
|
-
|
|
|
|
#include <linux/seq_file_net.h>
|
|
#include <linux/seq_file_net.h>
|
|
|
|
|
|
/* Init's network namespace */
|
|
/* Init's network namespace */
|