summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/sdu_sched.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-04-24 14:46:18 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-04-24 15:34:25 +0200
commitb7206a3a887ad86a00cf6fbc4215e29abded839e (patch)
tree09194ae08b8b3c1f8709efdf445b475049c77ed2 /src/ipcpd/normal/sdu_sched.h
parent61ec9ed4da2938d8dfc06e05cc4212f080db398e (diff)
downloadouroboros-b7206a3a887ad86a00cf6fbc4215e29abded839e.tar.gz
ouroboros-b7206a3a887ad86a00cf6fbc4215e29abded839e.zip
ipcpd: normal: Extract flow sets from components
The flow sets were still kept within the FA and DT components, when it makes more sense that they are kept within the SDU scheduler component.
Diffstat (limited to 'src/ipcpd/normal/sdu_sched.h')
-rw-r--r--src/ipcpd/normal/sdu_sched.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ipcpd/normal/sdu_sched.h b/src/ipcpd/normal/sdu_sched.h
index 1a22b041..3c95b683 100644
--- a/src/ipcpd/normal/sdu_sched.h
+++ b/src/ipcpd/normal/sdu_sched.h
@@ -30,9 +30,14 @@ typedef int (* next_sdu_t)(int fd,
qoscube_t qc,
struct shm_du_buff * sdb);
-struct sdu_sched * sdu_sched_create(flow_set_t * set[QOS_CUBE_MAX],
- next_sdu_t callback);
+struct sdu_sched * sdu_sched_create(next_sdu_t callback);
void sdu_sched_destroy(struct sdu_sched * sdu_sched);
+void sdu_sched_add(struct sdu_sched * sdu_sched,
+ int fd);
+
+void sdu_sched_del(struct sdu_sched * sdu_sched,
+ int fd);
+
#endif /* OUROBOROS_IPCPD_NORMAL_SDU_SCHED_H */