summaryrefslogtreecommitdiff
path: root/include/ouroboros/common.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-05 15:43:13 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-07-05 15:43:13 +0200
commita315150a16c02f3cb694e639d5aba555fce4b4c3 (patch)
tree59525d68eec0cf5d2dae83891c7bc4eaabff9cf3 /include/ouroboros/common.h
parentaca5db11a73e66377b8566e69c1baabb1df803ab (diff)
downloadouroboros-a315150a16c02f3cb694e639d5aba555fce4b4c3.tar.gz
ouroboros-a315150a16c02f3cb694e639d5aba555fce4b4c3.zip
lib: Provide first implementation of revised CDAP
This commit introduces a first version of the revised CDAP specification. CACEP (for authentication purposes) has been separated from CDAP. Application developers may use CDAP if they find it useful. Within Ouroboros CDAP will be used to perform operations on the RIB of an IPCP.
Diffstat (limited to 'include/ouroboros/common.h')
-rw-r--r--include/ouroboros/common.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/include/ouroboros/common.h b/include/ouroboros/common.h
index 039e1a83..dbd050f1 100644
--- a/include/ouroboros/common.h
+++ b/include/ouroboros/common.h
@@ -25,24 +25,10 @@
#include <stdint.h>
#include <unistd.h>
-#include <stdbool.h>
-#include <errno.h>
typedef struct {
uint8_t * data;
- size_t size;
+ size_t len;
} buffer_t;
-/* FIXME: To be decided which QoS cubes we support */
-enum qos_cube {
- QOS_CUBE_BE = 0,
- QOS_CUBE_VIDEO
-};
-
-enum flow_state {
- FLOW_NULL = 0,
- FLOW_PENDING,
- FLOW_ALLOCATED
-};
-
#endif /* OUROBOROS_COMMON_H */