updated to vs1.9.0pre12
[util-vserver.git] / util-vserver / kernel / network.h
index 11a8e7f..b3c39b0 100644 (file)
@@ -38,7 +38,7 @@ struct nx_info {
 };
 
 
-extern spinlock_t iplist_lock;
+extern spinlock_t nxlist_lock;
 extern struct list_head nx_infos;
 
 
@@ -48,6 +48,13 @@ struct nx_info *create_nx_info(void);
 extern struct nx_info *find_nx_info(int);
 extern int nx_info_id_valid(int);
 
+struct in_ifaddr;
+struct net_device;
+
+int ifa_in_nx_info(struct in_ifaddr *, struct nx_info *);
+int dev_in_nx_info(struct net_device *, struct nx_info *);
+
+
 #endif /* __KERNEL__ */
 
 #include "switch.h"