diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-05 15:43:13 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-07-05 15:43:13 +0200 |
commit | a315150a16c02f3cb694e639d5aba555fce4b4c3 (patch) | |
tree | 59525d68eec0cf5d2dae83891c7bc4eaabff9cf3 /include/ouroboros/shared.h | |
parent | aca5db11a73e66377b8566e69c1baabb1df803ab (diff) | |
download | ouroboros-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/shared.h')
-rw-r--r-- | include/ouroboros/shared.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/ouroboros/shared.h b/include/ouroboros/shared.h new file mode 100644 index 00000000..f5e34dc8 --- /dev/null +++ b/include/ouroboros/shared.h @@ -0,0 +1,38 @@ +/* + * Ouroboros - Copyright (C) 2016 + * + * Shared definitions between IRMd and IPCPs + * + * Sander Vrijders <sander.vrijders@intec.ugent.be> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#ifndef OUROBOROS_SHARED_H +#define OUROBOROS_SHARED_H + +/* 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_SHARED_H */ |