summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-07-27 15:29:28 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-07-27 15:55:54 +0200
commit0dda754f6eb91af15f7c69523e2ebb627086b457 (patch)
tree62905dc63ab974aee7d8cddf49ca5234fac7338f /include
parentbee74baa8fa8ffa71dbb659496bc88df3e8ce6a5 (diff)
downloadouroboros-0dda754f6eb91af15f7c69523e2ebb627086b457.tar.gz
ouroboros-0dda754f6eb91af15f7c69523e2ebb627086b457.zip
irmd: Revised flow allocation
Flow allocation requests and registered api states revised so all states are tracked with a condition variable. This is a more reliable approach and improves stability of flow allocation. Some other refactoring was also done, such as renaming port_map_entry to irm_flow and hiding some internal structures of the registry.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/shared.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ouroboros/shared.h b/include/ouroboros/shared.h
index f5e34dc8..9ee9df21 100644
--- a/include/ouroboros/shared.h
+++ b/include/ouroboros/shared.h
@@ -32,7 +32,8 @@ enum qos_cube {
enum flow_state {
FLOW_NULL = 0,
FLOW_PENDING,
- FLOW_ALLOCATED
+ FLOW_ALLOCATED,
+ FLOW_DESTROY
};
#endif /* OUROBOROS_SHARED_H */