From 5d87cec1757c4e1c23ae778f2814363c1e39b43c Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 15 May 2017 18:08:53 +0200 Subject: ipcpd: normal: Make routing a policy This makes the routing component into a policy since different approaches may exist to do this, depending on how high the rank of the DIF is. --- src/ipcpd/normal/routing.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/ipcpd/normal/routing.h') diff --git a/src/ipcpd/normal/routing.h b/src/ipcpd/normal/routing.h index 0794ef28..7e47a425 100644 --- a/src/ipcpd/normal/routing.h +++ b/src/ipcpd/normal/routing.h @@ -23,6 +23,7 @@ #ifndef OUROBOROS_IPCPD_NORMAL_ROUTING_H #define OUROBOROS_IPCPD_NORMAL_ROUTING_H +#include #include #include "pff.h" @@ -30,11 +31,8 @@ #include -/* - * Routing will take a type in the future, - * to allow different policies. - */ -int routing_init(struct nbs * nbs); +int routing_init(enum pol_routing pr, + struct nbs * nbs); void routing_fini(void); -- cgit v1.2.3