summaryrefslogtreecommitdiff
path: root/cesar/cp/sta/mgr/inc
diff options
context:
space:
mode:
authorlaranjeiro2008-09-26 14:39:26 +0000
committerlaranjeiro2008-09-26 14:39:26 +0000
commit7d79434c8a330aba15c12688cd65646c385019e2 (patch)
tree08dc9b26915f2c144e782f813f4e69938d8dc8bd /cesar/cp/sta/mgr/inc
parent20a14ff83bf1df247b9bb840b25536e72b8e01e1 (diff)
cp/sta/mgr: Update the station manager to use the slab allocator with the new one.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@3084 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/sta/mgr/inc')
-rw-r--r--cesar/cp/sta/mgr/inc/net.h6
-rw-r--r--cesar/cp/sta/mgr/inc/net_list.h5
2 files changed, 8 insertions, 3 deletions
diff --git a/cesar/cp/sta/mgr/inc/net.h b/cesar/cp/sta/mgr/inc/net.h
index 459b791ee1..410143822e 100644
--- a/cesar/cp/sta/mgr/inc/net.h
+++ b/cesar/cp/sta/mgr/inc/net.h
@@ -89,8 +89,10 @@ struct cp_net_t
*/
cp_net_network_mode_t network_mode;
- /** Slab Cache. */
- slab_cache_t sta_slab_cache;
+ /**
+ * Slab cache.
+ */
+ slab_cache_t *sta_slab_cache;
};
diff --git a/cesar/cp/sta/mgr/inc/net_list.h b/cesar/cp/sta/mgr/inc/net_list.h
index 307e2d3c27..5322fd0be3 100644
--- a/cesar/cp/sta/mgr/inc/net_list.h
+++ b/cesar/cp/sta/mgr/inc/net_list.h
@@ -9,7 +9,7 @@
* }}} */
/**
* \file cp/sta/mgr/inc/net_list_h
- * \brief Private interface of the net list.
+ * \brief Private interface of the net list.
* \ingroup cp_sta_mgr
*
* « long description »
@@ -30,6 +30,9 @@ struct cp_net_list_t
* The possibles AVLN, index 0 corresponds to our AVLN.
*/
cp_net_t networks [8];
+
+ /** Slab Cache. */
+ slab_cache_t sta_slab_cache;
};
#endif /* cp_sta_mgr_inc_net_list_h */