summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/routing.h
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-03-13 16:09:45 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-13 16:09:45 +0100
commit25ddfa73bf24734765e892cfa1c4304b714fd9cc (patch)
tree6b7cdf38253b4b416f185a50470cc6ad8ffbfb74 /src/ipcpd/normal/routing.h
parent80dcc9aae225de1228347b91eb114b3e40022623 (diff)
downloadouroboros-25ddfa73bf24734765e892cfa1c4304b714fd9cc.tar.gz
ouroboros-25ddfa73bf24734765e892cfa1c4304b714fd9cc.zip
ipcpd: normal: Add Flow State Objects to RIB
This makes the routing component create a Flow State Database (FSDB). An FSDB contains Flow State Objects (FSOs). An FSO is created when a neighbor is added, it is deleted when a neighbor is removed and its QoS is updated when a neighbor's QoS changes.
Diffstat (limited to 'src/ipcpd/normal/routing.h')
-rw-r--r--src/ipcpd/normal/routing.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ipcpd/normal/routing.h b/src/ipcpd/normal/routing.h
index 81208ffa..20dc72f9 100644
--- a/src/ipcpd/normal/routing.h
+++ b/src/ipcpd/normal/routing.h
@@ -34,9 +34,13 @@
* Routing will take a type in the future,
* to allow different policies.
*/
-struct routing * routing_create(struct pff * pff,
- struct nbs * nbs);
-void routing_destroy(struct routing * instance);
+int routing_init(struct nbs * nbs);
+
+void routing_fini(void);
+
+struct routing_i * routing_i_create(struct pff * pff);
+
+void routing_i_destroy(struct routing_i * instance);
#endif /* OUROBOROS_IPCPD_NORMAL_ROUTING_H */