summaryrefslogtreecommitdiff
path: root/src/ipcpd/flow.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-14 18:32:49 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-05-14 18:32:49 +0200
commitaf1dff6fc06f55d6565589282ac4ebacc53b4d29 (patch)
treedaa33b67da40cd2b7677126fa15fb996cbba25f2 /src/ipcpd/flow.c
parentaff55f153ddb247357f59b3740477e90eba527bd (diff)
downloadouroboros-af1dff6fc06f55d6565589282ac4ebacc53b4d29.tar.gz
ouroboros-af1dff6fc06f55d6565589282ac4ebacc53b4d29.zip
lib, ipcpd, irmd: Add QoS cube definition
This adds the QoS cube definition, which is an enum to select which QoS is needed in the IPCP. An application has to use the qos_spec in qos.h to define what it needs. The IRMd will map this unto a qos cube definition. Some headers are now also no longer installed on the system, since they are only to be used within the irmd and ipcps.
Diffstat (limited to 'src/ipcpd/flow.c')
-rw-r--r--src/ipcpd/flow.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ipcpd/flow.c b/src/ipcpd/flow.c
index 10280f3d..4ca61341 100644
--- a/src/ipcpd/flow.c
+++ b/src/ipcpd/flow.c
@@ -26,10 +26,11 @@
#define OUROBOROS_PREFIX "ipcpd/flow"
#include <ouroboros/logs.h>
+#include <ouroboros/flow.h>
-flow_t * flow_create(int port_id)
+struct flow * flow_create(int port_id)
{
- flow_t * flow = malloc(sizeof *flow);
+ struct flow * flow = malloc(sizeof *flow);
if (flow == NULL) {
LOG_DBGF("Could not malloc flow.");
return NULL;
@@ -45,7 +46,7 @@ flow_t * flow_create(int port_id)
return flow;
}
-void flow_destroy(flow_t * flow)
+void flow_destroy(struct flow * flow)
{
if (flow == NULL)
return;