summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-03-01 16:11:14 +0100
committerDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-03-01 16:11:14 +0100
commit71c93ca569034b1346dc625b6b22ecab83d5bcce (patch)
tree553bfcd70292b0dcdb1b46a68ccfb9f6388d8ec1
parent7360b2c459ab31339aad20dbb438247aff088fd7 (diff)
downloadouroboros-71c93ca569034b1346dc625b6b22ecab83d5bcce.tar.gz
ouroboros-71c93ca569034b1346dc625b6b22ecab83d5bcce.zip
include: Update to common.h
added dif_name to qos_spec and removed it from dif_info
-rw-r--r--include/ouroboros/common.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/ouroboros/common.h b/include/ouroboros/common.h
index a6efaafa..f5810bcd 100644
--- a/include/ouroboros/common.h
+++ b/include/ouroboros/common.h
@@ -42,9 +42,10 @@ typedef struct {
int aei_id;
} rina_name_t;
-/* FIXME: To be extended to have all QoS params */
+/* FIXME: may need revision */
struct qos_spec {
char * qos_name;
+ char * dif_name;
uint32_t delay;
uint32_t jitter;
@@ -53,13 +54,9 @@ struct qos_spec {
/* FIXME: What should be configurable in the DIF? */
struct dif_config {
/* general data */
- char * dif_name;
-
qos_spec * qosspecs;
- /* FIXME: this might not be the way to go */
- char ** policies;
- /* char * policy_set? */
+ /* TODO: efficient policies */
/* dt field sizes in octets */
uint8_t addr_size;