From 25ddfa73bf24734765e892cfa1c4304b714fd9cc Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 13 Mar 2017 16:09:45 +0100 Subject: 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. --- src/ipcpd/normal/routing.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/ipcpd/normal/routing.h') 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 */ -- cgit v1.2.3