diff options
author | Sander Vrijders <[email protected]> | 2017-05-15 16:25:08 +0000 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-05-15 16:25:08 +0000 |
commit | 1b3079ce9ad79e9c9b267fde3d09b9c8166ed1e5 (patch) | |
tree | ea57e4a1e634d3b7e7325b61f6dba36d941e03ae /src/ipcpd/normal/routing.h | |
parent | 0fc0f3701ef4f504e71eadcc92a93faf1dd33bf4 (diff) | |
parent | 5d87cec1757c4e1c23ae778f2814363c1e39b43c (diff) | |
download | ouroboros-1b3079ce9ad79e9c9b267fde3d09b9c8166ed1e5.tar.gz ouroboros-1b3079ce9ad79e9c9b267fde3d09b9c8166ed1e5.zip |
Merged in sandervrijders/ouroboros/be-routing-policy (pull request #506)
ipcpd: normal: Make routing a policy
Diffstat (limited to 'src/ipcpd/normal/routing.h')
-rw-r--r-- | src/ipcpd/normal/routing.h | 8 |
1 files changed, 3 insertions, 5 deletions
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 <ouroboros/ipcp.h> #include <ouroboros/qos.h> #include "pff.h" @@ -30,11 +31,8 @@ #include <stdint.h> -/* - * 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); |