]> err.no Git - linux-2.6/blobdiff - include/net/net_namespace.h
[IPv4] RAW: Compact the API for the kernel
[linux-2.6] / include / net / net_namespace.h
index 90802a668c235f20f9b40f63db4b001d7123de3b..4d0d6349aa7ec4e3291884e9326afb1db0cd9b28 100644 (file)
@@ -32,6 +32,10 @@ struct net {
        struct hlist_head       *dev_index_head;
 
        struct sock             *rtnl;                  /* rtnetlink socket */
+
+       /* List of all packet sockets. */
+       rwlock_t                packet_sklist_lock;
+       struct hlist_head       packet_sklist;
 };
 
 #ifdef CONFIG_NET