From 2cc89f6da424ab503af563e0cc92dda43b8f8432 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Mon, 29 Aug 2016 19:49:39 +0200 Subject: lib: Refactor shm_du_map to shm_rdrbuff The shm_du_map is renamed to shm_rdrbuff to reflect the Random Deletion Ringbuffer used in the implementation. The close_on_exit call is removed and SDUs are cleaned up by the application in the ap_fini() call. This required a non-blocking peek() operation in the shm_ap_rbuff. Some initial implementation for future support of qos cubes has been added to the shm_rdrbuff. --- include/ouroboros/shared.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/ouroboros/shared.h') diff --git a/include/ouroboros/shared.h b/include/ouroboros/shared.h index 9ee9df21..bfd99eb0 100644 --- a/include/ouroboros/shared.h +++ b/include/ouroboros/shared.h @@ -26,7 +26,8 @@ /* FIXME: To be decided which QoS cubes we support */ enum qos_cube { QOS_CUBE_BE = 0, - QOS_CUBE_VIDEO + QOS_CUBE_VIDEO, + QOS_MAX }; enum flow_state { -- cgit v1.2.3